Showing posts with label bgp. Show all posts
Showing posts with label bgp. Show all posts

31 Dec 2009

VRRP Lab

A fictional company "Kasifler", has connections to two different Service Providers, Avea (Primary) and Vodafone (Secondary).

Router R4 is the PE router for Avea and depicts the Avea network, included are some loopback networks.
Router R5 is the PE router for the Vodafone network which also has loopback interfaces to simulate networks inside Vodafone, or the Internet.

Remaining routers, R0 through R3 belong the our company Kasifler. R0 is really used for a client and test bed to control reachability to the inside/from the outside.

Our primary router R1 is connected the VRRP master, R2 and R3 being backup VRRP routers. They all have their WAN interface "tracked" and in a failure situation this is the prefered fail-over : R1 -> R2 -> R3

There is also BGP peerings with our providers, becareful not to be a transit network here! (Demonstrated with some as-path route maps)

Take down interfaces from R4 -> R1 or R4 -> R2 to test the VRRP action.


Link to Project file on Filefront

28 Oct 2009

BGP Best Path Selection

1) Weight (highest)
2) Local Preference (highest)
3) Self Originated
4) AS_PATH
5) Origin
6) MED (highest)
7) External Route (EBGP over IBGP)
8) IGP Cost
9) RID (lowest)
10) Neighbor IP address (lowest)

BGP Case Studies @ Cisco

BGP Attributes

Well-known Mandatory
Origin
AS-Path
Next-Hop

Well-Known Discretionary
Local-Preference
Atomic aggregate

Optional Transitive
Community
Aggregator

Optional Nontransitive
MED (Multiexit Discriminator)

BGP Case Studies @ Cisco