06 Dynamic Routing Protocol
06 Dynamic Routing Protocol
Class full routing protocol. Class less routing protocol. Class less routing protocol.
Update are through broadcast Updates are through multicast Updates are through multicast.
R1(config)#router rip
R1(config-router)#version 2
R1(config-router)#network 192.168.1.0
R1(config-router)#network 10.0.0.0
R1(config-router)#no auto-summary
EIGRP (Enhanced Interior Gateway Routing
Protocol) Configuration
R1(config)#router eigrp 10
R1(config-router)#network 192.168.10.0
R1(config-router)#network 10.0.0.0
R1(config-router)#no auto-summary
OSPF (Open Shortest Path First)
➢ Its open standard protocol.
➢ Fast convergence.
➢ Incremental updates.
OSPF Area and
Single-Area OSPF
All routers are in one area. Best practice is to use area 0.
Multiarea OSPF
OSPF is implemented using multiple areas, in a hierarchical fashion. All areas must connect to the
backbone area (area 0).
OSPF AREA
• - All the routers maintain same database
• - Any changes import all the routers
• - Area is logical grouping of router
• - Minimize the size of database
• - Restrict any changes within that areas (Not flood outside areas)
• - Routers within the same area participation in algorithms.
• OSPF avoids Hierarchical network designs with multiple different
areas.
RULES
• - Must have one area called as area “zero-0” (its backbone area)
• - All the area must connect to area zer0
• - At least one area border router should be there.
• - Interface of the both routers facing must be in the same area.
Advantage of OSPF
- Open standard
- No hop count limitation
- Loop free
- Fast convergence
Disadvantages of OSPF
- Complex designs
- Consumes more CPU discovers
- Supports only equal cost balancing
- Support only IP protocol does not work on IPX and Appletalk.
OSPF Packets Types
- Hello
- Database description =DD
- Link state request =LSR
- Link state updates =LSU
- Link state acknowledgement=LS Ack
Wildcard Mask
▪ The wildcard mask is typically the inverse of the subnet mask configured on that interface
▪ The easiest method for calculating a wildcard mask is to subtract the network subnet mask from
255.255.255.255
255.255.255.0 255.255.255.224
0 . 0. 0. 255 0. 0. 0. 31
255.255.255.255
255.255.255.255
255.255.255.128
255.255.255.252
0. 0. 0. 127
0. 0. 0. 3
Single Area OSPF Configurations
R1(config)#router ospf 1
R2(config)#router ospf 1
R1(config-router)#network 10.0.0.0 0.0.0.255 area 0
R2(config-router)#network 192.168.20.0 0.0.0.255 area 0
R1(config-router)#network 192.168.10.0 0.0.0.255 area 0
R2(config-router)#network 10.0.0.0 0.0.0.255 area 0
DROTHER
DR
Designated Router
224.0.0.6
BDR
Backup Designated Router
FULL/DROTHER
DR or BDR router that is fully adjacent with a non-DR or BDR router
These two neighbors can exchange Hello packets, updates, queries, replies, and acknowledgments
FULL/DR
The router is fully adjacent with the indicated DR neighbor
These two neighbors can exchange Hello packets, updates, queries, replies, and acknowledgments
FULL/BDR
The router is fully adjacent with the indicated BDR neighbor
These two neighbors can exchange Hello packets, updates, queries, replies, and acknowledgments
2-WAY/DROTHER
The non-DR or BDR router has a neighbor relationship with another non-DR or BDR router.
These two neighbors exchange Hello packets.
OSPF Router ID
❖It’s the name of the router can configure manually using router ID
command.
❖The highest IP address of the active physical interface of the routers
router ID.
❖If logical interface configures the highest IP address of the logical
interface is router ID OSPF process
show ip route
This verifies that the routing table contains all the expected routes.
- Hello
- Database description =DD
- Link state request =LSR
- Link state updates =LSU
- Link state acknowledgement=LS Ack
Cisco OSPF Cost Metric
Interface Type Reference Default bandwith in Cost
Bandwidth in bps bps
10 Gigabit Ethernet 100,000.000 ÷ 10,000,000,000 0.001=1
10 Gbps