Blog posts

Advanced BGP

Submitted by rayc on Tue, 02/01/2022 - 14:44

In my previous article, I went through the fundamentals of BGP and the basic configuration of configuring BGP peers and advertising networks. In this article I will delve a little into just how powerful BGP route manipulation can be. First, let's take a look at the 4 typical redundancy scenarios that an organisation might use to establish their connection to their Internet Service Provider. 

BGP Configuration

Submitted by rayc on Tue, 02/01/2022 - 14:44

In the previous article, I talked a little about BGP and how it works. This article will go through the configuration BGP using both IPv4 and IPv6 addressing. For this article, I will use the following topology.

BGP Configuration Topology

BGP Fundamentals

Submitted by rayc on Mon, 01/24/2022 - 14:07

BGP (Border Gateway Protocol) is the protocol of the Internet. BGP is designed to handle hundreds of thousands of routes unlike our IGP counterparts. Currently there are roughly 635 000 IPv4 routes on the internet. Could you imagine an IGP like OSPF running on an Internet router containing 635k routes? It would die if a link flapped. This is why BGP was created. Actually, there was an Internet routing protocol called EGP (Exterior Gateway Protocol) which was BGP's predecessor however it was replaced by BGP a long time ago. 

OSPFv3

Submitted by rayc on Wed, 12/15/2021 - 10:55

OSPFv3 is the updated version of OSPFv2 that has support for IPv6 addressing as well as IPv4. OSPFv3 is defined in RFC 5340. OSPFv3 differs to OSPFv2 in the following ways:

Configuring OSPFv2

Submitted by rayc on Wed, 12/01/2021 - 21:07

Okay, so now let's talk about how to configure OSPF. Configuring OSPF is just like configuring any other dynamic routing protocol. You first need to enable OSPF by configuring the OSPF process ID by using the global configuration command router ospf <process-id>. Once you have configured the OSPF Process ID, it is best practice to manually configure the OSPF Router ID using the router ospf configuration subcommand router-id <id>.

Multi-Area OSPF

Submitted by rayc on Tue, 11/30/2021 - 08:45

An OSPF area is a logical grouping of routers into a specific OSPF area (Area 0, the backbone area by default). Using a single area OSPF design has it's benefits in that it can simplify your network, however there are some drawbacks to using a single area when your OSPF network gets too large. 

OSPF Part 2

Submitted by rayc on Tue, 11/23/2021 - 19:44

In this part of the OSPF article, I will talk about OSPF Area types and also the specific LSA messages and where/how they're used. 

OSPF uses the concept of Areas to logically group routers together inside an AS. There are 5 different area types on Cisco OSPF routers.

  1. Backbone Area (This is always Area 0)
  2. Non-Backbone Area (Any other are other than 0)
  3. Stub Area 
  4. Totally Stubby Area
  5. Not-So-Stubby-Area (NSSA)

 

OSPF Part 1

Submitted by rayc on Tue, 11/23/2021 - 19:44

OSPF (Open Shortest Path First) is the IETFs replacement IGP for RIP and is a link state routing protocol. Link state routing protocols advertise all of the information about all links to all link state routers inside the AS. OSPF is a link state protocol thst uses Dijkstra's SPF algorithm to find the shortest path to a network. 

EIGRP Part 2

Submitted by rayc on Mon, 11/22/2021 - 21:24

Now that I've discussed the ins and outs of how EIGRP works, let's talk about the configuration of EIGRP.

Cisco routers support two methods of configuring EIGRP. There is the traditional method that supports IPv4 only, and the named EIGRP method that supports both IPv4 and IPv6 route using address families. Both the traditional and Named EIGRP configurations are backwards compatible with each other so you can configure each router in your topology in either method without any issues.