Professional Documents
Culture Documents
Optical Distribution Networks (Routing) : Digital Egypt Youth Training Program
Optical Distribution Networks (Routing) : Digital Egypt Youth Training Program
Optical Distribution Networks (Routing) : Digital Egypt Youth Training Program
RTC
RTB Network N
RTA
Other network
[Huawei]display ip routing-table
Route Flags: R - relay, D - download to fib
----------------------------------------------------------------------
Routing Tables: Public Destinations : 2 Routes : 2
Destination/Mask Proto Pre Cost Flags NextHop Interface
0.0.0.0/0 Static 60 0 D 120.0.0.2 Serial1/0/0
8.0.0.0/8 RIP 100 3 D 120.0.0.2 Serial1/0/0
9.0.0.0/8 OSPF 10 50 D 20.0.0.2 Ethernet2/0/0
9.1.0.0/16 RIP 100 4 D 120.0.0.2 Serial1/0/0
11.0.0.0/8 Static 60 0 D 120.0.0.2 Serial2/0/0
20.0.0.0/8 Direct 0 0 D 20.0.0.1 Ethernet2/0/0
Dynamic
IGP EGP
OSPF ISIS
National Telecommunication Institute المعهد القومي لالتصاالت
Longest Match Principle
• If multiple routing entries match the destination network, the router
will choose the longest mask.
.1 20.1.1.0/30 .2 .2 10.1.1.0/30 .1
GE0/0/0
RTA RTB RTC
[RTA]display ip routing-table
Destination/Mask Proto Pre Cost Flags NextHop Interface
10.1.1.0/24 Static 60 0 RD 20.1.1.2 GigabitEthernet 0/0/0
10.1.1.0/30 Static 60 0 RD 20.1.1.2 GigabitEthernet 0/0/0
RIP RIP
[RTA]display ip routing-table
Destination/Mask Proto Pre Cost Flags NextHop Interface
10.1.1.0/30 OSPF 10 3 RD 20.1.1.2 GigabitEthernet 0/0/0
……
preference 0 10 15 60 100
IP Packet
• Static-route Introduction
• VLAN Routing
AS100
RTA RTB
S0/0/1 S0/0/2
192.168.1.0/24 192.168.2.0/24
.1 10.0.12.0/24 .2
RTA
192.168.1.0/24
.1
.2 .3
10.0.123.0/24
192.168.2.0/24 192.168.3.0/24
RTB RTC
RTA RTB
G0/0/1 G0/0/2 192.168.1.0/24
192.168.2.0/24
.1 10.0.12.0/24 .2 192.168.3.0/24
[RTA]display ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------
Routing Tables: Public
Destinations : 5 Routes : 5
Destination/Mask Proto Pre Cost Flags NextHop Interface
0.0.0.0/0 Static 60 0 RD 10.0.12.2 GigabitEthernet 0/0/1
10.0.12.0/24 Direct 0 0 D 10.0.12.1 GigabitEthernet 0/0/1
10.0.12.1/32 Direct 0 0 D 127.0.0.1 GigabitEthernet 0/0/1
127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0
127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0