This post compares how the two protocols hold their routing information in their link state databases. The way these protocols encode the routing information in their database, affects their behavior in how they flood/distribute the change of routing information and the internal implementation complexity.
OSPF
- Organization of Routing Information
OSPF encodes the routing information into small chunks, which it calls Link State Advertisement (LSA). Each LSA has its own 20-byte header in order to be identified uniquely. This header is called the LSA Header. There is no limitation on the size of a LSA, though the actual LSA size is limited by IP packet size limitation: 65,535 bytes minus the LSA Header size and IP packet header size. The database access in OSPF is per LSA basis.
In OSPF routing, the information within an area is described by type 1 and type 2 LSAs (known as Router-LSA and Network-LSA respectively). These LSAs can become big depending upon the number of adjacencies to be advertised and prefixes to be carried inside an area. In other words, the routing information with respect to a single node (either router or network node) is encoded inside a single LSA. On the other hand, each inter-area or external prefix is advertised in a separate LSA (AS-External LSA).
An OSPFv2 router may originate only one Router-LSA for itself, while in OSPFv3, a router is allowed to originate multiple Router-LSAs. A router may originate a Network-LSA for each IP subnet on which the router acts as a DR. A router may originate one LSA for each inter-area and external prefix, with no limitations on the number of LSAs that it may originate.
Consequences
Originating a new and a unique LSA for each inter-area route and an external prefix implies that there is a LSA Header overhead involved while the information is kept in the database or is flooded to the neighbors. There is thus some extra memory and bandwidth consumed in total.
Carrying Routing Information
LSAs are carried in Link State Update packets (called LS Updates or LSUs). Each LS Update packet has its own header, consists of a 24 byte OSPF protocol header, and a 4-bytes field indicating the number of LSAs contained in the packet. Thus multiple LSAs can be packed into a single LS Update packet. Some implementations may not do this as its considered difficult achieving this during flooding.
Consequences
In the face of network changes, OSPF floods only the updated LSAs. Therefore, even if an implementation does not pack multiple LSAs into a single LS Update packet (and so bandwidth is consumed by LS Update header for each update of a single LSA), the bandwidth consumption for each network change can be considered adequately small.
IS-IS
Organization of the Routing Information
In IS-IS, protocol packets are called Protocol Data Units or PDUs. IS-IS encodes the link state information into the set of TLVs and packs these TLVs into one or more Link State PDUs (LSPs). The size limit of a LSP is configurable. The Routing database consists of these PDUs and the access to the database is per PDU basis. The original IS-IS specification places an upper bound on the number of LSPs a router can originate to 255. There are however techniques which enable a router to originate more than 255 LSPs, by using multiple system-id's for itself.
Consequences
Since routing information in IS-IS for each router is packed in fewer LSPs, the memory consumed for bookkeeping of the routing data within the database is less and is more efficient.
Carrying Routing Information
Each LSP is flooded independently, without being modified all the way from the originator through the routers till the very end. This results in all the routers having the same LSPs as that originated by the first router.
Consequences
Since LSPs are not modified in any way and are not allowed to be fragmented, in order to be flooded successfully over all links existing in the IS-IS network, great care must be ensured when configuring the size limit of LSP that routers can originate and receive.
If the size limit of the LSP is set without taking into account the minimum value of the MTUs throughout the network, or if the size limit of LSPs conflict among some the routers in the network, the database synchronization may not be achieved, and this can result in routing loops and/or blackholes.
When a change occurs to a LSP, the whole LSP needs to be flooded, and therefore the bandwidth usage can be non-optimal. There is however a solution which exists in theory. If an implementation finds some of the entities to be flapping, then they may be packed into smaller LSPs or may be isolated from the other stable entities. This way one needs to only advertise the unstable LSP/LSPs. I have not btw come across any implementation that does that. Leave a comment if you know one that does this!
Database granularity also affects when two routers need to synchronize their databases. In OSPF, because of its high database granularity there are a lot of items which it needs to synchronize and that process is somewhat complicated with a lot of DBD packets being exchanged back and forth. This gets worse if the router trying to sync is being inundated with a lot of other data traffic also. This is not much of an issue these days as any router worth its salt would prioritze the OSPF control packets.
This is however much simpler in case of IS-IS and there isn't any FSM that the neighbors need to go through to synchronize their databases. It just uses it regular flooding mechanism (a couple of CSNPs describe their entire topology information) to exchange its entire database. You plug in the new IS-IS router and before you realize the router is already sync'ed up with all the other IS-IS routers in the network!
Subscribe to:
Post Comments (Atom)
8 comments:
You should be tasting the steak, though, not the seasoning. [url=http://www.vanessasac.com]vanessa bruno cuir[/url] sacs vanessa bruno pas cher
[url=http://www.canadagoosessoldeparis.fr]Doudoune Canada Goose[/url] "The album was conceived as a book, with each song representing a chapter that opens a dialogue between Sean [Lennon] and me," she explains.
[url=http://www.parkaoutelt.ca]canada goose jackets[/url] Tremor by penalties or scares or by parasites. [url=http://www.beatsbydrdresoldesfrance.com]beats by dre[/url]
The bandeau top offered is pleated and molded. [url=http://www.vanessasac.com]http://www.vanessasac.com [/url] sac cabas vanessa bruno
[url=http://www.canadagoosessoldeparis.fr]Doudoune Canada Goose[/url] So this last week I was having a chat to a craft magazine editor and also a commissioning editor for a publishers wishing them both a Happy New Year.
[url=http://www.parkaoutelt.ca]canada goose chilliwack bomber[/url] The new comedy starring teenage sensation Zac Efron is being highly appreciated by the youth, adults and movie goers all round. [url=http://www.beatsbydresoldesa.fr]casque beats by dre pas cher[/url]
On some of these websites, the users are encouraged to create a different look and a panel of judges decides the winner and the best out of all gets a chance of an internship or a chance to meet their favorite designers. [url=http://www.vanessasac.com]cabas vanessa bruno[/url] sac vanessa bruno
[url=http://www.canadagoosecaoutlet.ca]Canada Goose outlet[/url] Place 1-3 pages of the Phone Log form behind each student's Contact Information page.
[url=http://www.parkaoutelt.ca]canada goose toronto[/url] Once previously she had taken a cruise, three weeks through the Greek Islands with a full crew. [url=http://www.beatsbydresoldesa.fr]http://www.beatsbydresoldesa.fr[/url]
If you interfere in it, then you will be interfering in a decision of your boss about something that does not involve you. [url=http://www.vanessasac.com]vanessa bruno cuir[/url] vanessa bruno paris
[url=http://www.canadagoosecaoutlet.ca]http://www.canadagoosecaoutlet.ca[/url] Because its soft it scratches easier (so you'll be back to see them quicker) Look for optical shops that use newer generation lens materials like Trivex.
[url=http://www.parkaoutelt.ca]canada goose chilliwack bomber[/url] There is something called a loafer that I think men should look into. [url=http://www.pandorajeweluk.co.uk]pandora jewellery[/url]
They are also stain resistant and can be assembled in any way you like. [url=http://www.vanessasac.com]vanessa bruno cuir[/url] sacs vanessa bruno prix
[url=http://www.canadagoosecaoutlet.ca]Canada Goose Chilliwack Bomber[/url] Bon appetit! Are you ready for the challenge? Check out all of our fun and frugal assignments here ..
[url=http://www.parkaoutelt.ca]canada goose jacket[/url] Hang your shoes on a tree Do yourself a favor: Use shoe trees with any good pair of leather shoes; they make your shoes last that extra mile. [url=http://www.pandorajeweluk.co.uk]http://www.pandorajeweluk.co.uk[/url]
Vitamin E foot guard frost or capsule. [url=http://www.vanessasac.com]vanessa bruno sacs[/url] sac lune vanessa bruno
[url=http://www.canadagoosecaoutlet.ca]http://www.canadagoosecaoutlet.ca[/url] Of course there are a lot of things and circumstances that can lead to panic attacks.
[url=http://www.parkaoutelt.ca]canada goose jackets[/url] There appears to be an increasing number of self-styled gurus professing to know exactly how to drive that precious traffic right through your site. [url=http://www.beatsbydresoldesa.fr]beats by dre pas cher[/url]
Thats the reason it is especially significant to discover how it appeared, developed and also what can we be expecting in the future. [url=http://www.vanessasac.com]vanessa bruno sac[/url] sac vanessa bruno en lin
[url=http://www.dresshotsale.co.uk]vintage evening dresses[/url] Most of it comes from china, although cheaper import hot ordeal comes from men who lure in india or pakistan.
[url=http://www.ithomasuk.co.uk]thomas sabo [/url] But big school took two parties as junior prom party and . [url=http://www.beatsbydresoldesa.fr]http://www.beatsbydresoldesa.fr[/url]
Bassist Ed Beeler started Ashes to Ashes in the mid-'90s after brief stints as a DJ at several Pittsburgh radio stations. [url=http://www.vanessasac.com]boutiques vanessa bruno [/url] sac vanessa bruno en ligne
[url=http://www.dresshotsale.co.uk]ladies evening dresses[/url] This simple style bag not only helps you to save time but also save money.
[url=http://www.ithomasuk.co.uk]thomas sabo [/url] Feel free to use a keyboard to communicate but why when you can talk wirelessly.. [url=http://www.beatsbydresoldesa.fr]http://www.beatsbydresoldesa.fr[/url]
Post a Comment