Created
June 4, 2018 17:41
-
-
Save D3f0/74e759bd16381bab28d04e73b83e954b to your computer and use it in GitHub Desktop.
ICMP fragmentation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node n1 { | |
type router | |
model host | |
network-config { | |
hostname n1 | |
! | |
interface eth0 | |
ip address 10.0.0.10/24 | |
ipv6 address :0::10/64 | |
! | |
} | |
canvas c1 | |
iconcoords {126.0 105.0} | |
labelcoords {126.0 137.0} | |
interface-peer {eth0 n2} | |
services {DefaultRoute SSH pcap} | |
} | |
node n2 { | |
type router | |
model host | |
network-config { | |
hostname n2 | |
! | |
interface eth0 | |
ip address 10.0.0.11/24 | |
ipv6 address :0::11/64 | |
! | |
} | |
canvas c1 | |
iconcoords {461.0 106.0} | |
labelcoords {461.0 138.0} | |
interface-peer {eth0 n1} | |
} | |
link l1 { | |
nodes {n1 n2} | |
bandwidth 0 | |
} | |
canvas c1 { | |
name {Canvas1} | |
} | |
hook 4:runtime_hook.sh { | |
#!/bin/sh | |
# session hook script; write commands here to execute on the host at the | |
# specified state | |
vcmd -c n1 -- ping -c 1 -s 4000 10.0.0.11 | |
} | |
hook 5:datacollect_hook.sh { | |
#!/bin/sh | |
# session hook script; write commands here to execute on the host at the | |
# specified state | |
find ./n1.conf -iname "*.pcap*" -exec cp {} /tmp \; | |
} | |
option global { | |
interface_names no | |
ip_addresses yes | |
ipv6_addresses yes | |
node_labels yes | |
link_labels yes | |
show_api no | |
background_images no | |
annotations yes | |
grid yes | |
traffic_start 0 | |
} | |
option session { | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment