Este LAB é apenas para treinar um pouco de OSPF e assimilar o conceito de virtual-link.
Sua tarefa estara completa quando:
1 - CORE possuir 1 VIZINHANÇA OSPF
2 - SITEA possuir 3 VIZINHANÇAS OSPF
3 - SITEB possuir 3 VIZINHANÇAS OSPF
4 - SITEC possuir 1 VIZINHANÇA OSPF
5 - O CORE pingar a LAN do SITEC com source em sua LAN (ping ip 13.0.0.1 source fastEthernet 0/0)
6 - O SITEC pingar a LAN do CORE com source em sua LAN (ping ip 10.0.0.1 source fastEthernet 0/0)
Topologia:
Config dos routers:
************** CORE **************
conf t
service timestamps debug datetime msec localtime show-timezone
service timestamps log datetime msec localtime show-timezone
service password-encryption
service compress-config
hostname CORE
logging buffered 16000 debugging
no logging console
ip subnet-zero
ip cef
interface Loopback0
ip address 192.168.1.1 255.255.255.255
interface FastEthernet0/0
ip address 10.0.0.1 255.255.255.0
duplex auto
speed auto
interface Serial1/1
ip address 200.0.0.1 255.255.255.252
serial restart_delay 0
router ospf 200
log-adjacency-changes
network 10.0.0.0 0.0.0.255 area 0
network 200.0.0.0 0.0.0.3 area 0
ip classless
no ip http server
no ip http secure-server
line con 0
exec-timeout 0 0
end
wr
************** SITEA **************
conf t
service timestamps debug datetime msec localtime show-timezone
service timestamps log datetime msec localtime show-timezone
service password-encryption
service compress-config
hostname SITEA
logging buffered 16000 debugging
no logging console
ip subnet-zero
ip cef
interface Loopback0
ip address 192.168.1.2 255.255.255.255
interface FastEthernet0/0
ip address 11.0.0.1 255.255.255.0
duplex auto
speed auto
interface Serial1/0
ip address 200.0.0.2 255.255.255.252
interface Serial1/1
ip address 200.0.1.1 255.255.255.252
router ospf 2000
log-adjacency-changes
area 1 stub no-summary
area 2 virtual-link 192.168.1.4
network 11.0.0.0 0.0.0.255 area 1
network 200.0.0.0 0.0.0.3 area 0
network 200.0.1.0 0.0.0.3 area 1
ip classless
no ip http server
no ip http secure-server
line con 0
exec-timeout 0 0
end
wr
************** SITEB **************
conf t
service timestamps debug datetime msec localtime show-timezone
service timestamps log datetime msec localtime show-timezone
service password-encryption
service compress-config
hostname SITEB
logging buffered 16000 debugging
no logging console
ip subnet-zero
ip cef
interface Loopback0
ip address 192.168.1.3 255.255.255.255
interface FastEthernet0/0
ip address 12.0.0.1 255.255.255.0
duplex auto
speed auto
interface Serial1/0
ip address 200.0.1.2 255.255.255.252
interface Serial1/1
ip address 200.1.1.1 255.255.255.252
router ospf 2000
log-adjacency-changes
area 1 stub no-summary
area 2 nssa no-summary
network 12.0.0.0 0.0.0.255 area 2
network 200.0.1.0 0.0.0.3 area 1
network 200.1.1.0 0.0.0.3 area 2
ip classless
no ip http server
no ip http secure-server
line con 0
exec-timeout 0 0
end
wr
************** SITEC **************
conf t
service timestamps debug datetime msec localtime show-timezone
service timestamps log datetime msec localtime show-timezone
service password-encryption
service compress-config
hostname SITEC
logging buffered 16000 debugging
no logging console
ip subnet-zero
ip cef
interface Loopback0
ip address 192.168.1.4 255.255.255.255
interface FastEthernet0/0
ip address 13.0.0.1 255.255.255.0
duplex auto
speed auto
interface Serial1/0
ip address 200.1.1.2 255.255.255.252
router ospf 2000
log-adjacency-changes
area 2 virtual-link 192.168.1.2
network 13.0.0.0 0.0.0.255 area 2
network 200.1.1.0 0.0.0.3 area 2
ip classless
no ip http server
no ip http secure-server
line con 0
exec-timeout 0 0
end
wr
****************************
arquivo Dynamips (este arquivo foi gerado para o dynamips padrão, caso resolva utilizar o GNS será necessário montar a topologia na hora, não esqueça de corrigir o caminho do IOS e de fazer o idlepc)
autostart = False
[localhost]
[[7200]]
image = .\c7200-jk8s-mz[1].122-15.T17.bin
npe = npe-400
nvram = 96
ram = 128
ghostios = True
sparsemem = True
[[ROUTER CORE]]
f0/0 = LAN 1
S1/1 = SITEA S1/0
model = 7200
[[ROUTER SITEA]]
f0/0 = LAN 2
S1/1 = SITEB S1/0
model = 7200
[[ROUTER SITEB]]
f0/0 = LAN 3
S1/1 = SITEC S1/0
model = 7200
[[ROUTER SITEC]]
f0/0 = LAN 4
model = 7200
****************************
IOS para download:
/http://www.4shared.com/file/9914030/50c618/c7200-jk8s-mz122-15T17.html
****************************
Dica:
SITEB#sh ip ospf neig
Neighbor ID Pri State Dead Time Address Interface
192.168.1.2 0 FULL/ - - 200.0.1.1 OSPF_VL0
192.168.1.2 0 FULL/ - 00:00:36 200.0.1.1 Serial1/0
192.168.1.4 0 FULL/ - 00:00:39 200.1.1.2 Serial1/1