369 lines
5.3 KiB
Plaintext
369 lines
5.3 KiB
Plaintext
node n0 {
|
|
type host
|
|
network-config {
|
|
hostname host1
|
|
!
|
|
interface eth1
|
|
ip address 192.168.64.254/18
|
|
!
|
|
interface eth0
|
|
ip address 192.168.0.254/18
|
|
!
|
|
interface lo0
|
|
type lo
|
|
ip address 127.0.0.1/8
|
|
ipv6 address ::1/128
|
|
!
|
|
}
|
|
auto_default_routes enabled
|
|
canvas c0
|
|
iconcoords {216 168}
|
|
labelcoords {216 204}
|
|
interface-peer {eth0 n2}
|
|
interface-peer {eth1 n3}
|
|
}
|
|
|
|
node n1 {
|
|
type host
|
|
network-config {
|
|
hostname host2
|
|
!
|
|
interface eth2
|
|
ip address 192.168.64.253/18
|
|
!
|
|
interface eth1
|
|
ip address 192.168.192.254/18
|
|
!
|
|
interface eth0
|
|
ip address 192.168.128.254/18
|
|
!
|
|
interface lo0
|
|
type lo
|
|
ip address 127.0.0.1/8
|
|
ipv6 address ::1/128
|
|
!
|
|
}
|
|
canvas c0
|
|
iconcoords {624 168}
|
|
labelcoords {624 204}
|
|
interface-peer {eth0 n4}
|
|
interface-peer {eth1 n5}
|
|
interface-peer {eth2 n3}
|
|
}
|
|
|
|
node n2 {
|
|
type lanswitch
|
|
network-config {
|
|
hostname switch1
|
|
!
|
|
}
|
|
canvas c0
|
|
iconcoords {72 264}
|
|
labelcoords {72 287}
|
|
interface-peer {e0 n0}
|
|
interface-peer {e1 n7}
|
|
interface-peer {e2 n6}
|
|
}
|
|
|
|
node n3 {
|
|
type lanswitch
|
|
network-config {
|
|
hostname switch2
|
|
!
|
|
}
|
|
canvas c0
|
|
iconcoords {360 264}
|
|
labelcoords {360 287}
|
|
interface-peer {e0 n0}
|
|
interface-peer {e1 n9}
|
|
interface-peer {e2 n8}
|
|
interface-peer {e3 n1}
|
|
}
|
|
|
|
node n4 {
|
|
type lanswitch
|
|
network-config {
|
|
hostname switch3
|
|
!
|
|
}
|
|
canvas c0
|
|
iconcoords {600 264}
|
|
labelcoords {600 287}
|
|
interface-peer {e0 n1}
|
|
interface-peer {e1 n11}
|
|
interface-peer {e2 n10}
|
|
}
|
|
|
|
node n5 {
|
|
type lanswitch
|
|
network-config {
|
|
hostname switch4
|
|
!
|
|
}
|
|
canvas c0
|
|
iconcoords {792 312}
|
|
labelcoords {792 335}
|
|
interface-peer {e0 n1}
|
|
interface-peer {e1 n13}
|
|
interface-peer {e2 n12}
|
|
}
|
|
|
|
node n6 {
|
|
type pc
|
|
network-config {
|
|
hostname pc1
|
|
!
|
|
interface eth0
|
|
ip address 192.168.0.1/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.0.254
|
|
!
|
|
}
|
|
auto_default_routes enabled
|
|
canvas c0
|
|
iconcoords {24 456}
|
|
labelcoords {24 487}
|
|
interface-peer {eth0 n2}
|
|
}
|
|
|
|
node n7 {
|
|
type pc
|
|
network-config {
|
|
hostname pc2
|
|
!
|
|
interface eth0
|
|
ip address 192.168.0.2/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.0.254
|
|
!
|
|
}
|
|
auto_default_routes enabled
|
|
canvas c0
|
|
iconcoords {168 504}
|
|
labelcoords {168 535}
|
|
interface-peer {eth0 n2}
|
|
}
|
|
|
|
node n8 {
|
|
type pc
|
|
network-config {
|
|
hostname pc3
|
|
!
|
|
interface eth0
|
|
ip address 192.168.64.1/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.64.253
|
|
ip route 0.0.0.0/0 192.168.64.254
|
|
!
|
|
}
|
|
auto_default_routes enabled
|
|
canvas c0
|
|
iconcoords {264 408}
|
|
labelcoords {264 439}
|
|
interface-peer {eth0 n3}
|
|
}
|
|
|
|
node n9 {
|
|
type pc
|
|
network-config {
|
|
hostname pc4
|
|
!
|
|
interface eth0
|
|
ip address 192.168.64.2/18
|
|
!
|
|
interface lo0
|
|
type lo
|
|
ip address 127.0.0.1/8
|
|
ipv6 address ::1/128
|
|
!
|
|
}
|
|
auto_default_routes enabled
|
|
canvas c0
|
|
iconcoords {408 504}
|
|
labelcoords {408 535}
|
|
interface-peer {eth0 n3}
|
|
}
|
|
|
|
node n10 {
|
|
type pc
|
|
network-config {
|
|
hostname pc5
|
|
!
|
|
interface eth0
|
|
ip address 192.168.128.1/18
|
|
!
|
|
interface lo0
|
|
type lo
|
|
ip address 127.0.0.1/8
|
|
ipv6 address ::1/128
|
|
!
|
|
}
|
|
auto_default_routes enabled
|
|
canvas c0
|
|
iconcoords {504 408}
|
|
labelcoords {504 439}
|
|
interface-peer {eth0 n4}
|
|
}
|
|
|
|
node n11 {
|
|
type pc
|
|
network-config {
|
|
hostname pc6
|
|
!
|
|
interface eth0
|
|
ip address 192.168.128.2/18
|
|
!
|
|
interface lo0
|
|
type lo
|
|
ip address 127.0.0.1/8
|
|
ipv6 address ::1/128
|
|
!
|
|
}
|
|
auto_default_routes enabled
|
|
canvas c0
|
|
iconcoords {648 504}
|
|
labelcoords {648 535}
|
|
interface-peer {eth0 n4}
|
|
}
|
|
|
|
node n12 {
|
|
type pc
|
|
network-config {
|
|
hostname pc7
|
|
!
|
|
interface eth0
|
|
ip address 192.168.192.1/18
|
|
!
|
|
interface lo0
|
|
type lo
|
|
ip address 127.0.0.1/8
|
|
ipv6 address ::1/128
|
|
!
|
|
}
|
|
auto_default_routes enabled
|
|
canvas c0
|
|
iconcoords {744 408}
|
|
labelcoords {744 439}
|
|
interface-peer {eth0 n5}
|
|
}
|
|
|
|
node n13 {
|
|
type pc
|
|
network-config {
|
|
hostname pc8
|
|
!
|
|
interface eth0
|
|
ip address 192.168.192.2/18
|
|
!
|
|
interface lo0
|
|
type lo
|
|
ip address 127.0.0.1/8
|
|
ipv6 address ::1/128
|
|
!
|
|
}
|
|
auto_default_routes enabled
|
|
canvas c0
|
|
iconcoords {840 504}
|
|
labelcoords {840 535}
|
|
interface-peer {eth0 n5}
|
|
}
|
|
|
|
link l0 {
|
|
nodes {n2 n0}
|
|
bandwidth 0
|
|
}
|
|
|
|
link l1 {
|
|
nodes {n3 n0}
|
|
bandwidth 0
|
|
}
|
|
|
|
link l2 {
|
|
nodes {n4 n1}
|
|
bandwidth 0
|
|
}
|
|
|
|
link l3 {
|
|
nodes {n5 n1}
|
|
bandwidth 0
|
|
}
|
|
|
|
link l4 {
|
|
nodes {n13 n5}
|
|
bandwidth 0
|
|
}
|
|
|
|
link l5 {
|
|
nodes {n12 n5}
|
|
bandwidth 0
|
|
}
|
|
|
|
link l6 {
|
|
nodes {n11 n4}
|
|
bandwidth 0
|
|
}
|
|
|
|
link l7 {
|
|
nodes {n10 n4}
|
|
bandwidth 0
|
|
}
|
|
|
|
link l8 {
|
|
nodes {n9 n3}
|
|
bandwidth 0
|
|
}
|
|
|
|
link l9 {
|
|
nodes {n8 n3}
|
|
bandwidth 0
|
|
}
|
|
|
|
link l10 {
|
|
nodes {n7 n2}
|
|
bandwidth 0
|
|
}
|
|
|
|
link l11 {
|
|
nodes {n6 n2}
|
|
bandwidth 0
|
|
}
|
|
|
|
link l12 {
|
|
nodes {n1 n3}
|
|
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
|
|
}
|
|
|