Category: Routing

OSPF Type 5 LSA

OSPF uses the Type5 external link LSAs to advertise external routes originated from an ASBR. They are flooded through the whole OSPF domain (at least into the parts where they are accepted) and point packets for those external addresses to the ASBR. There is a field called Forward Address within that Type5 LSA, which is usually set to 0.0.0.0 which means that the packets should be sent directly to the ASBR.

Continue reading

HSRP Pitfall

Ah well during my changes to our VPN deployment I got into a nice pitfall with HSRP. To define our default router, we use HSRP Tracking which works quite fine but on one location I accidentally forgot to change the tracking onto the new VPN tunnel while I deleted the old one. Not that bad since the traffic took the second path we have. So I went onto the router to change the tracking and well here we go.

Basically the configuration was like this:

R6#sh run int fa 0/0
!
interface FastEthernet0/0
 ip address 116.1.1.1 255.255.255.0
 duplex auto
 speed auto
 standby 1 track Tunnel10 25
 standby 1 ip 116.1.1.3
 standby 1 priority 120

Continue reading

OSPF Network Command

The OSPF network command is used to activate OSPF on the specified interfaces. Specifying an interface with the command will include the interface into the OSPF routing process. On broadcast and point-to-point network types, the router will automatically start the neighbor discovery process by sending hello packets to the AllSPFRouters multicast address (224.0.0.5) after an interface has been integrated into the OSPF process.

If there’s another OSPF router on that link and their Hello packets match, they will try to form an adjacency but that’s another story.

Continue reading

BGP Path Attributes I

The BGP path attributes are the characteristics for all BGP advertised routes. Additionally to the necessary informations to perform basic routing , the path attributes allow BGP to set routing policies and advertise them. Each attribute is a member of one of the following categories:

  • Well-known mandatory – This attribute has to be known and implemented by all BGP implementations
  • Well-known discretionary – This attribute has to be known by all BGP implementations, but does not have to be sent in an update message.
  • Optional transitive – This attribute does not have to be known by all BGP implementations but the BGP prozess has to accept the path within the attribute is found and forward it to other BGP peers, even though the BGP process doesnt know the attribute.
  • Optional non-transitive – An update with an attribute from this category can be ignored. The router does not have to advertise this route nor the path to its peers.

All examples in this document will use the following diagram

Continue reading

IE Blog: understanding redistribution

If you want to have a good read about understanding redistribution, you should check out the Internetwork Experts Blog. Petr Lapukhov wrote an excellent guide about the topic providing rules of thumb, informations about problems with redistribution and on how to solve them. The document is split in three parts linked below. Have fun :)

Part I
Part II
Part III