CCNP OSPF Lab3

ospf3-1 ospf3-2

Router2
conf t
int f0/0
bandwidth 1000
ip add 172.16.0.2 255.255.128.0
no shut
int s1/0
clock rate 2000000
ip add 172.16.128.2 255.255.128.0
no shut
int lo1
ip add 172.17.0.2 255.255.255.255
end

Router3
conf t
int f0/0
ip add 10.10.1.2 255.0.0.0
no shut
int f0/1
ip add 192.168.34.3 255.255.255.0
no shut
int s1/0
ip add 172.16.128.3 255.255.128.0
no shut
int lo1
ip add 172.17.0.3 255.255.255.255
end

Router4
conf t
int f0/0
bandwidth 1000
ip add 192.168.34.4 255.255.255.0
no shut
int s1/0
ip add 192.168.45.4 255.255.255.0
no shut
int lo1
ip add 172.17.0.4 255.255.255.255
end

Router5
conf t
int s1/0
clock rate 115200
ip add 192.168.45.5 255.255.255.0
no shut
int lo1
ip add 172.17.0.5 255.255.255.255
end

MicroCore
ifconfig eth0 172.16.0.1 netmask 255.255.128.0 up
route add -net 0.0.0.0 gw 172.16.0.2

MicroCore_2
ifconfig eth0 10.10.1.1 netmask 255.0.0.0 up
route add -net 0.0.0.0 gw 10.10.1.2

Router2
conf t
router ospf 1
network 172.16.0.0 0.0.127.255 area 1
network 172.16.128.0 0.0.127.255 area 1
end

Router3
conf t
router ospf 1
network 172.16.128.0 0.0.127.255 area 1
network 10.0.0.0 0.255.255.255 area 1
network 192.168.34.0 0.0.0.255 area 0
end

Router4
conf t
router ospf 1
network 192.168.34.0 0.0.0.255 area 0
network 192.168.45.0 0.0.0.255 area 2
end

Router5
conf t
router ospf 1
network 192.168.45.0 0.0.0.255 area 2
end

發佈留言

*