Skip to main content

BGP Lab topology for AS123 (part one 1)

 


> Topology Overview:

- Routers RG 31/32 - peering routers 

- Routers RR-10 / RR-20 - route reflectors

- Ps and PEs - core and customer connectivity


BGP CONCEPTS


> Pourpouse of BGP:

- interconnect between different AS (interdomain communication)

- widely used in Service Provider, Large Enterprise and Datacenter enviroments

- multihomed customers

- scalable 

- created with stability in mind


> Main considerations

- trust one one - eBGP filter advertisment in and out 

- policy based 

- multiprotocol support IPv4/6, VPNv4/6 and VXLAN

- reliable updates

- triggered updates only

- uses rich metrics/attributes


> Internal BGP

- neighbourship between two nodes in the same AS

- AS-PAth is not updated when sending to iBGP

- BGP Split-horizon is used to prevent the loops, iBGP updates are not forwarded to any other iBGP peer

- BGP next-hop is not changed

- used to carry partial of full table of internet routing prefixes


> External BGP

- neigborship between two nodes with different AS numbers

- when router receives a route with its own AS in the AS Path the information is discarded  (loop prevention)

- used to exchange prefixes with other ASes

- implements routing policies


> RFC 4456 / Route Reflectors

- removes the need for Full Mesh IBGP

- loop prevention is done using non-transitive attribute called CLUSTER_LIST and adding it is own ID to it

- when router receives update which CLUSTER_LIST contains router's own cluster ID the update is discarded.

- By default BGP Router ID value is used for cluster ID - has to be 32bit and can be changed i.e.: 0.0.0.1

- Multiple cluster IDs (MCID) feature allows to assign per-neighbor cluster IDs


> Possible scenarios of route reflection

- Between client and non-client

- Between clients in the same cluster (intra-cluster)

- Between clients in different clusters (inter-cluster)

Comments

Popular posts from this blog

Plumbing... QoS

Plumbing... QoS Rule no. 1: QoS doesn't create bandwidth. If the pipe is permanently too small, the only fix is a bigger pipe. What QoS does is decide who waits and who gets dropped when congestion happens. That makes it the right tool for short, recurring bursts of congestion, not for a chronic shortage of capacity. Most common problems to solve 1. Delay (latency): the time a packet takes to cross the network. Real-time traffic such as voice becomes unusable when one-way delay gets too high. 2. Jitter: the variation in delay between packets of the same flow. QoS reduces it by giving delay-sensitive packets a fast, predictable path through the queues. 3. Packet loss: QoS ensures that traffic which can tolerate loss (and recover from it, like TCP) is dropped before traffic that can't. 4. TCP global synchronisation: when a queue fills up and tail drop discards packets from many TCP flows at the same moment, all of those flows slow down together. The link is then underused until t...

Multicast - Part 1

Multicast is a communication method that lets a source send traffic to a group of receivers simultaneously. The source sends a single stream, and the network copies it only where the paths to the receivers split. Multicast relies on two protocols: Internet Group Management Protocol (IGMP) and Protocol Independent Multicast (PIM). IP multicast concept: - receivers use IGMP to tell their local router which multicast groups they want to join - routers use PIM to route multicast traffic between each other - only members of the group receive the traffic - a source sends traffic once to the group address, and all members receive it - a source doesn't need to be a member of the group to send traffic to it - a multicast group address is only ever a destination; the source address is always a unicast address IPv4 multicast address space Multicast uses 224.0.0.0 - 239.255.255.255 (224.0.0.0/4, formerly Class D), which includes: 1. 224.0.0.0 - 224.0.0.255 - Local Network Control Bloc...

Routing protocols - ISIS brief

What is IS-IS? - a link-state routing protocol defined in ISO/IEC 10589, originally designed as the routing protocol for CLNP (ISO 8473), the OSI connectionless network protocol - IPv4 support was added in RFC 1195 (Integrated IS-IS) and IPv6 support in RFC 5308 - runs directly over Layer 2, not over IP, but still uses OSI addresses (NETs) to identify routers. A side benefit: because it doesn't run over IP, it is hard to attack remotely - mostly popular in large ISP environments - similarly to OSPF, it runs the Dijkstra SPF algorithm - uses Hello packets (IIHs) to form and maintain adjacencies - uses a two-level hierarchy: Level 1 for routing within an area and Level 2 for routing between areas - elects a Designated Intermediate System (DIS), similar to the OSPF DR, but with no backup DIS - in general simpler than OSPF: fewer packet types, no LSA types to learn, no special area types (stub, NSSA), and TLVs make it easy to extend with new features Terminology - a router is an Interm...