Professional Documents
Culture Documents
MPLS...................................................................................................................3
VRF Lite......................................................................................................................................3
1
INACAP Talcahuano ©2022
Guía Routing
VRF Lite
Cree el direccionamiento mostrado.
Configure OSPF de manera que R1 tenga adyacencia con todos los routers.
R1
router ospf 1
router-id 0.0.0.1
interface Loopback0
ip ospf 1 area 0
interface FastEthernet0/0
ip ospf 1 area 0
ip ospf 1 area 0
R2
router ospf 1
router-id 0.0.0.2
interface Loopback0
ip ospf 1 area 0
interface FastEthernet0/0
ip ospf 1 area 0
R3
router ospf 1
router-id 0.0.0.3
interface Loopback0
ip ospf 1 area 0
interface FastEthernet0/0
ip ospf 1 area 0
R4
router ospf 1
router-id 0.0.0.4
interface Loopback0
ip ospf 1 area 0
interface FastEthernet0/0
ip ospf 1 area 0
3
INACAP Talcahuano ©2022
Guía Routing
4
INACAP Talcahuano ©2022
Guía Routing
Se ha definido una politica que pide que R2 no sea accesible desde R3 ni R4. Configure el direccionamiento
en base a la VRF indicada.
R1
no router ospf 1
vrf definition R2
address-family ipv4
exit-address-family
interface FastEthernet0/0
vrf forwarding R2
ip address 10.1.12.1 255.255.255.0
R1
vrf definition R3-R4
address-family ipv4
exit-address-family
interface FastEthernet0/1
vrf forwarding R3-R4
ip address 10.1.13.1 255.255.255.0
interface FastEthernet1/0
vrf forwarding R3-R4
ip address 10.1.14.1 255.255.255.0
R1
router ospf 2 vrf R2
router-id 0.0.0.1
interface FastEthernet0/0
vrf forwarding R2
ip ospf 2 area 0
R1
router ospf 34 vrf R3-R4
router-id 0.0.0.11
interface FastEthernet0/1
ip ospf 34 area 0
interface FastEthernet1/0
ip ospf 34 area 0
6
INACAP Talcahuano ©2022
Guía Routing
R4#ping 3.3.3.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
Routing Table: R2
Gateway of last resort is not set
7
INACAP Talcahuano ©2022
Guía Routing
R3
interface Loopback100
ip address 100.1.1.3 255.255.255.0 secondary
ip address 100.1.2.3 255.255.255.0 secondary
ip address 100.1.3.3 255.255.255.0 secondary
ip address 100.1.0.3 255.255.255.0
router ospf 1
router-id 0.0.0.3
redistribute connected subnets route-map RED
R3
router ospf 1
router-id 0.0.0.3
summary-address 100.1.0.0 255.255.252.0
8
INACAP Talcahuano ©2022
Guía Routing
R4
interface Loopback200
ip address 200.1.1.4 255.255.255.0 secondary
ip address 200.1.2.4 255.255.255.0 secondary
ip address 200.1.3.4 255.255.255.0 secondary
ip address 200.1.0.4 255.255.255.0
ip ospf 1 area 34
ip ospf network point-to-point
9
INACAP Talcahuano ©2022
Guía Routing
Realice la misma configuración para IPv6 como muestra la siguiente topología. OSPFv3
10
INACAP Talcahuano ©2022