SETUP
========
We need to ping from R1 (RED vrf ) to R3 (BLUE vrf).
R1-RED-----------------RED--R2--BLUE------------------BLUE--R3
1.1.1.1 1.1.1.2 2.2.2.1 2.2.2.2
101#ping vrf RED 2.2.2.2 ------------à pinging vrf BLUE’s 2.2.2.2 from R1’s VRF RED.
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms
101#
===============================================
101#sh running-config interface e0/0
Building configuration...
Current configuration : 86 bytes
!
interface Ethernet0/0
ip vrf forwarding RED
ip address 1.1.1.1 255.255.255.0
end
101#
101#sh running-config | in route
ip route vrf RED 0.0.0.0 0.0.0.0 1.1.1.2
101#
===================
102#sh running-config | in route
ip route vrf RED 2.2.2.0 255.255.255.0 Ethernet1/0 2.2.2.2
ip route vrf BLUE 1.1.1.0 255.255.255.0 Ethernet0/0 1.1.1.1
102#
102#
102#sh run
102#sh running-config in
102#sh running-config interface e0/0
Building configuration...
Current configuration : 86 bytes
!
interface Ethernet0/0
ip vrf forwarding RED
ip address 1.1.1.2 255.255.255.0
end
102#sh run
102#sh running-config in
102#sh running-config interface e1/0
Building configuration...
Current configuration : 87 bytes
!
interface Ethernet1/0
ip vrf forwarding BLUE
ip address 2.2.2.1 255.255.255.0
end
102#
=================
103#sh running-config interface e1/0
Building configuration...
Current configuration : 87 bytes
!
interface Ethernet1/0
ip vrf forwarding BLUE
ip address 2.2.2.2 255.255.255.0
end
103#
103#
103#sh run
103#sh running-config | in route
ip route vrf BLUE 0.0.0.0 0.0.0.0 2.2.2.1
103#
No comments:
Post a Comment