c20b38a6d201b73713d10351dd297f3e41e50595
[vpp.git] / src / scripts / vnet / srp
1 srp create-interfaces
2 srp create-interfaces
3 set int hw-class fake-srp0 srp
4 set int hw-class fake-srp1 srp
5
6 packet-generator new {
7   name x
8   limit 1
9   node ip4-input
10   size 64-64
11   data {
12     ICMP: 1.0.0.2 -> 2.0.0.2
13     ICMP echo_request
14     incrementing 100
15   }
16 }
17
18 tr add pg-input 100
19 set int state fake-srp0 up
20 set int state fake-srp1 up
21
22 set int ip address fake-srp0 1.0.0.1/24
23 set int ip address fake-srp1 2.0.0.1/24
24
25
26