Monday, April 25, 2016

VRF_LAB6




R4
ip vrf SGJPN
int lo 0
ip vrf forwarding SGJPN
ip add 4.4.4.4 255.255.255.0
int s0/0
ip vrf forwarding SGJPN
ip add 192.168.14.4 255.255.255.0
no sh

router ei 1
no au
 address-family ipv4 vrf SGJPN
  network 4.4.4.0 0.0.0.255
  network 192.168.14.0 0.0.0.255
  no auto-summary
  autonomous-system 100

R5
ip vrf SGJPN
int lo 0
ip vrf forwarding SGJPN
ip add 5.5.5.5 255.255.255.0
int s0/0
ip vrf forwarding SGJPN
 ip address 192.168.15.5 255.255.255.0
no sh

router ei 1
no au
address-family ipv4 vrf SGJPN
net 5.5.5.0 0.0.0.255
net 192.168.15.0 0.0.0.255
no au
autonomous-system 100

R1
ip vrf SGJPN
int s0/1
 ip vrf forwarding SGJPN
 ip address 192.168.14.1 255.255.255.0
no sh

int s0/3
ip vrf forwarding SGJPN
 ip address 192.168.15.1 255.255.255.0
no sh

router eigrp 1
 no auto-summary
 !
 address-family ipv4 vrf SGJPN
  network 192.168.14.0
  network 192.168.15.0
  no auto-summary
  autonomous-system 100

R1
#sh ip route vrf SGJPN
#ping vrf SGJPN 4.4.4.4
#ping vrf SGJPN 5.5.5.5

R4
#sh ip route vrf SGJPN
#ping vrf SGJPN 5.5.5.5

R5
#sh ip route vrf SGJPN
#ping vrf SGJPN 4.4.4.4
===========================
R6
ip vrf MMY
int lo 0
ip vrf forwarding MMY
ip add 6.6.6.6 255.255.255.0
int lo 1
ip vrf forwarding MMY
ip add 66.66.66.66 255.255.255.0
int s0/0
ip vrf forwarding MMY
ip add 192.168.16.6 255.255.255.0
no sh

router rip
address-family ipv4 vrf MMY
no au
version 2
net 6.6.6.0
net 66.66.66.0
net 192.168.16.0

R7
ip vrf MMY
int lo 0
ip vrf forwarding MMY
ip add 7.7.7.7 255.255.255.0
int lo 1
ip vrf forwarding MMY
ip add 77.77.77.77 255.255.255.0
int s0/0
ip vrf forwarding MMY
ip add 192.168.17.7 255.255.255.0
no sh

router rip
address-family ipv4 vrf MMY
version 2
no au
net 7.7.7.0
net 77.77.77.0
net 192.168.17.0

R8
ip vrf MMY
int lo 0
ip vrf forwarding MMY
ip add 8.8.8.8 255.255.255.0
int lo 1
ip vrf forwarding MMY
ip add 88.88.88.88 255.255.255.0
int s0/0
ip vrf forwarding MMY
ip add 192.168.18.8 255.255.255.0
no sh

router rip
address-family ipv4 vrf MMY
version 2
no au
net 8.8.8.0
net 88.88.88.0
net 192.168.18.0

R1
ip vrf MMY
int s0/0
 ip vrf forwarding MMY
 ip address 192.168.16.1 255.255.255.0
no sh

int s1/0
 ip vrf forwarding MMY
 ip address 192.168.17.1 255.255.255.0
no sh

int s0/2
 ip vrf forwarding MMY
 ip address 192.168.18.1 255.255.255.0
no sh

router rip
 version 2
 no auto-summary
 !
 address-family ipv4 vrf MMY
  network 192.168.16.0
  network 192.168.17.0
  network 192.168.18.0
  no auto-summary

R1
#sh ip route vrf MMY
#ping vrf MMY ip 6.6.6.6
#ping vrf MMY ip 7.7.7.7
#ping vrf MMY ip 8.8.8.8

R6
#sh ip route vrf MMY
#ping vrf MMY ip 7.7.7.7
#ping vrf MMY ip 8.8.8.8

R7
#sh ip route vrf MMY
#ping vrf MMY ip 6.6.6.6
#ping vrf MMY ip 8.8.8.8
R8
#sh ip route vrf MMY
#ping vrf MMY ip 6.6.6.6
#sping vrf MMY ip 7.7.7.7
==========================
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 2.2.2.0 0.0.0.255
net 192.168.12.0 0.0.0.255
autonomous-system 100
no au

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

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

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

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
no au
autonomous-system 100

R1
int f3/0
no sh
int f3/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.13.0 0.0.0.255
autonomous-system 100
no au

R1
#sh ip route vrf RHCYGN1
#ping vrf RHCYGN1 ip 2.2.2.2
#ping vrf RHCYGN1 ip 3.3.3.3

R2
#sh ip route vrf RHCYGN1
#ping vrf RHCYGN1 ip 3.3.3.3

R3
#sh ip route vrf RHCYGN1
#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 f2/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

R1
#sh ip route vrf RHCYGN2
#ping vrf RHCYGN2 ip 22.22.22.22

R2
#sh ip route vrf RHCYGN2
#ping vrf RHCYGN2 ip 192.168.21.1


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

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

router os 1 vrf RHCYGN2
net 192.168.31.0 0.0.0.255 a 0

R1
#sh ip route vrf RHCYGN2
#ping vrf RHCYGN2 ip 33.33.33.33

R3
#sh ip route vrf RHCYGN2
#ping vrf RHCYGN2 ip 192.168.31.1

No comments:

Post a Comment