Skip to content

Lab 3

Step 0 & 1 - Configuration de base & Configuration des interfaces

ISP

enable
clock set 16:30:00 Oct 24 2019
conf t
clock timezone CST -1
hostname ISP
no ip domain-lookup

line con 0
logging synchronous
exit



interface serial 1/0
description ISP to SanJose1
ip address 192.168.1.1 255.255.255.252
ipv6 address 2001:DB8:FEED:1::1/64
ipv6 address fe80::1 link-local
no shutdown
exit

interface lo0
description ISP interne network loopback
ip address 10.0.0.1 255.255.0.0
ipv6 address 2001:DB8:BEEF:11::1/64
no shutdown
exit

interface ethernet 0/2
description ISP interne network 1
ip address 10.1.0.1 255.255.0.0
ipv6 address 2001:DB8:BEEF:1::1/64
ipv6 address fe80::1 link-local
no shutdown
exit

SanJose1

enable
clock set 16:30:00 Oct 24 2019
conf t
clock timezone CST -1
hostname SanJose1
no ip domain-lookup

line con 0
logging synchronous
exit

interface serial 1/0
description SanJose1 to ISP
ip address 192.168.1.2 255.255.255.252
ipv6 address 2001:DB8:FEED:1::2/64
ipv6 address fe80::2 link-local
no shutdown
exit

interface lo0
description SanJose1 interne network loopback
ip address 172.17.2.1 255.255.255.0
ipv6 address 2001:DB8:CAFE:22::1/64
ipv6 address fe80::2 link-local
no shutdown
exit

interface ethernet 0/2
description SanJose1 interne network 1
ip address 172.16.2.1 255.255.255.0
ipv6 address 2001:DB8:CAFE:2::1/64
ipv6 address fe80::2 link-local
no shutdown
exit

interface serial 1/1
description SanJose1 to SanJose2
ip address 172.16.1.1 255.255.255.252
ipv6 address 2001:DB8:CAFE:1::1/64
ipv6 address fe80::2 link-local
no shutdown
exit

SanJose2

enable
clock set 16:30:00 Oct 24 2019
conf t
clock timezone CST -1
hostname SanJose2
no ip domain-lookup

line con 0
logging synchronous
exit

interface serial 1/1
description SanJose2 to SanJose1
ip address 172.16.1.2 255.255.255.252
ipv6 address 2001:DB8:CAFE:1::2/64
ipv6 address fe80::3 link-local
no shutdown
exit

interface lo0
description SanJose2 interne network loopback
ip address 172.17.3.1 255.255.255.0
ipv6 address 2001:DB8:CAFE:33::1/64
ipv6 address fe80::3 link-local
no shutdown
exit

interface ethernet 0/2
description SanJose2 interne network 1
ip address 172.16.3.1 255.255.255.0
ipv6 address 2001:DB8:CAFE:3::1/64
ipv6 address fe80::3 link-local
no shutdown
exit

Step 2 - Configure EIGRP

SanJose1

router eigrp 10
no auto-summary
network 172.16.0.0 0.0.255.255
network 172.17.0.0 0.0.255.255
passive-interface lo0
passive-interface serial 1/0
passive-interface ethernet 0/2


ipv6 unicast-routing

ipv6 router eigrp 100
passive-interface lo0
passive-interface serial 1/0
passive-interface ethernet 0/2 
exit

interface serial 1/1
ipv6 enable
ipv6 eigrp 100
exit

interface lo0
ipv6 enable
ipv6 eigrp 100
exit

interface ethernet 0/2
ipv6 enable
ipv6 eigrp 100
exit

SanJose2

router eigrp 10
no auto-summary
network 172.16.0.0 0.0.255.255
network 172.17.0.0 0.0.255.255
passive-interface lo0
passive-interface ethernet 0/2


ipv6 unicast-routing

ipv6 router eigrp 100
passive-interface lo0
passive-interface ethernet 0/2 
exit

interface serial 1/1
ipv6 enable
ipv6 eigrp 100
exit

interface lo0
ipv6 enable
ipv6 eigrp 100
exit

interface ethernet 0/2
ipv6 enable
ipv6 eigrp 100
exit

Step 3 - Configure MP-BGP on ISP–EBGP

ISP

ipv6 unicast-routing

route-map NEXT-HOP-IVP6 permit 10
set ipv6 next-hop 2001:DB8:FEED:1::1
exit

router bgp 65100
bgp router-id 1.1.1.1
neighbor 192.168.1.2 remote-as 65000

address-family ipv4 unicast
neighbor 192.168.1.2 activate
network 10.1.0.0 mask 255.255.0.0
exit-address-family

address-family ipv6 unicast
neighbor 192.168.1.2 activate
neighbor 192.168.1.2 route-map NEXT-HOP-IVP6 out
network 2001:DB8:BEEF:1::/64
exit-address-family

exit

Step 4 - Configure MP-BGP on SanJose1–EBGP and IBGP

SanJose1

ipv6 unicast-routing

route-map NEXT-HOP-IVP6 permit 10
set ipv6 next-hop 2001:DB8:FEED:1::2
exit

router bgp 65000
!-- eBGP
bgp router-id 2.2.2.2
neighbor 192.168.1.1 remote-as 65100

!-- iBGP
neighbor 172.17.3.1 remote-as 65000
neighbor 172.17.3.1 update-source Loopback0

neighbor 2001:DB8:CAFE:33::1 remote-as 65000
neighbor 2001:DB8:CAFE:33::1 update-source Loopback0



address-family ipv4 unicast
neighbor 192.168.1.1 activate
neighbor 172.17.3.1 activate
neighbor 172.17.3.1 next-hop-self
network 172.16.2.0 mask 255.255.255.0
exit-address-family

address-family ipv6 unicast
neighbor 192.168.1.1 activate
neighbor 192.168.1.1 route-map NEXT-HOP-IVP6 out
neighbor 2001:DB8:CAFE:33::1 activate
neighbor 2001:DB8:CAFE:33::1 next-hop-self
network 2001:DB8:CAFE:2::/64
exit-address-family

exit

Step 4 - Configure MP-BGP on SanJose2–IBGP

SanJose2

ipv6 unicast-routing

router bgp 65000
bgp router-id 3.3.3.3
neighbor 172.17.2.1 remote-as 65000
neighbor 172.17.2.1 update-source loopback0
neighbor 2001:DB8:CAFE:22::1 remote-as 65000
neighbor 2001:DB8:CAFE:22::1 update-source loopback0

address-family ipv4 unicast
neighbor 172.17.2.1 activate
network 172.16.3.0 mask 255.255.255.0
exit-address-family

address-family ipv6 unicast
neighbor 2001:DB8:CAFE:22::1 activate
network 2001:DB8:CAFE:3::/64
exit-address-family

exit