13 min total

Computer Networking

Static and dynamic routing

Static and dynamic routing
Static RoutingDynamic Routing
Uses no routing protocolUses routing protocols(RIP, IGRP, EIGRP, OSPF, ISIS)
Admin manually configures the routing tableRouting protocols makes entry to routing table
Suitable for small networksSuitable for Large networks
Link failure effects the networkLink Failure doesn’t effects the network
Security is highSecurity is low
Route doesn’t changes automaticallyRoute changes automatically according to changes in network
CN Lab / Final — Static and dynamic routing

Static routing

AdvantagesDisadvantages
Easy to implementConfiguration complexity increases exponentially
Very secureIf a link fails, cannot reroute
predictable
Power friendly

Autonomous systems

Collection of IP networks + Routers under the control of single entity that implements a common routing policy to internet

All routers sharing same routing table information are in same AS

CN Lab / Final — Static and dynamic routing — notes
CN Lab / Final — Static and dynamic routing
CN Lab / Final — Static and dynamic routing — notes

Link State

Distance

Path Vector

(OSPF)

Vector

(BGP)

(RIP)

Routed protocols: determines how packets are addressed and delivered IP & IPv6

Routing protocols: determines best path RIP, EIGRP, OSPF

If packet is lostcmd output "request time out"
If route not in routing table"Destination host unreachable"

Administrative distances

Metric that indicates trustworthiness of particular routing source

Value ranges from [0, 255]

0 = most trusted

255 = least trusted

Route with lowest AD will be placed in routing table

If both advertised routes have same AD, load is divided among each router

AD is usually static and is requested every time the router wants to transmit a packet

CN Lab / Final — Static and dynamic routing — notes

Routing Protocols Categories

Distance Vectors

Counts number of jumps, hops

Route with least hops is considered best

RIP (Routing information protocol)

IGRP (Interior gateway routing protocol)

Uses dijktras/Astar to calculate shortest network path

OSPF(Open shortest Path first)

ISIS (intermediate system to intermediate system)

Hybrid

Uses Distance + Link states both

Routing information protocol (RIP)

Distance Vector routing protocol

Sends complete routing table to all interfaces every 30 seconds

Maximum allowable hop count of 15

Works very well in small networks

Open Shortest Path First (OSPF)

Link State routing protocol

Uses Dijkstra algorithm, shortest path tree is constructed and routing table is populated with best paths

Scalable

Unlimited hop count

Supports VLSM

Static Routing

RIP

OSPF

CN Lab / Final — Static and dynamic routing
CN Lab / Final — Static and dynamic routing
CN Lab / Final — Static and dynamic routing
CN Lab / Final — Static and dynamic routing
CN Lab / Final — Static and dynamic routing
CN Lab / Final — Static and dynamic routing
CN Lab / Final — Static and dynamic routing
CN Lab / Final — Static and dynamic routing
CN Lab / Final — Static and dynamic routing

Specify all network parts of networks connected to your router

CN Lab / Final — Static and dynamic routing
CN Lab / Final — Static and dynamic routing
CN Lab / Final — Static and dynamic routing
CN Lab / Final — Static and dynamic routing
CN Lab / Final — Static and dynamic routing
CN Lab / Final — Static and dynamic routing
CN Lab / Final — Static and dynamic routing
CN Lab / Final — Static and dynamic routing
CN Lab / Final — Static and dynamic routing
CN Lab / Final — Static and dynamic routing
CN Lab / Final — Static and dynamic routing
CN Lab / Final — Static and dynamic routing