386 lines
5.7 KiB
Plaintext
386 lines
5.7 KiB
Plaintext
node n0 {
|
|
type host
|
|
network-config {
|
|
hostname P1
|
|
!
|
|
interface eth1
|
|
ip address 192.168.127.254/18
|
|
mac address 42:00:aa:00:00:0e
|
|
!
|
|
interface eth0
|
|
ip address 192.168.63.254/18
|
|
mac address 42:00:aa:00:00:0d
|
|
!
|
|
interface lo0
|
|
type lo
|
|
ip address 127.0.0.1/8
|
|
ipv6 address ::1/128
|
|
!
|
|
ip route 0.0.0.0/0 192.168.127.253
|
|
!
|
|
}
|
|
canvas c0
|
|
iconcoords {192 168}
|
|
labelcoords {192 204}
|
|
interface-peer {eth0 n2}
|
|
interface-peer {eth1 n3}
|
|
}
|
|
|
|
node n1 {
|
|
type host
|
|
network-config {
|
|
hostname P2
|
|
!
|
|
interface eth2
|
|
ip address 192.168.255.254/18
|
|
mac address 42:00:aa:00:00:11
|
|
!
|
|
interface eth1
|
|
ip address 192.168.191.254/18
|
|
mac address 42:00:aa:00:00:10
|
|
!
|
|
interface eth0
|
|
ip address 192.168.127.253/18
|
|
mac address 42:00:aa:00:00:0f
|
|
!
|
|
interface lo0
|
|
type lo
|
|
ip address 127.0.0.1/8
|
|
ipv6 address ::1/128
|
|
!
|
|
ip route 0.0.0.0/0 192.168.127.254
|
|
!
|
|
}
|
|
canvas c0
|
|
iconcoords {456 96}
|
|
labelcoords {456 132}
|
|
interface-peer {eth0 n3}
|
|
interface-peer {eth1 n4}
|
|
interface-peer {eth2 n5}
|
|
}
|
|
|
|
node n2 {
|
|
type lanswitch
|
|
network-config {
|
|
hostname switch1
|
|
!
|
|
}
|
|
canvas c0
|
|
iconcoords {96 312}
|
|
labelcoords {96 335}
|
|
interface-peer {e0 n6}
|
|
interface-peer {e1 n7}
|
|
interface-peer {e2 n0}
|
|
}
|
|
|
|
node n3 {
|
|
type lanswitch
|
|
network-config {
|
|
hostname switch2
|
|
!
|
|
}
|
|
canvas c0
|
|
iconcoords {288 288}
|
|
labelcoords {288 311}
|
|
interface-peer {e0 n0}
|
|
interface-peer {e1 n8}
|
|
interface-peer {e2 n9}
|
|
interface-peer {e3 n1}
|
|
}
|
|
|
|
node n4 {
|
|
type lanswitch
|
|
network-config {
|
|
hostname switch3
|
|
!
|
|
}
|
|
canvas c0
|
|
iconcoords {528 216}
|
|
labelcoords {528 239}
|
|
interface-peer {e0 n1}
|
|
interface-peer {e1 n10}
|
|
interface-peer {e2 n11}
|
|
}
|
|
|
|
node n5 {
|
|
type lanswitch
|
|
network-config {
|
|
hostname switch4
|
|
!
|
|
}
|
|
canvas c0
|
|
iconcoords {840 192}
|
|
labelcoords {840 215}
|
|
interface-peer {e0 n1}
|
|
interface-peer {e1 n12}
|
|
interface-peer {e2 n13}
|
|
}
|
|
|
|
node n6 {
|
|
type pc
|
|
network-config {
|
|
hostname pc1-1
|
|
!
|
|
interface eth0
|
|
ip address 192.168.0.1/18
|
|
mac address 42:00:aa:00:00:12
|
|
!
|
|
interface lo0
|
|
type lo
|
|
ip address 127.0.0.1/8
|
|
ipv6 address ::1/128
|
|
!
|
|
ip route 0.0.0.0/0 192.168.63.254
|
|
!
|
|
}
|
|
canvas c0
|
|
iconcoords {24 480}
|
|
labelcoords {24 511}
|
|
interface-peer {eth0 n2}
|
|
}
|
|
|
|
node n7 {
|
|
type pc
|
|
network-config {
|
|
hostname pc1-2
|
|
!
|
|
interface eth0
|
|
ip address 192.168.0.2/18
|
|
mac address 42:00:aa:00:00:13
|
|
!
|
|
interface lo0
|
|
type lo
|
|
ip address 127.0.0.1/8
|
|
ipv6 address ::1/128
|
|
!
|
|
ip route 0.0.0.0/0 192.168.63.254
|
|
!
|
|
}
|
|
canvas c0
|
|
iconcoords {216 456}
|
|
labelcoords {216 487}
|
|
interface-peer {eth0 n2}
|
|
}
|
|
|
|
node n8 {
|
|
type pc
|
|
network-config {
|
|
hostname pc2-1
|
|
!
|
|
interface eth0
|
|
ip address 192.168.64.1/18
|
|
mac address 42:00:aa:00:00:14
|
|
!
|
|
interface lo0
|
|
type lo
|
|
ip address 127.0.0.1/8
|
|
ipv6 address ::1/128
|
|
!
|
|
ip route 0.0.0.0/0 192.168.127.253
|
|
ip route 192.168.0.0/18 192.168.127.254
|
|
!
|
|
}
|
|
canvas c0
|
|
iconcoords {240 576}
|
|
labelcoords {240 607}
|
|
interface-peer {eth0 n3}
|
|
}
|
|
|
|
node n9 {
|
|
type pc
|
|
network-config {
|
|
hostname pc2-2
|
|
!
|
|
interface eth0
|
|
ip address 192.168.64.2/18
|
|
mac address 42:00:aa:00:00:15
|
|
!
|
|
interface lo0
|
|
type lo
|
|
ip address 127.0.0.1/8
|
|
ipv6 address ::1/128
|
|
!
|
|
ip route 0.0.0.0/0 192.168.127.253
|
|
ip route 192.168.0.0/18 192.168.127.254
|
|
!
|
|
}
|
|
canvas c0
|
|
iconcoords {408 552}
|
|
labelcoords {408 583}
|
|
interface-peer {eth0 n3}
|
|
}
|
|
|
|
node n10 {
|
|
type pc
|
|
network-config {
|
|
hostname pc3-1
|
|
!
|
|
interface eth0
|
|
ip address 192.168.128.1/18
|
|
mac address 42:00:aa:00:00:16
|
|
!
|
|
interface lo0
|
|
type lo
|
|
ip address 127.0.0.1/8
|
|
ipv6 address ::1/128
|
|
!
|
|
ip route 0.0.0.0/0 192.168.191.254
|
|
!
|
|
}
|
|
canvas c0
|
|
iconcoords {432 408}
|
|
labelcoords {432 439}
|
|
interface-peer {eth0 n4}
|
|
}
|
|
|
|
node n11 {
|
|
type pc
|
|
network-config {
|
|
hostname pc3-2
|
|
!
|
|
interface eth0
|
|
ip address 192.168.128.2/18
|
|
mac address 42:00:aa:00:00:17
|
|
!
|
|
interface lo0
|
|
type lo
|
|
ip address 127.0.0.1/8
|
|
ipv6 address ::1/128
|
|
!
|
|
ip route 0.0.0.0/0 192.168.191.254
|
|
!
|
|
}
|
|
canvas c0
|
|
iconcoords {576 384}
|
|
labelcoords {576 415}
|
|
interface-peer {eth0 n4}
|
|
}
|
|
|
|
node n12 {
|
|
type pc
|
|
network-config {
|
|
hostname pc4-1
|
|
!
|
|
interface eth0
|
|
ip address 192.168.192.1/18
|
|
mac address 42:00:aa:00:00:18
|
|
!
|
|
interface lo0
|
|
type lo
|
|
ip address 127.0.0.1/8
|
|
ipv6 address ::1/128
|
|
!
|
|
ip route 0.0.0.0/0 192.168.255.254
|
|
!
|
|
}
|
|
canvas c0
|
|
iconcoords {672 312}
|
|
labelcoords {672 343}
|
|
interface-peer {eth0 n5}
|
|
}
|
|
|
|
node n13 {
|
|
type pc
|
|
network-config {
|
|
hostname pc4-2
|
|
!
|
|
interface eth0
|
|
ip address 192.168.192.2/18
|
|
mac address 42:00:aa:00:00:19
|
|
!
|
|
interface lo0
|
|
type lo
|
|
ip address 127.0.0.1/8
|
|
ipv6 address ::1/128
|
|
!
|
|
}
|
|
canvas c0
|
|
iconcoords {840 384}
|
|
labelcoords {840 415}
|
|
interface-peer {eth0 n5}
|
|
}
|
|
|
|
link l0 {
|
|
nodes {n2 n6}
|
|
bandwidth 0
|
|
}
|
|
|
|
link l1 {
|
|
nodes {n2 n7}
|
|
bandwidth 0
|
|
}
|
|
|
|
link l2 {
|
|
nodes {n0 n2}
|
|
bandwidth 0
|
|
}
|
|
|
|
link l3 {
|
|
nodes {n3 n0}
|
|
bandwidth 0
|
|
}
|
|
|
|
link l4 {
|
|
nodes {n8 n3}
|
|
bandwidth 0
|
|
}
|
|
|
|
link l5 {
|
|
nodes {n9 n3}
|
|
bandwidth 0
|
|
}
|
|
|
|
link l6 {
|
|
nodes {n1 n3}
|
|
bandwidth 0
|
|
}
|
|
|
|
link l7 {
|
|
nodes {n4 n1}
|
|
bandwidth 0
|
|
}
|
|
|
|
link l8 {
|
|
nodes {n4 n10}
|
|
bandwidth 0
|
|
}
|
|
|
|
link l9 {
|
|
nodes {n4 n11}
|
|
bandwidth 0
|
|
}
|
|
|
|
link l10 {
|
|
nodes {n5 n1}
|
|
bandwidth 0
|
|
}
|
|
|
|
link l11 {
|
|
nodes {n12 n5}
|
|
bandwidth 0
|
|
}
|
|
|
|
link l12 {
|
|
nodes {n13 n5}
|
|
bandwidth 0
|
|
}
|
|
|
|
canvas c0 {
|
|
name {Canvas0}
|
|
}
|
|
|
|
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
|
|
}
|
|
|