114 lines
1.6 KiB
Plaintext
114 lines
1.6 KiB
Plaintext
|
node n0 {
|
||
|
type lanswitch
|
||
|
network-config {
|
||
|
hostname switch1
|
||
|
!
|
||
|
}
|
||
|
canvas c0
|
||
|
iconcoords {408 144}
|
||
|
labelcoords {408 167}
|
||
|
interface-peer {e0 n1}
|
||
|
interface-peer {e1 n2}
|
||
|
interface-peer {e2 n3}
|
||
|
}
|
||
|
|
||
|
node n1 {
|
||
|
type pc
|
||
|
network-config {
|
||
|
hostname pc1
|
||
|
!
|
||
|
interface eth0
|
||
|
ipv6 address fc00::20/64
|
||
|
mac address 42:00:aa:00:00:00
|
||
|
ip address 172.16.1.1/16
|
||
|
!
|
||
|
interface lo0
|
||
|
type lo
|
||
|
ip address 127.0.0.1/8
|
||
|
ipv6 address ::1/128
|
||
|
!
|
||
|
}
|
||
|
canvas c0
|
||
|
iconcoords {192 288}
|
||
|
labelcoords {192 319}
|
||
|
interface-peer {eth0 n0}
|
||
|
}
|
||
|
|
||
|
node n2 {
|
||
|
type pc
|
||
|
network-config {
|
||
|
hostname pc2
|
||
|
!
|
||
|
interface eth0
|
||
|
ipv6 address fc00::21/64
|
||
|
mac address 42:00:aa:00:00:01
|
||
|
ip address 172.16.2.2/16
|
||
|
!
|
||
|
interface lo0
|
||
|
type lo
|
||
|
ip address 127.0.0.1/8
|
||
|
ipv6 address ::1/128
|
||
|
!
|
||
|
}
|
||
|
canvas c0
|
||
|
iconcoords {408 312}
|
||
|
labelcoords {408 343}
|
||
|
interface-peer {eth0 n0}
|
||
|
}
|
||
|
|
||
|
node n3 {
|
||
|
type pc
|
||
|
network-config {
|
||
|
hostname pc3
|
||
|
!
|
||
|
interface eth0
|
||
|
ipv6 address fc00::22/64
|
||
|
mac address 42:00:aa:00:00:02
|
||
|
ip address 172.16.3.3/16
|
||
|
!
|
||
|
interface lo0
|
||
|
type lo
|
||
|
ip address 127.0.0.1/8
|
||
|
ipv6 address ::1/128
|
||
|
!
|
||
|
}
|
||
|
canvas c0
|
||
|
iconcoords {648 264}
|
||
|
labelcoords {648 295}
|
||
|
interface-peer {eth0 n0}
|
||
|
}
|
||
|
|
||
|
link l0 {
|
||
|
nodes {n0 n1}
|
||
|
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 no
|
||
|
node_labels yes
|
||
|
link_labels yes
|
||
|
background_images no
|
||
|
annotations yes
|
||
|
hostsAutoAssign no
|
||
|
grid yes
|
||
|
iconSize normal
|
||
|
zoom 1.0
|
||
|
}
|
||
|
|