tkt
This commit is contained in:
214
SCR3.2/TP03/dhcp-serv.imn
Normal file
214
SCR3.2/TP03/dhcp-serv.imn
Normal file
@@ -0,0 +1,214 @@
|
||||
node n0 {
|
||||
type host
|
||||
network-config {
|
||||
hostname DHCPsrv
|
||||
!
|
||||
interface eth0
|
||||
mac address 42:00:aa:00:00:00
|
||||
ip address 192.168.10.10/20
|
||||
!
|
||||
interface lo0
|
||||
type lo
|
||||
ip address 127.0.0.1/8
|
||||
ipv6 address ::1/128
|
||||
!
|
||||
}
|
||||
canvas c0
|
||||
iconcoords {120 120}
|
||||
labelcoords {120 156}
|
||||
interface-peer {eth0 n1}
|
||||
}
|
||||
|
||||
node n1 {
|
||||
type lanswitch
|
||||
network-config {
|
||||
hostname switch1
|
||||
!
|
||||
}
|
||||
canvas c0
|
||||
iconcoords {216 264}
|
||||
labelcoords {216 287}
|
||||
interface-peer {e0 n0}
|
||||
interface-peer {e1 n2}
|
||||
interface-peer {e2 n3}
|
||||
interface-peer {e3 n4}
|
||||
}
|
||||
|
||||
node n2 {
|
||||
type pc
|
||||
network-config {
|
||||
hostname pc1-1
|
||||
!
|
||||
interface eth0
|
||||
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 {120 408}
|
||||
labelcoords {120 439}
|
||||
interface-peer {eth0 n1}
|
||||
auto_default_routes enabled
|
||||
}
|
||||
|
||||
node n3 {
|
||||
type pc
|
||||
network-config {
|
||||
hostname pc1-2
|
||||
!
|
||||
interface eth0
|
||||
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 {312 408}
|
||||
labelcoords {312 439}
|
||||
interface-peer {eth0 n1}
|
||||
auto_default_routes enabled
|
||||
}
|
||||
|
||||
node n4 {
|
||||
type host
|
||||
network-config {
|
||||
hostname GW
|
||||
!
|
||||
interface eth1
|
||||
mac address 42:00:aa:00:00:04
|
||||
ip address 172.16.2.254/24
|
||||
!
|
||||
interface eth0
|
||||
mac address 42:00:aa:00:00:03
|
||||
ip address 192.168.10.254/20
|
||||
!
|
||||
interface lo0
|
||||
type lo
|
||||
ip address 127.0.0.1/8
|
||||
ipv6 address ::1/128
|
||||
!
|
||||
}
|
||||
canvas c0
|
||||
iconcoords {408 216}
|
||||
labelcoords {408 252}
|
||||
interface-peer {eth0 n1}
|
||||
interface-peer {eth1 n5}
|
||||
auto_default_routes enabled
|
||||
}
|
||||
|
||||
node n5 {
|
||||
type lanswitch
|
||||
network-config {
|
||||
hostname switch2
|
||||
!
|
||||
}
|
||||
canvas c0
|
||||
iconcoords {600 264}
|
||||
labelcoords {600 287}
|
||||
interface-peer {e0 n4}
|
||||
interface-peer {e1 n7}
|
||||
interface-peer {e2 n6}
|
||||
}
|
||||
|
||||
node n6 {
|
||||
type pc
|
||||
network-config {
|
||||
hostname pc2-1
|
||||
!
|
||||
interface eth0
|
||||
mac address 42:00:aa:00:00:06
|
||||
!
|
||||
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 n5}
|
||||
}
|
||||
|
||||
node n7 {
|
||||
type pc
|
||||
network-config {
|
||||
hostname pc2-2
|
||||
!
|
||||
interface eth0
|
||||
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 {696 408}
|
||||
labelcoords {696 439}
|
||||
interface-peer {eth0 n5}
|
||||
}
|
||||
|
||||
link l0 {
|
||||
nodes {n1 n0}
|
||||
bandwidth 0
|
||||
}
|
||||
|
||||
link l1 {
|
||||
nodes {n2 n1}
|
||||
bandwidth 0
|
||||
}
|
||||
|
||||
link l2 {
|
||||
nodes {n3 n1}
|
||||
bandwidth 0
|
||||
}
|
||||
|
||||
link l3 {
|
||||
nodes {n4 n1}
|
||||
bandwidth 0
|
||||
}
|
||||
|
||||
link l4 {
|
||||
nodes {n5 n4}
|
||||
bandwidth 0
|
||||
}
|
||||
|
||||
link l5 {
|
||||
nodes {n7 n5}
|
||||
bandwidth 0
|
||||
}
|
||||
|
||||
link l6 {
|
||||
nodes {n6 n5}
|
||||
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user