Monday, April 25, 2016

VRF_LAB5



Configure
R2
ip vrf RHCYGN1

int lo 0
ip vrf forwarding RHCYGN1
ip add 2.2.2.2 255.255.255.0
int f0/0
no sh
int f0/0.12
encapsulation dot1Q 12
ip vrf forwarding RHCYGN1
ip add 192.168.12.2 255.255.255.0

router ei 1
no au
address-family ipv4 vrf RHCYGN1
net 192.168.12.0 0.0.0.255
net 2.2.2.0 0.0.0.255
autonomous-system 100
no au


R1
ip vrf RHCYGN1
int f0/0
no sh
int f0/0.12
encapsulation dot1Q 12
ip vrf forwarding RHCYGN1
ip add 192.168.12.1 255.255.255.0

int f1/0
no sh
int f1/0.13
encapsulation dot1Q 13
ip vrf forwarding RHCYGN1
ip add 192.168.13.1 255.255.255.0

router ei 1
no au
address-family ipv4 vrf RHCYGN1
net 192.168.12.0 0.0.0.255
net 192.168.13.0 0.0.0.255
autonomous-system 100
no au

R3
ip vrf RHCYGN1
int lo 0
ip vrf forwarding RHCYGN1
ip add 3.3.3.3 255.255.255.0
int f0/0
no sh
int f0/0.13
encapsulation dot1Q 13
ip vrf forwarding RHCYGN1
ip add 192.168.13.3 255.255.255.0

router ei 1
no au
address-family ipv4 vrf RHCYGN1
net 3.3.3.0 0.0.0.255
net 192.168.13.0 0.0.0.255
autonomous-system 100
no au

Verify & Test
R1
sh ip route vrf RHCYGN1
ping vrf RHCYGN1 ip 2.2.2.2
R2
sh ip route vrf RHCYGN1
ping vrf RHCYGN1 ip 192.168.12.1
sh ip route vrf RHCYGN1
ping vrf RHCYGN1 ip 2.2.2.2
ping vrf RHCYGN1 ip 3.3.3.3
R2
ping vrf RHCYGN1 ip 3.3.3.3
R3
ping vrf RHCYGN1 ip 2.2.2.2
+++++++++++++++++++++++++++

R2
ip vrf RHCYGN2
int lo 1
ip vrf forwarding RHCYGN2
ip add 22.22.22.22 255.255.255.0
int f0/0.21
encapsulation dot1Q 21
ip vrf forwarding RHCYGN2
ip add 192.168.21.2 255.255.255.0

router os 1 vrf RHCYGN2
net 22.22.22.0 0.0.0.255 a 0
net 192.168.21.0 0.0.0.255 a 0


R1
ip vrf RHCYGN2
int f0/0.21
encapsulation dot1Q 21
ip vrf forwarding RHCYGN2
ip add 192.168.21.1 255.255.255.0

router os 1 vrf RHCYGN2
net 192.168.21.0 0.0.0.255 a 0
net 192.168.31.0 0.0.0.255 a 0

int f1/0
no sh
int f1/0.31
encapsulation dot1Q 31
ip vrf forwarding RHCYGN2
ip add 192.168.31.1 255.255.255.0

R3
ip vrf RHCYGN2
int lo 1
ip vrf forwarding RHCYGN2
ip add 33.33.33.33 255.255.255.0
int f0/0
no sh
int f0/0.31
encapsulation dot1Q 31
ip vrf forwarding RHCYGN2
ip add 192.168.31.3 255.255.255.0

router os 1 vrf RHCYGN2
net 33.33.33.0 0.0.0.255 a 0
net 192.168.31.0 0.0.0.255 a 0

Verify & Test
#sh ip rou vrf RHCYGN2
#ping vrf RHCYGN2 xx.xx.xx.xx

No comments:

Post a Comment