Sunday, 6 October 2013

Link Stste Routing:



Link Stste Routing:
OSPF – Open shortest path first
1.       Classless routing protocol
2.       Algorithtm used is ospf algorithm
3.       Unlimited hop count
4.       Updates are multicasted
5.       Multicasting address is 224.0.0.5 /224.0.0.6
6.       Event triggerd updates
7.       Updates are incremented
8.       Metric is cost of the link ie. 100/bandwidth
LSA
  Link state advertise are signals or building blocks to create LSDB – Link state database
Syntax:
Router(config) # router ospf  <1-65,535> -can give any number between this.
Router(config-router)# network network id  wildcadmask  area 0
[Wildcadmask = universal broadcast id –subnet mask
Wildcad mask =255.255.255.255 -
                            255.255.255.0 [ class c]
                             0.0.0.255]
[ Network id should be give directly connected networks ]
In this scenario configuration is.
Router1(config) router ospf  100
Router(config-router) network 192.168.10.0  0.0.0.255  area 0
Router(config-router) network 10.0.0.0  0.255.255.255 area 0
Router(config-router) exit.
Router2(config)  router ospf 100
Router(config-router) network 192.168.10.0  0.0.0.255 area 0
Router(config-router) network 192.168.20.0  0.0.0.255 area 0
Router(config-router) network 20.0.0.0  0.255.255.255 area 0
Router(config-router) exit.

Router3(config)# roter ospf 0
Router(config-router) netwok 192.168.20.0  0.0.0.255  area 0
Router(config-router)network 30.0.0.0  0.0.0.255  area 0
Router(config-router) exit.















                        

2 comments:

  1. Will the wildcad mask changes when the ip in different class?

    ReplyDelete
    Replies
    1. yes.definitely changes.class A ip wildcad mask is 0.255.255.255 and class b 0.0.255.255

      Delete