blob: 999b92a901af9e4bbd9b282b8a5a8a530d3729d0 [file] [log] [blame]
Dave Barach7c910072019-04-03 11:20:06 -04001set term pag off
2
3loop cre
4
5set int ip address loop0 192.168.2.1/24
6set int state loop0 up
7set nsim delay 20 ms bandwidth 1 gbit packet-size 128
8comment { add drop-fraction 0.8 or some such}
9nsim output-feature enable-disable loop0
10
11packet-generator new {
12 name icmp
13 limit 0
14 size 128-128
15 interface local0
16 node ethernet-input
17 data {
18 IP4: 0001.dead.beef -> 0002.dead.beef
19 ICMP: 192.168.1.2 -> 192.168.2.2
20 incrementing 30
21 }
22}
23
24set int ip address pg0 192.168.1.1/24
25set ip arp loop0 192.168.2.2 0003.dead.beef