blob: 3e1561157eade29b63d0ff944f391a7183f4b5fb [file] [log] [blame]
Neale Ranns0bfe5d82016-08-25 15:29:12 +01001packet-generator new {
2 name x
3 limit 1
4 node ip4-input
5 size 64-64
Neale Ranns0bfe5d82016-08-25 15:29:12 +01006 data {
7 ICMP: 1.0.0.2 -> 2.2.2.2
8 ICMP echo_request
9 incrementing 100
10 }
11}
12
13loop create
14loop create
15set int state loop0 up
16set int state loop1 up
17
18set int ip address loop0 1.0.0.1/24
19set int ip address loop1 2.0.0.1/24
20
21ip route add 2.2.2.2/32 via 2.0.0.2 loop1 out-label 33
22
23trace add pg-input 100