4th Bullet Item
4th Bullet Item
To understand the problem that a BGP route server solves, we must understand the two different
peerings between SPs.
1. Private Peering:
The two SPs that need to connect decide on a location where their networks can connect
and negotiate a contract that details their peering.
2. Public Peering:
Also called NAP (Network Access Point), or IXP (Internet Exchange Point). They provide
a physical location that provides a Switched infrastructure, Cooling, Electricity, Rack
Space and etc. SPs take their border router and connect it to this Switched Infrastructure
and establish a single peering with the Route Server.
On R1:
On R2:
R2(config)#router bgp 200
R2(config-router)#nei 1.1.1.1 remote 100
R2(config-router)#nei 1.1.1.1 up lo0
R2(config-router)#nei 1.1.1.1 ebgp 2
On R3:
On R4:
On R1:
R1#sh ip bgp summ | b Nei
Let's configure the route server and configure R2, R3 and R4 as a route Server Client:
On R2:
Notice, the second R2 advertises its Lo1 interface we get a console message stating that a
"Malformed attribute received from 1.1.1.1. By default, BGP speaking routers are configured to
deny and discard an update received from an eBGP peer that does not list its ASN at the
beginning of the AS_PATH in the incoming update.
Basically, this is a Security feature in BGP, R2 advertised its Lo1 to R1 and prepended its ASN.
R1 received the path and advertised it to R3, and R4. But since the route server is transparent, it
didn't include its ASN, and since R2, R3, and R4 have a peering with R1 and no one else, they
didn't see R1's ASN in the AS-Path list.
On R2:
R2(config)#router bgp 200
R2(config-router)#no bgp enforce-first-as
On R3:
R3(config)#router bgp 300
R3(config-router)#no bgp enforce-first-as
On R4:
R4(config)#router bgp 400
R4(config-router)#no bgp enforce-first-as
On R3:
R3#sh ip bgp | b Net
On R4:
R4#sh ip bgp | b Net
On R3:
R3(config)#router bgp 300
R3(config-router)#netw 31.0.0.0
On R4:
R4(config)#router bgp 400
R4(config-router)#netw 41.0.0.0
To verify:
On R1:
R1#sh ip bgp | b Net
On R3:
R3#sh ip bgp | b Net
On R4:
R4#sh ip bgp | b Net