165 lines
2.3 KiB
Plaintext
165 lines
2.3 KiB
Plaintext
node n0 {
|
|
type lanswitch
|
|
network-config {
|
|
hostname switch1
|
|
!
|
|
}
|
|
canvas c0
|
|
iconcoords {408 96}
|
|
labelcoords {408 119}
|
|
interface-peer {e0 n1}
|
|
interface-peer {e1 n2}
|
|
interface-peer {e2 n3}
|
|
interface-peer {e3 n5}
|
|
interface-peer {e4 n4}
|
|
}
|
|
|
|
node n1 {
|
|
type host
|
|
network-config {
|
|
hostname osiris
|
|
!
|
|
interface eth0
|
|
ip address 192.168.1.158/24
|
|
mac address 42:00:aa:00:00:00
|
|
!
|
|
interface lo0
|
|
type lo
|
|
ip address 127.0.0.1/8
|
|
ipv6 address ::1/128
|
|
!
|
|
}
|
|
canvas c0
|
|
iconcoords {96 240}
|
|
labelcoords {96 276}
|
|
interface-peer {eth0 n0}
|
|
}
|
|
|
|
node n2 {
|
|
type pc
|
|
network-config {
|
|
hostname eno
|
|
!
|
|
interface eth0
|
|
ip address 192.168.1.1/24
|
|
mac address 42:00:aa:00:00:01
|
|
!
|
|
interface lo0
|
|
type lo
|
|
ip address 127.0.0.1/8
|
|
ipv6 address ::1/128
|
|
!
|
|
}
|
|
canvas c0
|
|
iconcoords {240 360}
|
|
labelcoords {240 391}
|
|
interface-peer {eth0 n0}
|
|
}
|
|
|
|
node n3 {
|
|
type pc
|
|
network-config {
|
|
hostname owt
|
|
!
|
|
interface eth0
|
|
ip address 192.168.1.2/24
|
|
mac address 42:00:aa:00:00:02
|
|
!
|
|
interface lo0
|
|
type lo
|
|
ip address 127.0.0.1/8
|
|
ipv6 address ::1/128
|
|
!
|
|
}
|
|
canvas c0
|
|
iconcoords {480 360}
|
|
labelcoords {480 391}
|
|
interface-peer {eth0 n0}
|
|
}
|
|
|
|
node n4 {
|
|
type pc
|
|
network-config {
|
|
hostname eerht
|
|
!
|
|
interface eth0
|
|
ip address 192.168.1.3/24
|
|
mac address 42:00:aa:00:00:03
|
|
!
|
|
interface lo0
|
|
type lo
|
|
ip address 127.0.0.1/8
|
|
ipv6 address ::1/128
|
|
!
|
|
}
|
|
canvas c0
|
|
iconcoords {672 336}
|
|
labelcoords {672 367}
|
|
interface-peer {eth0 n0}
|
|
}
|
|
|
|
node n5 {
|
|
type pc
|
|
network-config {
|
|
hostname ruof
|
|
!
|
|
interface eth0
|
|
ip address 192.168.1.4/24
|
|
mac address 42:00:aa:00:00:04
|
|
!
|
|
interface lo0
|
|
type lo
|
|
ip address 127.0.0.1/8
|
|
ipv6 address ::1/128
|
|
!
|
|
}
|
|
canvas c0
|
|
iconcoords {720 168}
|
|
labelcoords {720 199}
|
|
interface-peer {eth0 n0}
|
|
}
|
|
|
|
link l0 {
|
|
nodes {n0 n1}
|
|
bandwidth 0
|
|
}
|
|
|
|
link l1 {
|
|
nodes {n0 n2}
|
|
bandwidth 0
|
|
}
|
|
|
|
link l2 {
|
|
nodes {n3 n0}
|
|
bandwidth 0
|
|
}
|
|
|
|
link l3 {
|
|
nodes {n5 n0}
|
|
bandwidth 0
|
|
}
|
|
|
|
link l4 {
|
|
nodes {n0 n4}
|
|
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
|
|
}
|
|
|