Network topology is as follows
After implementation of the five network exchange routing table is configured as follows,
RT1 routing table
[RT1]dis ip routing-table
Destinations : 20 Routes : 20
Destination/Mask Proto Pre Cost NextHop Interface
0.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
10.1.1.0/24 Direct 0 0 10.1.1.1 Loop0
10.1.1.0/32 Direct 0 0 10.1.1.1 Loop0
10.1.1.1/32 Direct 0 0 127.0.0.1 InLoop0
10.1.1.255/32 Direct 0 0 10.1.1.1 Loop0
10.1.2.0/24 Direct 0 0 10.1.2.1 Ser1/0
10.1.2.0/32 Direct 0 0 10.1.2.1 Ser1/0
10.1.2.1/32 Direct 0 0 127.0.0.1 InLoop0
10.1.2.2/32 Direct 0 0 10.1.2.2 Ser1/0
10.1.2.255/32 Direct 0 0 10.1.2.1 Ser1/0
10.1.3.0/24 Static 60 0 10.1.2.2 Ser1/0
10.1.4.0/24 Static 60 0 10.1.2.2 Ser1/0
10.1.5.0/24 Static 60 0 10.1.2.2 Ser1/0
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
127.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0
127.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0
224.0.0.0/4 Direct 0 0 0.0.0.0 NULL0
224.0.0.0/24 Direct 0 0 0.0.0.0 NULL0
255.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0
RT2 routing table
[RT2]dis ip routing-table
Destinations : 21 Routes : 21
Destination/Mask Proto Pre Cost NextHop Interface
0.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
10.1.1.0/24 Static 60 0 10.1.2.1 Ser2/0
10.1.2.0/24 Direct 0 0 10.1.2.2 Ser2/0
10.1.2.0/32 Direct 0 0 10.1.2.2 Ser2/0
10.1.2.1/32 Direct 0 0 10.1.2.1 Ser2/0
10.1.2.2/32 Direct 0 0 127.0.0.1 InLoop0
10.1.2.255/32 Direct 0 0 10.1.2.2 Ser2/0
10.1.3.0/24 Direct 0 0 10.1.3.1 Ser1/0
10.1.3.0/32 Direct 0 0 10.1.3.1 Ser1/0
10.1.3.1/32 Direct 0 0 127.0.0.1 InLoop0
10.1.3.2/32 Direct 0 0 10.1.3.2 Ser1/0
10.1.3.255/32 Direct 0 0 10.1.3.1 Ser1/0
10.1.4.0/24 Static 60 0 10.1.3.2 Ser1/0
10.1.5.0/24 Static 60 0 10.1.3.2 Ser1/0
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
127.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0
127.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0
224.0.0.0/4 Direct 0 0 0.0.0.0 NULL0
224.0.0.0/24 Direct 0 0 0.0.0.0 NULL0
255.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0
RT3 routing table
[RT3]dis ip routing-table
Destinations : 21 Routes : 21
Destination/Mask Proto Pre Cost NextHop Interface
0.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
10.1.1.0/24 Static 60 0 10.1.3.1 Ser2/0
10.1.2.0/24 Static 60 0 10.1.3.1 Ser2/0
10.1.3.0/24 Direct 0 0 10.1.3.2 Ser2/0
10.1.3.0/32 Direct 0 0 10.1.3.2 Ser2/0
10.1.3.1/32 Direct 0 0 10.1.3.1 Ser2/0
10.1.3.2/32 Direct 0 0 127.0.0.1 InLoop0
10.1.3.255/32 Direct 0 0 10.1.3.2 Ser2/0
10.1.4.0/24 Direct 0 0 10.1.4.1 Ser1/0
10.1.4.0/32 Direct 0 0 10.1.4.1 Ser1/0
10.1.4.1/32 Direct 0 0 127.0.0.1 InLoop0
10.1.4.2/32 Direct 0 0 10.1.4.2 Ser1/0
10.1.4.255/32 Direct 0 0 10.1.4.1 Ser1/0
10.1.5.0/24 Static 60 0 10.1.4.2 Ser1/0
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
127.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0
127.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0
224.0.0.0/4 Direct 0 0 0.0.0.0 NULL0
224.0.0.0/24 Direct 0 0 0.0.0.0 NULL0
255.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0
Routing table RT4
[RT4]dis ip routing-table
Destinations : 20 Routes : 20
Destination/Mask Proto Pre Cost NextHop Interface
0.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
10.1.1.0/24 Static 60 0 10.1.4.1 Ser2/0
10.1.2.0/24 Static 60 0 10.1.4.1 Ser2/0
10.1.3.0/24 Static 60 0 10.1.4.1 Ser2/0
10.1.4.0/24 Direct 0 0 10.1.4.2 Ser2/0
10.1.4.0/32 Direct 0 0 10.1.4.2 Ser2/0
10.1.4.1/32 Direct 0 0 10.1.4.1 Ser2/0
10.1.4.2/32 Direct 0 0 127.0.0.1 InLoop0
10.1.4.255/32 Direct 0 0 10.1.4.2 Ser2/0
10.1.5.0/24 Direct 0 0 10.1.5.1 Loop0
10.1.5.0/32 Direct 0 0 10.1.5.1 Loop0
10.1.5.1/32 Direct 0 0 127.0.0.1 InLoop0
10.1.5.255/32 Direct 0 0 10.1.5.1 Loop0
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
127.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0
127.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0
224.0.0.0/4 Direct 0 0 0.0.0.0 NULL0
224.0.0.0/24 Direct 0 0 0.0.0.0 NULL0
255.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0
Addressing recursive route:
RT1 routing entries:
10.1.3.0/24 Static 60 0 10.1.2.2 Ser1/0
10.1.4.0/24 Static 60 0 10.1.2.2 Ser1/0
10.1.5.0/24 Static 60 0 10.1.2.2 Ser1/0
Under the action of the above routing entries below the entry route of the same effect, only the next hop IP address configuration in the static route, the following route entries required to forward recursion addressing, routing forwarding efficiency is lower than the above entry.
10.1.3.0/24 Static 60 0 10.1.2.2 Ser1/0
10.1.4.0/24 Static 60 0 10.1.3.2 Ser1/0
10.1.5.0/24 Static 60 0 10.1.4.2 Ser1/0
Routing rules
By default, the router only knows the routing information directly connected.
Data router exact match, i.e., preferential matching bits long subnet routing entries.
Default route:
ip route-static 0.0.0.0 0.0.0.0 10.1.99.254 // All data are sent to the gateway 10.1.99.254
operating:
H3C:ip route-static 与display ip routing-table
Huawei: conf t Global Mode
Ip route 与show ip route