Posts

Showing posts from September, 2016

OSPF LSA Types: Practical Guide for Network Engineers

Image
OSPF LSA types are the building blocks of the OSPF link-state database. This older note is a quick reference for the main LSA numbers and where they are normally seen in a routing domain.

OSPF Packet Types

OSPF is an open-standard, classless routing protocol that converges quickly and uses cost as a metric. It encapsulates the five different types of OSPF messages inside IP packets, using IP protocol 89. OSPF (Open Shortest Path First) is a link-state routing protocol. It means, that every router builds a database of connected links and their properties. Then, that knowledge is exchanged between all the routers in a given area - so that all the routers know about all the links and their properties. IETF OSPF working group was created in 1987. RFC 1131 was the first protocol specification and was published in 1989. The more important OSPF specifications include: RFC 1131, "OSPF specification" - initial revision RFC 1247, "OSPF Version 2" - corrects most OSPFv1 drawbacks. Not backward compatible. RFC 1587, "The OSPF NSSA Option" - includes not-so-stubby area specification. RFC 1850, "OSPF Version 2 Management Information Base" ...

BGP redistribution rules

Image
Redistributing BGP into IGP and vice versa we need to remember about few rules that can be tricky. IGP into BGP : 1) BGP automatically copies IGP metric to BGP 2) Origin attribute ( LINK ) will change to "?" - incomplete 3) Will not redistribute OSPF external by default. BGP is not redistributing OSPF ext because of loop prevention. If some prefix has been  redistributed before from BGP int OSPF they will appear as OSPF ext, redistributing them back again into BGP will cause loops. This is default set up. To change that you need to configure router bgp X redistribute ospf Z match internal external 4) Sets weight attribute  to 32768 BGP  into IGP  To be honest I have never seen this kind of redistribution  in practice. And that logical because there is no IGP who can handle (at this moment 16.09.2016) 655782 prefixes! BTW here we can check what is current status of BGP table : http://bgp.potaroo.net/index-bgp.html and history...