BUT2/SCR/IMUNES/TP20/simple3.imn
2023-10-23 13:23:36 +02:00

366 lines
5.2 KiB
Plaintext

node n0 {
type lanswitch
network-config {
hostname switch1
!
}
canvas c0
iconcoords {48 192}
labelcoords {45 168}
interface-peer {e0 n2}
interface-peer {e2 n6}
interface-peer {e1 n3}
}
node n1 {
type lanswitch
network-config {
hostname switch2
!
}
canvas c0
iconcoords {360 216}
labelcoords {357 189}
interface-peer {e1 n4}
interface-peer {e2 n5}
interface-peer {e3 n6}
interface-peer {e4 n7}
}
node n2 {
type pc
network-config {
hostname pc1-1
!
interface eth0
mac address 42:00:aa:00:00:00
ip address 172.168.0.1/18
!
interface lo0
type lo
ip address 127.0.0.1/8
ipv6 address ::1/128
!
}
canvas c0
iconcoords {48 456}
labelcoords {48 487}
interface-peer {eth0 n0}
}
node n4 {
type pc
network-config {
hostname pc2-1
!
interface eth0
mac address 42:00:aa:00:00:03
ip address 172.168.64.1/18
!
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 n1}
}
node n5 {
type pc
network-config {
hostname pc2-2
!
interface eth0
mac address 42:00:aa:00:00:04
ip address 172.168.64.2/18
!
interface lo0
type lo
ip address 127.0.0.1/8
ipv6 address ::1/128
!
}
canvas c0
iconcoords {384 456}
labelcoords {384 487}
interface-peer {eth0 n1}
}
node n6 {
type host
network-config {
hostname P1
!
interface eth1
mac address 42:00:aa:00:00:06
ip address 192.168.64.254/18
!
interface eth0
mac address 42:00:aa:00:00:05
ip address 192.168.0.254/18
!
interface lo0
type lo
ip address 127.0.0.1/8
ipv6 address ::1/128
!
}
canvas c0
iconcoords {192 120}
labelcoords {189 85}
interface-peer {eth0 n0}
interface-peer {eth1 n1}
}
node n7 {
type host
network-config {
hostname P2
!
interface eth2
mac address 42:00:aa:00:00:09
ip address 192.168.192.254/18
!
interface eth1
mac address 42:00:aa:00:00:08
ip address 192.168.128.254/18
!
interface eth0
mac address 42:00:aa:00:00:07
ip address 192.168.64.254/18
!
interface lo0
type lo
ip address 127.0.0.1/8
ipv6 address ::1/128
!
}
canvas c0
iconcoords {504 96}
labelcoords {506 61}
interface-peer {eth0 n1}
interface-peer {eth1 n8}
interface-peer {eth2 n9}
}
node n8 {
type lanswitch
network-config {
hostname switch3
!
}
canvas c0
iconcoords {528 264}
labelcoords {561 240}
interface-peer {e0 n7}
interface-peer {e1 n10}
interface-peer {e2 n11}
}
node n9 {
type lanswitch
network-config {
hostname switch4
!
}
canvas c0
iconcoords {720 192}
labelcoords {728 167}
interface-peer {e0 n7}
interface-peer {e1 n12}
interface-peer {e2 n13}
}
node n3 {
type pc
network-config {
hostname pc1-2
!
interface eth0
mac address 42:00:aa:00:00:01
ip address 172.168.0.2/18
!
interface lo0
type lo
ip address 127.0.0.1/8
ipv6 address ::1/128
!
}
canvas c0
iconcoords {168 360}
labelcoords {168 391}
interface-peer {eth0 n0}
}
node n10 {
type pc
network-config {
hostname pc3-1
!
interface eth0
mac address 42:00:aa:00:00:02
ip address 172.168.128.1/18
!
interface lo0
type lo
ip address 127.0.0.1/8
ipv6 address ::1/128
!
}
canvas c0
iconcoords {480 456}
labelcoords {480 487}
interface-peer {eth0 n8}
}
node n11 {
type pc
network-config {
hostname pc3-2
!
interface eth0
mac address 42:00:aa:00:00:0a
ip address 172.168.128.2/18
!
interface lo0
type lo
ip address 127.0.0.1/8
ipv6 address ::1/128
!
}
canvas c0
iconcoords {624 384}
labelcoords {624 415}
interface-peer {eth0 n8}
}
node n12 {
type pc
network-config {
hostname pc4-1
!
interface eth0
mac address 42:00:aa:00:00:0b
ip address 172.168.192.1/18
!
interface lo0
type lo
ip address 127.0.0.1/8
ipv6 address ::1/128
!
}
canvas c0
iconcoords {696 384}
labelcoords {696 415}
interface-peer {eth0 n9}
}
node n13 {
type pc
network-config {
hostname pc4-2
!
interface eth0
mac address 42:00:aa:00:00:0c
ip address 172.168.192.2/18
!
interface lo0
type lo
ip address 127.0.0.1/8
ipv6 address ::1/128
!
}
canvas c0
iconcoords {816 480}
labelcoords {816 511}
interface-peer {eth0 n9}
}
link l0 {
nodes {n0 n2}
bandwidth 0
}
link l3 {
nodes {n1 n4}
bandwidth 0
}
link l4 {
nodes {n5 n1}
bandwidth 0
}
link l5 {
nodes {n6 n0}
bandwidth 0
}
link l6 {
nodes {n6 n1}
bandwidth 0
}
link l7 {
nodes {n7 n1}
bandwidth 0
}
link l8 {
nodes {n7 n8}
bandwidth 0
}
link l9 {
nodes {n7 n9}
bandwidth 0
}
link l1 {
nodes {n0 n3}
bandwidth 0
}
link l2 {
nodes {n8 n10}
bandwidth 0
}
link l10 {
nodes {n8 n11}
bandwidth 0
}
link l11 {
nodes {n9 n12}
bandwidth 0
}
link l12 {
nodes {n9 n13}
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
}