Sei sulla pagina 1di 3

Configuration on Router Admin ---------------------------Configure OSPF configure terminal router ospf 5 network 10.10.10.192 0.0.0.31 area 0 network 10.10.10.

252 0.0.0.3 area 0 network 10.10.10.248 0.0.0.3 area 0 area 0 authentication message-digest exit interface loopback 0 ip address 192.168.1.3 255.255.255.255 no shutdown exit interface serial 0/0/0 ip ospf message-digest-key 10 md10 xyzunipass exit interface fa 0/0 ip ospf message-digest-key 10 md10 xyzunipass exit interface fa 0/1 ip ospf priority 50 ip ospf message-digest-key 10 md10 xyzunipass exit do wr > to save the configurations -----------------------------------------------------------------------------Configuration of BldgA ----------------------config terminal interface fa 0/1 ip address 10.10.10.238 255.255.255.240 no shutdown exit interface Loopback 0 ip address 192.168.1.2 255.255.255.255 no shutdown exit interface fa 0/0 ip address 10.10.10.1 255.255.255.128 no shutdown exit interface serial 0/0/0 ip address 10.10.10.253 255.255.255.252 no shutdown exit

Configure OSPF router ospf 5 network network network network 10.10.10.0 0.0.0.127 area 0 10.10.10.252 0.0.0.3 area 0 10.10.10.224 0.0.0.15 area 0 10.10.10.248 0.0.0.3 area 0

area 0 authentication message-digest exit interface serial 0/0/0 bandwidth 768 ip ospf message-digest-key 10 md10 xyzunipass exit interface fa 0/1 ip ospf prority 25 ip ospf message-digest-key 10 md10 xyzunipass exit interface fa 0/1 ip ospf prority 25 ip ospf message-digest-key 10 md10 xyzunipass exit Access-list 175 deny ip 10.10.10.0 0.0.0.127 10.10.10.128 0.0.0.63 Access-list 175 permit ip any any interface fa 0/0 ip access-group 175 in end do wr > save your configuration

Configuration on Router Main ---------------------------Configure OSPF router ospf 5 network network network network 10.10.10.192 0.0.0.31 area 0 10.10.10.252 0.0.0.3 area 0 10.10.10.248 0.0.0.3 area 0 198.133.219.17 0.0.0.3 area 0

area 0 authentication message-digest exit interface serial 0/0/0 ip ospf message-digest-key 10 md10 xyzunipass exit

interface lookback 0 ip address 192.168.1.3 255.255.255.255 no shutdown exit interface serial 0/0/1 ip ospf message-digest-key 10 md10 xyzunipass exit interface serial 0/1/0 bandwidth 768 ip ospf message-digest-key 10 md10 yzunipass exit interface fa 0/1 ip ospf message-digest-key 10 md10 yzunipass exit configure terminal ip route 0.0.0.0 0.0.0.0 serial 0/0/1 router ospf 5 dafult-information originate exit access access access access list list list list 150 150 150 150 permit permit permit permit tcp any host 192.31.7.53 eq 80 tcp any any established icmp any any unreachable icmp any any echo-reply

interface serial 0/0/1 ip access-group 100 in exit ip access-list standard NO_INTERNET deny 10.10.10.128 0.0.0.63 permit any interface serial 0/1/0 ip access-group NO_INTERNET in exit interface serial 0/0/0 ip access-group NO_INTERNET in end

Potrebbero piacerti anche