Basic Knowledge of IP Routing
Basic Knowledge of IP Routing
Basic Knowledge of IP Routing
Basic Knowledge
Static Routing
OSPF Routing
AUTONOMOUS SYSTEMS
ROUTE PRIORITY
Load Balancing
Per-packet load balancing
With per-packet load balancing, the router forwards packets destined for the same destination through equal-cost
routes, and each time the next hop address is different from the last one.
Per-destination load balancing
After per-destination load balancing is configured, the router forwards packets based on the quintuple (the source
address, destination address, source port, destination port, and protocol in the packets).
Route Backup
The Routers supports route backup to improve network reliability. You can configure multiple routes to the same
destination as required. The route with the highest priority functions as the primary route, and the other routes with
lower priorities function as backup route
LOCAL AREA NETWORK AND BROADCAST DOMAINS
LAN 3
LAN 1 LAN 2
? Destination
20.1.1.1/30 20.1.1.2/30
10.1.1.0/30
E0/0/0 E0/0/0
IP Packet
The IP routing table lists the networks that are reachable via the
router. Packets that have no route are subsequently discarded. Page 12
IP Static Routes
APPLICATION FOR STATIC ROUTE
Static Route
Gateway
S1/0/0 S1/0/0
192.168.1.0/24 192.168.2.0/24
.1 .2
10.0.12.0/24
Page 15
FLOATING STATIC ROUTES
RTA RTB
[RTB]display ip routing-table
Route Flags: R - relay, D - download to fib
--------------------------------------------------------------
Routing Tables: Public Destinations : 13 Routes : 14
Destination/Mask Proto Pre Cost Flags NextHop Interface
……
192.168.1.0/24 Static 60 0 RD 10.0.12.1 GigabitEthernet0/0/0
Prior to the failure of the primary route, only the primary static
route will be present within the routing table. Page 17
FLOATING STATIC ROUTE CHECK
In disabling the primary route, the floating static route is then added
to the routing table. Page 18
DEFAULT STATIC ROUTES
RTA RTB
192.168.1.0/24
G0/0/0 G0/0/0
.1 .2 192.168.2.0/24
10.0.12.0/24 192.168.3.0/24
Default routes provide a form of last resort route in the event that
no other longest match is found within the routing table. Page 19
DEFAULT STATIC ROUTE CHECK
[RTA]display ip routing-table
Route Flags: R - relay, D - download to fib
--------------------------------------------------------------
Routing Tables: Public Destinations : 13 Routes : 14
Destination/Mask Proto Pre Cost Flags NextHop Interface
……
0.0.0.0/0 Static 60 0 RD 10.0.12.2 GigabitEthernet0/0/0
Page 20
OSPF
OPEN SHORTEST PATH FIRST(OSPF)
RTA
RTB Site B
OSPF RIP
Site A
RTC
OSPF
Minimal Routing Traffic
Rapid Convergence Site C
Scalable
Accurate Route Metrics
Page 22
OSPF CONVERGENCE BEHAVIOR
RTA
RTB
LSDB
LSA Flooding
OSPF LSA of RTA
Site A
LSA of RTB
RTC
3.3.3.3
BDR DR
RTC RTD
3.3.3.3 4.4.4.4
RTD RTF
RTC
RTE
RTA
Area 0 RTB
Area 1 Area 3
RTD RTF
RTC
RTE
Area 2
G0/0/0 G0/0/0
.1 192.168.1.0/24 .2
Router ID: 1.1.1.1 Router ID: 2.2.2.2