BGP AS-Override Lab
Contents
Topology Interfaces Only
Topology With IP Addressing
Intro
If a BGP router recieves an update and sees its own AS number in the AS Path, it will not accept the prefix. This is how loop prevention works in eBGP. It works well but imagine a scenario where multiple customer sites connect to the service provider using the same AS number. When a prefix is advertised from CE1 in AS100, it goes into the provider network in a different AS and it’s then received by CE2 that also used AS100, the prefix will never be accepted into the BGP table. In this lab you’ll see this problem and fix it by using the BGP AS-Override feature.
Tasks
- Configure iBGP peerings between PE11 and PE12
- Configure eBGP peerings between PE11 and CE1.
- Configure eBGP peerings between PE12 and CE2.
- Use their directly connected links for each peering.
- On each CE router, advertise their loopback prefix into BGP.
- Use next-hop-self to fix any next-hop processing issues.
- Use the AS-Override feature so CE1 and CE2 accept eachothers Loopback prefix in their BGP tables.
- There must be full reachability between the CE's Loopbacks.
Download Lab
Initial Configs
conf t
host PE11
no ip domain-lookup
line con 0
logg syn
int g0/0
no sh
ip add 10.10.111.11 255.255.255.0
int g0/3
no sh
ip add 10.10.10.11 255.255.255.0
conf t
host PE12
no ip domain-lookup
line con 0
logg syn
int g0/0
no sh
ip add 10.10.212.12 255.255.255.0
int g0/3
no sh
ip add 10.10.10.12 255.255.255.0
conf t
host CE1
no ip domain-lookup
line con 0
logg syn
int g0/0
no sh
ip add 10.10.111.1 255.255.255.0
int lo1
ip add 1.1.1.1 255.255.255.255
conf t
host CE2
no ip domain-lookup
line con 0
logg syn
int g0/0
no sh
ip add 10.10.212.2 255.255.255.0
int lo2
ip add 2.2.2.2 255.255.255.255
Solution
Hope you enjoyed this lab. If you have questions or need any help at all please leave a comment below and I’ll get back to you.
Got Questions?
Any questions or comments feel free to send me an email at rafael@networkengineerpro.com and I’ll get back to you when I can.