blob: d3d39f3b9216016fc9e25a0709b81b289c73917c [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
6 no-recycle
7 data {
8 ICMP: 1.0.0.2 -> 2.2.2.2
9 ICMP echo_request
10 incrementing 100
11 }
12}
13
14loop create
15loop create
16set int state loop0 up
17set int state loop1 up
18
19set int ip address loop0 1.0.0.1/24
20set int ip address loop1 2.0.0.1/24
21
22ip route add 2.2.2.2/32 via 2.0.0.2 loop1 out-label 33
23
24trace add pg-input 100