7a6608e26674dc540b2af6ebfd07484048fb54d5
[vpp.git] / src / scripts / vnet / rpf
1 packet-generator new {
2   name x
3   limit 1
4   node ip4-input
5   size 64-64
6   data {
7     ICMP: 1.2.3.4 -> 5.6.7.8
8     ICMP echo_request
9     incrementing 100
10   }
11 }
12
13 tr add pg-input 100
14 set interface ip source-check pg/stream-0
15 ip route 1.2.3.4/32 via pg/stream-0 0x01020304
16 ip route 5.6.7.8/32 via drop
17