OSPF ENLACES VIRTUALES / OSPF VIRTUAL LINKS
Código
R1
conf t
int e0/0
ip add 172.20.4.253 255.255.255.252
no shut
ip ospf 10 area 2
exit
int e1/0
ip add 192.168.10.1 255.255.255.0
no shut
ip ospf 10 area 1
exit
int e1/1
ip add 192.168.11.1 255.255.255.0
no shut
ip ospf 10 area 1
exit
router ospf 10
router-id 1.1.1.1
area 2 virtual-link 3.3.3.3
exit
====================================
R2
conf t
int e0/0
ip add 172.20.4.254 255.255.255.252
no shut
ip ospf 10 area 2
exit
int e1/0
ip add 172.20.8.253 255.255.255.252
no shut
ip ospf 10 area 2
exit
router ospf 10
router-id 2.2.2.2
exit
======================================
R3
conf t
int e0/0
ip add 172.20.8.254 255.255.255.252
no shut
ip ospf 10 area 2
exit
int e1/0
ip add 172.20.12.253 255.255.255.252
no shut
ip ospf 10 area 0
exit
router ospf 10
router-id 3.3.3.3
area 2 virtual-link 1.1.1.1
exit
=======================================
R4
conf t
int e0/0
ip add 172.20.12.254 255.255.255.252
no shut
ip ospf 10 area 0
exit
int e1/0
ip add 172.20.16.253 255.255.255.252
no shut
ip ospf 10 area 0
exit
router ospf 10
router-id 4.4.4.4
exit
===============================
R5
conf t
int e0/0
ip add 172.20.16.254 255.255.255.252
no shut
ip ospf 10 area 0
exit
int e1/0
ip add 172.20.20.253 255.255.255.252
no shut
ip ospf 10 area 0
exit
router ospf 10
router-id 5.5.5.5
exit
===================================
R6
conf t
int e0/0
ip add 172.20.20.254 255.255.255.252
no shut
ip ospf 10 area 0
exit
int e1/0
ip add 172.20.24.253 255.255.255.252
no shut
ip ospf 10 area 3
exit
router ospf 10
router-id 6.6.6.6
area 3 virtual-link 8.8.8.8
exit
=======================================
R7
conf t
int e0/0
ip add 172.20.24.254 255.255.255.252
no shut
ip ospf 10 area 3
exit
int e1/0
ip add 172.20.28.253 255.255.255.252
no shut
ip ospf 10 area 3
exit
router ospf 10
router-id 7.7.7.7
exit
==============================
R8
conf t
int e0/0
ip add 172.20.28.254 255.255.255.252
no shut
ip ospf 10 area 3
exit
int e1/0
ip add 192.168.40.1 255.255.255.0
no shut
ip ospf 10 area 4
exit
int e1/1
ip add 192.168.41.1 255.255.255.0
no shut
ip ospf 10 area 4
exit
router ospf 10
router-id 8.8.8.8
area 3 virtual-link 6.6.6.6
exit
===================================
PC's
PC1
ip 192.168.10.2/24 192.168.10.1
PC2
ip 192.168.11.2/24 192.168.11.1
PC3
ip 192.168.40.2/24 192.168.40.1
PC4
ip 192.168.40.2/24 192.168.40.1
Comments
Post a Comment