node n0 { type host network-config { hostname GW1 ! interface eth0 mac address 42:00:aa:00:00:00 ip address 172.16.1.253/24 ! interface eth1 mac address 42:00:aa:00:00:01 ip address 172.16.2.253/24 ! interface lo0 type lo ip address 127.0.0.1/8 ipv6 address ::1/128 ! ! ! } canvas c0 iconcoords {312 216} labelcoords {339 144} interface-peer {eth0 n3} interface-peer {eth1 n2} custom-configs { custom-config-id default { custom-command /bin/sh config { ip addr add 127.0.0.1/8 dev lo0 ip addr add 172.16.1.253/24 dev eth0 ip addr add 172.16.2.253/24 dev eth1 ip -6 addr add ::1/128 dev lo0 ip route add 172.16.2.0/24 via 172.16.2.253 ip route add 172.16.1.0/24 via 172.16.1.253 ip route add 0.0.0.0/0 via 172.16.2.253 iptables -t nat -A POSTROUTING -o eth1 -j SNAT --to-source 172.16.2.253 rpcbind inetd } } } custom-enabled true custom-selected default } node n1 { type host network-config { hostname GW2 ! interface eth1 mac address 42:00:aa:00:00:03 ip address 172.16.3.254/24 ! interface eth0 mac address 42:00:aa:00:00:02 ip address 172.16.2.254/24 ! interface eth2 mac address 42:00:aa:00:00:04 ip address 45.45.45.254/21 ! interface lo0 type lo ip address 127.0.0.1/8 ipv6 address ::1/128 ! ! ! ! ! } canvas c0 iconcoords {624 312} labelcoords {591 355} interface-peer {eth0 n2} interface-peer {eth1 n4} custom-configs { custom-config-id default { custom-command /bin/sh config { ip addr add 127.0.0.1/8 dev lo0 ip addr add 172.16.2.254/24 dev eth0 ip addr add 172.16.3.254/24 dev eth1 ip addr add 45.45.45.254/21 dev eth2 ip -6 addr add ::1/128 dev lo0 ip route add 172.16.3.0/24 via 172.16.3.254 ip route add 172.16.2.0/24 via 172.16.2.254 ip route add 0.0.0.0/0 via 45.45.45.254 ip route add 172.16.1.0/24 via 172.16.2.254 iptables -t nat -A POSTROUTING -o eth1 -j SNAT --to-source 172.16.3.251 rpcbind inetd } } } custom-enabled true interface-peer {eth2 n5} custom-selected default } node n2 { type lanswitch network-config { hostname switch2 ! } canvas c0 iconcoords {552 144} labelcoords {548 113} interface-peer {e0 n0} interface-peer {e1 n1} interface-peer {e2 n7} } node n3 { type lanswitch network-config { hostname switch1 ! } canvas c0 iconcoords {216 96} labelcoords {214 59} interface-peer {e0 n0} interface-peer {e1 n6} } node n4 { type lanswitch network-config { hostname switch3 ! } canvas c0 iconcoords {840 96} labelcoords {832 60} interface-peer {e0 n1} interface-peer {e1 n8} } node n6 { type pc network-config { hostname pc1 ! interface eth0 mac address 42:00:aa:00:00:06 ip address 172.16.1.1/24 ! interface lo0 type lo ip address 127.0.0.1/8 ipv6 address ::1/128 ! ip route 0.0.0.0/0 172.16.1.253 ! } canvas c0 iconcoords {48 192} labelcoords {48 223} interface-peer {eth0 n3} } node n7 { type pc network-config { hostname pc2 ! interface eth0 mac address 42:00:aa:00:00:08 ip address 172.16.2.2/24 ! interface lo0 type lo ip address 127.0.0.1/8 ipv6 address ::1/128 ! ip route 0.0.0.0/0 172.16.2.254 ip route 172.16.2.0/24 172.16.2.254 ip route 172.16.3.0/24 172.16.2.254 ! } canvas c0 iconcoords {408 336} labelcoords {408 367} interface-peer {eth0 n2} } node n8 { type pc network-config { hostname pc3 ! interface eth0 mac address 42:00:aa:00:00:07 ip address 172.16.3.3/24 ! interface lo0 type lo ip address 127.0.0.1/8 ipv6 address ::1/128 ! } canvas c0 iconcoords {960 240} labelcoords {960 271} interface-peer {eth0 n4} } node n5 { type lanswitch network-config { hostname switch4 ! interface e3 ! interface e2 ! interface e1 ! interface e0 ! ! } canvas c0 iconcoords {744 528} labelcoords {771 568} interface-peer {e0 n1} interface-peer {e1 n12} interface-peer {e2 n13} interface-peer {e3 n9} } node n9 { type router model quagga network-config { hostname router1 ! interface eth1 mac address 42:00:aa:00:00:0c ip address 62.62.62.253/19 ! interface eth0 mac address 42:00:aa:00:00:0a ip address 45.45.45.253/21 ! interface lo0 type lo ip address 127.0.0.1/8 ipv6 address ::1/128 ! ! router rip redistribute static redistribute connected redistribute ospf network 0.0.0.0/0 ! router ripng redistribute static redistribute connected redistribute ospf6 network ::/0 ! } canvas c0 iconcoords {672 720} labelcoords {672 745} interface-peer {eth0 n5} interface-peer {eth1 n10} } node n10 { type router model quagga network-config { hostname router2 ! interface eth1 mac address 42:00:aa:00:00:0d ip address 37.37.37.254/22 ! interface eth0 mac address 42:00:aa:00:00:0b ip address 62.62.62.254/19 ! interface lo0 type lo ip address 127.0.0.1/8 ipv6 address ::1/128 ! ! router rip redistribute static redistribute connected redistribute ospf network 0.0.0.0/0 ! router ripng redistribute static redistribute connected redistribute ospf6 network ::/0 ! } canvas c0 iconcoords {312 600} labelcoords {312 625} interface-peer {eth0 n9} interface-peer {eth1 n11} } node n11 { type pc network-config { hostname pc ! interface eth0 mac address 42:00:aa:00:00:0e ip address 37.37.37.1/22 ! interface lo0 type lo ip address 127.0.0.1/8 ipv6 address ::1/128 ! ! ! ip route 0.0.0.0/0 37.37.37.254 ip route 171.16.2.0/24 37.37.37.254 ip route 172.16.2.0/24 37.37.37.254 ! } canvas c0 iconcoords {48 600} labelcoords {48 631} interface-peer {eth0 n10} } node n12 { type host network-config { hostname host1 ! interface eth0 mac address 42:00:aa:00:00:05 ip address 45.45.45.1/21 ! interface lo0 type lo ip address 127.0.0.1/8 ipv6 address ::1/128 ! ! ! } canvas c0 iconcoords {864 336} labelcoords {864 372} interface-peer {eth0 n5} custom-configs { custom-config-id default { custom-command /bin/sh config { ip addr add 127.0.0.1/8 dev lo0 ip addr add 45.45.45.1/21 dev eth0 ip -6 addr add ::1/128 dev lo0 ip route add 172.16.3.0/24 via 45.45.45.254 ip route add 172.16.2.0/24 via 45.45.45.254 ip route add 0.0.0.0/0 via 45.45.45.253 ip route add 172.16.1.0/24 via 45.45.45.254 rpcbind inetd } } } custom-selected default custom-enabled true } node n13 { type host network-config { hostname host2 ! interface eth0 mac address 42:00:aa:00:00:09 ip address 45.45.45.2/21 ! interface lo0 type lo ip address 127.0.0.1/8 ipv6 address ::1/128 ! ! ! } canvas c0 iconcoords {960 480} labelcoords {960 516} interface-peer {eth0 n5} custom-configs { custom-config-id default { custom-command /bin/sh config { ip addr add 127.0.0.1/8 dev lo0 ip addr add 45.45.45.2/21 dev eth0 ip -6 addr add ::1/128 dev lo0 ip route add 172.16.3.0/24 via 45.45.45.254 ip route add 172.16.2.0/24 via 45.45.45.254 ip route add 0.0.0.0/0 via 45.45.45.253 ip route add 172.16.1.0/24 via 45.45.45.254 rpcbind inetd } } } custom-selected default custom-enabled true } link l0 { nodes {n0 n3} bandwidth 0 } link l1 { nodes {n2 n0} bandwidth 0 } link l2 { nodes {n1 n2} bandwidth 0 } link l3 { nodes {n4 n1} bandwidth 0 } link l5 { nodes {n3 n6} bandwidth 0 } link l6 { nodes {n8 n4} bandwidth 0 } link l7 { nodes {n7 n2} bandwidth 0 } link l4 { nodes {n5 n1} bandwidth 0 } link l8 { nodes {n12 n5} bandwidth 0 } link l9 { nodes {n13 n5} bandwidth 0 } link l10 { nodes {n9 n5} bandwidth 0 } link l11 { nodes {n10 n9} bandwidth 0 } link l12 { nodes {n11 n10} bandwidth 0 } canvas c0 { name {Canvas0} size {1000 820} } option show { interface_names yes ip_addresses yes ipv6_addresses yes node_labels yes link_labels yes background_images no annotations yes hostsAutoAssign no grid yes iconSize normal zoom 1.0 }