Advertisement

Featured Posts

Friday, 3 November 2017

OSPF LSA(Link State Advertisement) | Explained In Simple Terms.

- 10 comments
OSPF LSA(Link State Advertisement)

Explaining OSPF LSA(Link State Advertisement)

Guyz we have already learned what is OSPF in my previous post just in case you haven't here is the link(OSPF), because to learn OSPF LSA(Link State Advertisement) you need to know OSPF. Also,  before we start with LSA we need to know some important OSPF terminologies.

Explaining OSPF Terminologies To Understand LSA(Link State Advertisement).

Here are the two important terms you need to know before understanding OSPF LSA:-
Link- A link can be a physical component or logical component. A physical link is like a router interfaces or nodes that provides a connection between two devices(routers) and when the link is used to connect to networks and has been assigned an IP address then that is a logical link.

Topological Database-  The information in the LSA packets that are received from the routers in an area is stored in the Topological database in the form tables. These formations from the topological database are used by the router to input it into Dijkstra algorithm for calculating the shortest path to the remote network. Also, the link state advertisements are used to maintain and update the topological database.

LSA Flooding- OSPF uses this method to distribute routing information via link-state updates(LSU) packets that contain the link status so that all the OSPF routers have the same topology map.

Designated Routers-  When OSPF routers are connected to the same broadcast networks, then an election is done on the basis of priority level and the one having the highest priority is selected as a designated router, also referred as DR and the objective of DR is to minimize the number of adjacencies formed and also, it is used to distribute the received routing information to the remaining routers and from the remaining routers on the broadcast network or link.

Backup Designated Router- As the name suggests, it is a backup or a hot standby for DR. Though BDR gets all the routing information from the OSPF adjacent routers but it will not disperse the LSA updates like DR does. But when the DR is down BDR will start giving the routing updates.

Area Border Router(ABR)- ABR concept is used when the routers are in two different areas ie in multi-area OSPF configuration. ABR routers are those routers that are at the border between an OSPF area and a backbone area(area 0). So In simpler terms, ABR is the member of both an  OSPF area and the backbone area. 

Autonomous System Boundary Router(ASBR)- ASBR concept is used to bring the connectivity between routers in an OSPF domain and routers running different routing protocol by using Autonomous System. So basically ASBRs are those routers that are members of both OSPF as well as the other routing protocol

Now getting back to our main topic of discussion, what is OSPF LSA(Link State Advertisements).

What Is (LSA)Link State Advertisement?

We are already aware that unlike Eigrp and RIP that uses routing by rumor, OSPF does routing by intelligence. Why intelligence because OSPF keeps track and keeps verifying the status of the links within their respective areas. The link status is stored in the LSA and if by chance a link is down, then the OSPF has to recalculate the whole route by rerunning the SPF algorithm, which consumes CPU.

In Simpler terms, an LSA(Link State Advertisement) is OSPF data packet that contains the link status and the routing information taken from the neighbor of all the routers in an area. Also, one important thing I must tell you is that an OSPF  will only exchange LSA packets with a router to which it has form adjacencies.

Now let's talk about what are the different types of OSPF LSA(Link State Advertisements).

What Are The Types Of  LSA(Link State Advertisement)?

There are 5 types of  OSPF LSA(Link State Advertisement) and each type has an important role to perform in propagating routing information. 
  • Type 1(Router LSA)-  All the links that are local to a router along with their status and the cost of those links are listed in Type 1 LSA. All the OSPF routers generate this LSA and then it is flooded to all the routers within the same area.
  • Type 2(Network LSA)- This Type of LSA is generated by the designated router(DR)  which contains the list of all the routers attached to it.
  • Type 3(Network Summary link LSA)-  This type of LSA is generated at an area by ABR and then they forward it to the other OSPF areas connected to the backbone area, so unlike Type 1 and Type 2, this LSA crosses boundaries and carry information send by one ABR at one end to other ABR at the other end of the boundary via backbone area. These LSAs contain a summary of network and link of the OSPF area along with the IP address and RID of the ABR that is generating and advertising the Type 3 LSA.
  • Type 4(ASBR Summary LSA)- This type of LSA is generated by ABRs and then they forward this to the area external to the one in which they were generated much like how is done in LSA Type 3, but there is a big difference and that is, this type LSA is specifically used to inform the rest of the OSPF areas how to get to ASBRs. 
  • Type 5(AS External Link LSA)- This LSA is generated and advertised by ASBRs that contains the information of the routes external to the OSPF and are flooded everywhere. A type 5 LSA is generated for each individual external network that ASBR advertises.
Also Read This Hot Topic:- What Is OSPF?
Also Read This Hot Topic:- Eigrp Vs OSPF

So, guys, this is the end of my explanation for the topic what is OSPF LSA(Link State Advertisement). I have explained this complicated topic at the best of my capabilities, so if you'll like my explanation please share it and follow me on facebook or google plus for more. Also If you have any questions or doubts please comment it down below. See you guyz soon...

Saturday, 28 October 2017

EIGRP Vs OSPF- Protocol Showdown

- 13 comments
EIGRP Vs OSPF

EIGRP Vs OSPF is the hot concern for network admins when they are confused which protocol they should use in their enterprise. If you certainly look at the fact both these protocols are very good, both have high convergence rate, use up less bandwidth and are free from loops. Then what are the real points that make these two so distinguishable from each other, those points are my concern in this session. Also for this topic, you need to know what is EIGRP AND OSPF.  



In this EIGRP Vs OSPF topic, I will consider all the main advantages and disadvantages of these two protocols and pit them against each other to see which one fairs better. So let's get started.
  • Starting with my first point, EIGRP is a Cisco Proprietary so it can only be used in Cisco routers, but what if there are multiple vendor routers, in that case, we will have no choice but to use OSPF which is an open standard protocol and can be used by other vendors as well. 
  • Now talking about implementation, Implementing OSPF is a little bit more challenging as compared to EIGRP,  as OSPF involves areas for dividing the network, the network administrator should have a solid understanding of data communication and network in order to make OSPF run well. But since OSPF is getting more and more popular this could not be considered a big problem anymore.
  • OSPF is specially designed for larger networks, as it has unlimited hop count, unlike Eigrp which has hop count limit of max 255(100 by Default). Hop count here means to how many routers it can send routing information. This one is a severe drawback for EIGRP protocol and that is why it can not be implemented in larger networks where thousands of routers are concerned. 
  • Eigrp uses Dual(Diffusing Update Algorithm) Algorithm, due to this, it also maintains a Feasible Successor(backup) route along with Successor one in its topological database, so whenever a route is down it will automatically use the feasible successor as a route to reach the destination so no need to rerun the algorithm again and hence saving CPU consumption. Whereas in OSPF if the route goes down it has to rerun the SPF algorithm again and recalculate the route and hence here CPU consumption is considerably more. 
  • OSPF does not support auto-summary, you will have to manually summerise each network, whereas Eigrp supports auto-summarization by default, you can disable auto-summarization to enable manual summarization.
  • Since Eigrp is Advance Distance vector Protocol, it uses Routing-by-Rumour approach ie there is no authenticity to the routing information from the neighbor router about the network. Whereas in OSPF, which is a link state protocol, checks the routing information contained in the topological table in form the LSA's(Link state Advertisement). 
  • Eigrp has an Administrative distance of 90(Internal Eigrp) and 170(External Eigrp) whereas OSPF has an AD of 110.
  • Eigrp Supports IP multiple protocols like IP, IPx and AppleTalk, whereas OSPF only supports IP.
  • Eigrp Supports both Equal and Unequal cost Load balancing whereas OSPF only supports Equal cost load balancing.

EIGRP Vs OSPF:- Verdict

I think the network administrator should absolutely go with using OSPF protocol, as he won't have to worry that all the routers should be of Cisco. Also, OSPF is suitable for large enterprises where thousands of routers are involved. But if the company is of small-scale and all the routers are of Cisco then definitely using Eigrp will be more suitable, as Eigrp is less complex to implement and has more convergence rate then OSPF.

So I think choosing which protocol to use depends upon the situation or scenario you are facing. I am very sure that this Article of EIGRP VS OSPF will help the administrators to choose the protocol suitable for them

So I guess this is it in this article of EIGRP Vs OSPF. If you guys have some suggestions for this post, write it down in the comment section, also after reading this article don't forget to share and subscribe...As sharing is caring!!

Friday, 27 October 2017

What Is OSPF In Networking- Top Standout Characteristics

- No comments
What Is OSPF In Networking- Top Standout Characteristics

Explaining OSPF In Networking-

Guyz we have already learned Eigrp and its various terms and characteristics in our previous sessions. So this session is dedicated to learning OSPF in networking. So let's begin.

OSPF in networking stands for open shortest path first and is a link state protocol which uses the shortest path first algorithm(SPF) also called as Dijkstra's algorithm to find the best path. OSPF is open standard protocol and so this protocol is currently being used by many vendors including Cisco. This open standard characteristic of OSPF helps in connecting two different routers from different vendors and that makes it very popular and flexible.



OSPF uses an area for employing hierarchical network design, so the routers will only communicate and form adjacency neighbor relationship with routers in the same area, this characteristic of OSPF in networking is also called as single area OSPF.
Note:- You can also form neighbor relationship with routers in different areas using backbone area also called as area 0, since its a lengthy topic  that would need a whole another dedicated session.
Since OSPF is a link state protocol it doesn't advertise distance to the directly connected networks, instead, it sends the link status to the neighbors using link-state advertisement(LSA's). Remember OSPF also sends change triggered update, it sends updates(LSA's), when there is a change to one of its link status.

OSPF maintains three main type of table-
  1. Routing Table- Contains only the best route to the remote networks
  2. Topology Table- Contains list of all the possible routes to all the known network 
  3. Neighbor Table- Contains list of all the neighboring routers along with their router ID

  OSPF In Networking- Top Standout Characteristics And Features

  • OSPF supports both IPv4 and IPv6 networks
  • The administrative distance of OSPF is 110
  • It is link state protocol that uses cost as its metric which is calculated on the basis of bandwidth of the link.
  • OSPF is an open standard protocol that uses SPF also called as Dijkstra's algorithm for path selection
  • Unlike Eigrp which has limited hop count for sending routing updates, OSPF has unlimited hop count and its the better solution for big enterprise whereas thousands of routers are involved.
  • OSPF uses an area to identify routers using common routing strategy.
  • It minimizes routing update traffic, as the update is change triggered not a periodic one.
  • OSPF uses multicast address either of 224.0.0..05(For all OSPF routers)  or 224.0.0.6(All designated routers).
  • OSPF supports VLSM and CIDR
  • OSPF is open standard protocol and hence it supports multiple vendors.
  • It only supports manual summary, There is no auto-summary in OSPF.
The above mentioned are the main standout characteristics of OSPF in networking. Learn it and you are good to go for an interview. Also In my next session, I will explain some important terms of OSPF like LSA's and etc. So guys after reading this if you have some doubts or question ask me in the comment section. Also, don't forget to share and subscribe for more such awesome posts. See you guys in next class.

Monday, 23 October 2017

What is Split Horizon In Eigrp?

- No comments
 Split Horizon In Eigrp

Explaining Split Horizon-

Split horizon is used to prevent routing loops, suppose if an interface receives a routing update from a neighbor router, split horizon prevents this receiving interface to advertise it back to the neighbor router who sent them.



In simpler terms Split horizon mechanism transmits the packet to all the attached nodes, except  which has send the update. Also you don't have to enable split horizon or anything, it is by default enabled on the interfaces of Cisco Routers. This feature is mostly used by dynamic routing protocols especially by RIP,IGRP and EIGRP etc. 

To See if the split horizon is enabled on particular interface or not use command:-

R1#sh ip int s0/0/0

OUTPUT------------------------------------------------------------->

Serial0/0/0 is up, line protocol is up (connected)
Internet address is 172.168.40.1/24
Broadcast address is 255.255.255.255
Address determined by setup command
MTU is 1500
Helper address is not set
Directed broadcast forwarding is disabled
Outgoing access list is not set
Inbound access list is not set
Proxy ARP is enabled
Security level is default
Split horizon is enabled

Even though split horizon plays such an important role by being helpful in avoiding stupid confusing loops, but still there are certain cases where it cause problems too. After hearing my this claim you must be thinking, how can this cause a problem? After all, it seems reasonable not to send misinformation back to the originating router. Well, you see split horizon creates lots of problem when we are dealing with point to multi-point links, such as Frame Relay, also when multiple remote routers are connected to a single interface. But there is a solution to this, that we can use logical interfaces called sub-interface concept that we will learn when I will take vlan topic.

Guyz if you have any doubts on split horizon ask me down in the comment box I will answer it immediately. 

Saturday, 21 October 2017

How To Enable EIGRP Authentication using Key chain

- No comments
EIGRP Authentication using Key chain

EIGRP Authentication using Key chain- It is the most effective way of providing security and it also helps in easily isolating unwanted network to which we don't want traffic to go. By enabling eigrp authentication on router means breaking the adjacency neighbor relationship, as we already know to form neighbor relationship authentication must be successful.


So in this article I will explain how to enable eigrp authentication and for that I require a scenario. So down below is the scenario along with the diagram, so lets get started.

 EIGRP Authentication using Key chain


SCENARIO:- The network Admin want to establish a key chain authentication between Mumbai router and the remote sites in Pune and Hyderabad. This is an Output from Mumbai:-
Note: I have already configured all the three routers with Eigrp(Without authentication).
Mumbai#sh ip eigrp neighbors
IP-EIGRP neighbors for process 10
H      Address             Interface        Hold   Uptime     SRTT         RTO     Q       Seq
                                                             (sec)                    (ms)           Cnt              Num
0      172.168.20.1      Se0/0/1         14        01:26:59      40           1000     0        7
1      172.168.40.2      Se0/0/0          9         01:26:56      40           1000     0        7

To Enable Eigrp Authentication Configuration step by step explanation:- 

Setting key chain On Mumbai Router---->

STEP No 1:- Enter The global Config mode
                     Mumbai#configure terminal

STEP No 2:- Now We will create a key chain, because before we can enable eigrp authentication we need to create at least one key chain and a key. So I am creating a key chain with name MYCHAIN
                     Mumbai(config)#key chain MYCHAIN

STEP No 3:- Now specifying  a key number ie 10 in this example. Also Note that it is highly recommended that you should you use same key number on all the routers.
                     Mumbai(config-keychain)#key 10

STEP No 4:- Now write down the key-string for the key. I am using "cisco" in this example.
                     Mumbai(config-keychain-key)#Key-string cisco

STEP No 5:- End the configuration by using command end.
         Mumbai(config-keychain-key)#end

Now to enable Eigrp authentication using key chain on the Mumbai router, we need to specify which at interface you want authentication to be enabled.

Note; When the authentication is enabled that particular port will stop receiving routing messages from its peers until they are also configured for the same.

STEP No 1:- Enter The global Config mode
                     Mumbai#configure terminal

STEP No 2:- Specify at which interface you want to enable eigrp authenication,so as per this example we have to set it at interface se0/0/0 as well as interface se0/0/1. First I will do this with se0/0/0.
                     Mumbai(config)#interface se0/0/0

STEP No 3:- Now enable eigrp authentication with md5 algorithm. Here 10 is the autonomous system of the eigrp. 
                     Mumbai(config-if)#ip authentication mode eigrp 10 md5

STEP No 4:- Now specify the key- chain you want to use for authentication. In this the name is MYCHAIN. Here also 10 is the autonomous system.
                      Mumbai(config-if)#ip authentication key-chain eigrp 10 MYCHAIN

STEP No 5:- End the configuration by using command end.
         Mumbai(config-keychain-key)#end

Now do the same configuration of key chain authentication on Mumbai router interface Se0/0/1.
Mumbai#configure terminal
Mumbai(config)#interface se0/0/1
Mumbai(config-if)#ip authentication mode eigrp 10 md5
Mumbai(config-if)#ip authentication key-chain eigrp 10 MYCHAIN
Mumbai(config-keychain-key)#end

Setting key chain On Pune Router---->
All the steps will be same,so without explaining I will just write the commands.

Pune#configure terminal
Pune(config)#key chain MYCHAIN
Pune(config-keychain)#key 10
Pune(config-keychain-key)#Key-string cisco
Pune(config-keychain-key)#end

Now Enabling Eigrp authentication key on the Pune router interface se0/0/1, All the steps will be same,so without explaining I will just write the commands.

Pune#configure terminal
Pune(config)#interface se0/0/1
Pune(config-if)#ip authentication mode eigrp 10 md5
Pune(config-if)#ip authentication key-chain eigrp 10 MYCHAIN
Pune(config-keychain-key)#end

Setting key chain On Hyderabad Router---->
All the steps will be same,so without explaining I will just write the commands.

Hyderabad#configure terminal
Hyderabad(config)#key chain MYCHAIN
Hyderabad(config-keychain)#key 10
Hyderabad(config-keychain-key)#Key-string cisco
Hyderabad(config-keychain-key)#end

Now Enabling Eigrp authentication key on the Hyderabad router interface se0/0/0, All the steps will be same,so without explaining I will just write the commands.

Hyderabad#configure terminal
Hyderabad(config)#interface se0/0/1
Hyderabad(config-if)#ip authentication mode eigrp 10 md5
Hyderabad(config-if)#ip authentication key-chain eigrp 10 MYCHAIN
Hyderabad(config-keychain-key)#end

CONCLUSION--

Once all the steps to enable eigrp authentication is done, they will start sending and receiving routing updates and messages again and the eigrp neignbor relationship will establish. If you want to verify all this in real time just use debug eigrp packets command in privilege mode. 

Also comment down below, if you have any question regarding How To Enable EIGRP Authentication using Key chain I will try to answer at my best of capabilities.

Friday, 20 October 2017

EIGRP Redistribution With Different AS(Autonomous System) Example: Practical

- No comments
EIGRP Redistribution With Different AS

EIGRP Redistribution With Different AS

In this article I will explain how texternal Eigrp Redistribution with Different AS is used. I will write down all the configuration I have done step by step. I have done this Eigrp Redistribution with Different AS practical on Cisco Packet Tracer. Also note that I have already done assigning Ip address to the interfaces. So lets get started.
Eigrp Redistribution With Different AS


In this diagram you can see Router A has AS 10 and Router C has AS 20. Whereas Router B will act as ABR(Area Border Router) acting as intermediary between Router A and Router C.

EIGRP Redistribution Commands And Configuration

EIGRP Configuration Command On Router A:

RouterA(config)#config t
RouterA(config)#router eigrp 10
RouterA(config-router)#network 10.0.0.0 0.255.55.55
RouterA(config-router)#network 192.168.10.0 0.0.0.255

EIGRP Configuration Command On Router C:

RouterC(config)#config t
RouterC(config)#router eigrp 20
RouterC(config-router)#network 20.0.0.0 0.255.55.55
RouterC(config-router)#network 192.168.20.0 0.0.0.255

EIGRP Redistribution Configuration Command On Router B:

RouterB(config)#config t
RouterB(config)#router eigrp 10
RouterB(config-router)#network 10.0.0.0 0.255.255.255
RouterB(config)#exit
RouterB(config)#router eigrp 20
RouterB(config-router)#network 20.0.0.0 0.255.255.255

RouterB(config)#router eigrp 10
RouterB(config-router)#redistribute eigrp 20
RouterB(config-router)#ex
RouterB(config)#router eigrp 20
RouterB(config-router)#redistribute eigrp 10

VERIFICATION:-

you can verify it by using command #show ip route on RouterA.
you will find the other AS eigrp Routes with EX Tag(External Eigrp implemented).
Eigrp Redistribution With Different AS



Thursday, 19 October 2017

EIGRP (Enhanced Interior Gateway Routing Protocol)-Characteristics

- No comments
Enhanced Interior Gateway Routing Protocol


EIGRP(Enhanced Interior Gateway Routing Protocol) is Cisco propriety protocol, but recently they have made Eigrp an Open Standard Protocol by releasing its draft so that other companies can also use it. Eigrp protocol is like a Igrp but with little bit more enhancement here and there. Since we already learned what is Dynamic routing, today we will focus on Eigrp only and its characteristics in detail, so lets get into it.

READ ALSO:- EXTERNAL EIGRP REDISTRIBUTION EXAMPLE

EIGRP protocol Overview

Enhanced Interior Gateway Protocol is a dynamic hybrid/advanced distance vector protocol that uses both properties of link state as well as distance vector protocol. Eigrp uses composite metrics to find the best path to reach the destination network.

The metric value used by Eigrp is defined as K values which ranges from 1 to 5. Down below is the meaning of each K values.
  1. K1 = Bandwidth.
  2. K2 = Load.
  3. K3 = Delay.
  4. K4= Reliability.
  5. K5= Mtu(Maximum Transmission Unit).
But by default Eigrp uses composite metrics of  K1 and K3 ie bandwidth and delay. You can change the default composite metrics in Eigrp configuration mode.

By default it has hop count of 100 but it can be extended up to maximum 255, also don't let this confuse you, Eigrp doesn't use hop count as metric like RIP(Routing Information Protocol) does. Here hop count refers to how many routers Eigrp can send route update packet to before it will be discarded.

Eigrp Protocol uses ASN(Autonomous System Numbering)  to identify the group of routers running same routing protocol strategy and is under common administration. 

It uses Packets like Hello Pkt, Ack Pkt, Update Pkt, Query and Reply to record, maintain and update info from neighbor router into routing table and neighbor table.

EIGRP protocol timers:-

Eigrp uses two types of timer to maintain adjacency neighbor relationship.
  1. Hello Timer- After every 5 seconds hello packet is send from each port of the router  to discover neighbor.
  2. Hold Timer:- This timer determines how many seconds a router will wait to get the hello packet from a neighbor. After 15 seconds it will declare the neighbor dead and it will be removed from the neighbor table and all the route  depended upon it will be recalculated. 

EIGRP(Enhanced Interior Gateway Routing Protocol) 

Characteristics And Features

Eigrp protocol has the following standout characteristics and features:-
  • It supports both Ipv4 and Ipv6.
  • Supports both classfull as well as classless networks.
  • It includes subnet information in the routing table.
  • Supports both VLSM and CIDR networks.
  • Supports both contiguous and dis-contiguous networks .
  • Eigrp supports both Auto-Summarization and Manual Summarization.
  • It Uses DUAL(Diffusing Update Algorithm) for best path selection strategy.
  • Its uses RTP(Reliable Transport Protocol) to send route updates.
  • In Eigrp the update is change triggered not periodic as in RIP. Change triggered means the update will not be send to the neighbor unless and until there is a change in network topology.
  • It uses Multicast (224.0.0.9) and no broadcast for sending update.
  • The Administrative distance of Internal Eigrp is 90, whereas for External Eigrp AD is 170
NOTE:- I mentioned Internal and External Eigrp just now. These two are Eigrp types which I will discuss later in my next article.
READ ALSO:- WHAT IS STATIC ROUTING?

Also See Video On How  To Configure Eigrp ?