114 lines
1.6 KiB
Plaintext
114 lines
1.6 KiB
Plaintext
node n1 {
|
|
type pc
|
|
network-config {
|
|
hostname pc1
|
|
!
|
|
interface eth0
|
|
ip address 172.16.1.1/16
|
|
mac address 42:00:aa:00:00:03
|
|
!
|
|
interface lo0
|
|
type lo
|
|
ip address 127.0.0.1/8
|
|
ipv6 address ::1/128
|
|
!
|
|
}
|
|
auto_default_routes enabled
|
|
canvas c0
|
|
iconcoords {144 312}
|
|
labelcoords {144 343}
|
|
interface-peer {eth0 n0}
|
|
}
|
|
|
|
node n2 {
|
|
type pc
|
|
network-config {
|
|
hostname pc2
|
|
!
|
|
interface eth0
|
|
ip address 172.16.2.2/16
|
|
mac address 42:00:aa:00:00:04
|
|
!
|
|
interface lo0
|
|
type lo
|
|
ip address 127.0.0.1/8
|
|
ipv6 address ::1/128
|
|
!
|
|
}
|
|
auto_default_routes enabled
|
|
canvas c0
|
|
iconcoords {384 312}
|
|
labelcoords {384 343}
|
|
interface-peer {eth0 n0}
|
|
}
|
|
|
|
node n3 {
|
|
type pc
|
|
network-config {
|
|
hostname pc3
|
|
!
|
|
interface eth0
|
|
ip address 172.16.3.3/16
|
|
mac address 42:00:aa:00:00:05
|
|
!
|
|
interface lo0
|
|
type lo
|
|
ip address 127.0.0.1/8
|
|
ipv6 address ::1/128
|
|
!
|
|
}
|
|
auto_default_routes enabled
|
|
canvas c0
|
|
iconcoords {576 312}
|
|
labelcoords {576 343}
|
|
interface-peer {eth0 n0}
|
|
}
|
|
|
|
node n0 {
|
|
type lanswitch
|
|
network-config {
|
|
hostname switch1
|
|
!
|
|
}
|
|
canvas c0
|
|
iconcoords {384 96}
|
|
labelcoords {384 119}
|
|
interface-peer {e0 n1}
|
|
interface-peer {e1 n2}
|
|
interface-peer {e2 n3}
|
|
}
|
|
|
|
link l0 {
|
|
nodes {n1 n0}
|
|
bandwidth 0
|
|
}
|
|
|
|
link l1 {
|
|
nodes {n2 n0}
|
|
bandwidth 0
|
|
}
|
|
|
|
link l2 {
|
|
nodes {n3 n0}
|
|
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
|
|
}
|
|
|