1.先配置好每个路由器名称以及永不超时,只演示r1(r2,r3,r4同理)
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys r1
[r1]user-interface console 0
[r1-ui-console0]idle-timeout 0 0
2.给每个路由每个接口配上ip并配上环回接口,养成每一操作后看配置表,路由表的好习惯。r2,r3,r4只展示配置表
[r1]interface g0/0/0
[r1-GigabitEthernet0/0/0]ip ad 12.1.1.1 24
[r1-GigabitEthernet0/0/0]int g0/0/1
[r1-GigabitEthernet0/0/1]ip ad 14.1.1.2 24
[r1-GigabitEthernet0/0/1]int l0
[r1-LoopBack0]ip ad 1.1.1.1 24
[r1-LoopBack0]dis ip int br
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 4
The number of interface that is DOWN in Physical is 1
The number of interface that is UP in Protocol is 4
The number of interface that is DOWN in Protocol is 1
Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 12.1.1.1/24 up up
GigabitEthernet0/0/1 14.1.1.2/24 up up
GigabitEthernet0/0/2 unassigned down down
LoopBack0 1.1.1.1/24 up up(s)
NULL0 unassigned up up(s)
[r2]dis ip int br
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 4
The number of interface that is DOWN in Physical is 1
The number of interface that is UP in Protocol is 4
The number of interface that is DOWN in Protocol is 1
Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 23.1.1.1/24 up up
GigabitEthernet0/0/1 12.1.1.2/24 up up
GigabitEthernet0/0/2 unassigned down down
LoopBack1 2.2.2.2/24 up up(s)
NULL0 unassigned up up(s)
[r3]dis ip int br
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 4
The number of interface that is DOWN in Physical is 1
The number of interface that is UP in Protocol is 4
The number of interface that is DOWN in Protocol is 1
Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 34.1.1.1/24 up up
GigabitEthernet0/0/1 23.1.1.2/24 up up
GigabitEthernet0/0/2 unassigned down down
LoopBack2 3.3.3.3/24 up up(s)
NULL0 unassigned up up(s)
[r4]dis ip int br
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 4
The number of interface that is DOWN in Physical is 1
The number of interface that is UP in Protocol is 4
The number of interface that is DOWN in Protocol is 1
Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 14.1.1.1/24 up up
GigabitEthernet0/0/1 34.1.1.2/24 up up
GigabitEthernet0/0/2 unassigned down down
LoopBack3 4.4.4.4/24 up up(s)
NULL0
3.开始配置静态路由。对于r1分析得出除了自身连接的三个网段,还需要和其余五个网段配置。
到达2.2.2.0/24 网段
[r1]ip route-static 2.2.2.0 24 12.1.1.2
[r1]ping 2.2.2.2
PING 2.2.2.2: 56 data bytes, press CTRL_C to break
Reply from 2.2.2.2: bytes=56 Sequence=1 ttl=255 time=230 ms
Reply from 2.2.2.2: bytes=56 Sequence=2 ttl=255 time=30 ms
Reply from 2.2.2.2: bytes=56 Sequence=3 ttl=255 time=40 ms
Reply from 2.2.2.2: bytes=56 Sequence=4 ttl=255 time=20 ms
Reply from 2.2.2.2: bytes=56 Sequence=5 ttl=255 time=20 ms
--- 2.2.2.2 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 20/68/230 ms
到达23.1.1.0/24网段(此处需要注意的是,r1有了到目标23.1.1.0/24的路由后,但是数据的通信是双向的所以r3需要配置一条数据能够回来到达目标为12.1.1.1的路由,仔细观察目标和源的出接口ip)
[r1]ip route-static 23.1.1.0 24 12.1.1.2
[r1]ping 23.1.1.1
PING 23.1.1.1: 56 data bytes, press CTRL_C to break
Reply from 23.1.1.1: bytes=56 Sequence=1 ttl=255 time=20 ms
Reply from 23.1.1.1: bytes=56 Sequence=2 ttl=255 time=20 ms
Reply from 23.1.1.1: bytes=56 Sequence=3 ttl=255 time=20 ms
Reply from 23.1.1.1: bytes=56 Sequence=4 ttl=255 time=30 ms
Reply from 23.1.1.1: bytes=56 Sequence=5 ttl=255 time=20 ms
--- 23.1.1.1 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 20/22/30 ms
[r1]ping 23.1.1.2
PING 23.1.1.2: 56 data bytes, press CTRL_C to break
Request time out
Request time out
--- 23.1.1.2 ping statistics ---
2 packet(s) transmitted
0 packet(s) received
100.00% packet loss
[r3]ip route-static 12.1.1.0 24 23.1.1.1
[r1]ping 23.1.1.2
PING 23.1.1.2: 56 data bytes, press CTRL_C to break
Reply from 23.1.1.2: bytes=56 Sequence=1 ttl=254 time=40 ms
Reply from 23.1.1.2: bytes=56 Sequence=2 ttl=254 time=20 ms
Reply from 23.1.1.2: bytes=56 Sequence=3 ttl=254 time=40 ms
Reply from 23.1.1.2: bytes=56 Sequence=4 ttl=254 time=30 ms
Reply from 23.1.1.2: bytes=56 Sequence=5 ttl=254 time=30 ms
--- 23.1.1.2 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 20/32/40 ms
到达3.3.3.0/24网段(此处需要注意如果只配置r1的话,也无法通信。情况与上述不同的是,路由到达r2时,无法找到3.3.3.0/24网段,因此要给r2配置一条到达3.3.3.0/24网段的路由)
[r1]ip route-static 3.3.3.0 24 12.1.1.2
[r1]ping 3.3.3.3
PING 3.3.3.3: 56 data bytes, press CTRL_C to break
Request time out
Request time out
Request time out
Request time out
Request time out
--- 3.3.3.3 ping statistics ---
5 packet(s) transmitted
0 packet(s) received
100.00% packet loss
[r2]ip route-static 3.3.3.0 24 23.1.1.2
[r1]ping 3.3.3.3
PING 3.3.3.3: 56 data bytes, press CTRL_C to break
Reply from 3.3.3.3: bytes=56 Sequence=1 ttl=254 time=30 ms
Reply from 3.3.3.3: bytes=56 Sequence=2 ttl=254 time=20 ms
Reply from 3.3.3.3: bytes=56 Sequence=3 ttl=254 time=30 ms
Reply from 3.3.3.3: bytes=56 Sequence=4 ttl=254 time=30 ms
Reply from 3.3.3.3: bytes=56 Sequence=5 ttl=254 time=30 ms
--- 3.3.3.3 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 20/28/30 ms
到达4.4.4.0/24网段
[r1]ip route-static 4.4.4.0 24 14.1.1.1
[r1]ping 4.4.4.4
PING 4.4.4.4: 56 data bytes, press CTRL_C to break
Reply from 4.4.4.4: bytes=56 Sequence=1 ttl=255 time=210 ms
Reply from 4.4.4.4: bytes=56 Sequence=2 ttl=255 time=40 ms
Reply from 4.4.4.4: bytes=56 Sequence=3 ttl=255 time=20 ms
Reply from 4.4.4.4: bytes=56 Sequence=4 ttl=255 time=10 ms
Reply from 4.4.4.4: bytes=56 Sequence=5 ttl=255 time=10 ms
--- 4.4.4.4 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 10/58/210 ms
到达34.1.1.0/24网段(该网段与上述网段23同理,只不过路由条目走的是r1,r4,r3)
[r1]ip route-static 34.1.1.0 24 14.1.1.1
[r1]ping 34.1.1.2
PING 34.1.1.2: 56 data bytes, press CTRL_C to break
Reply from 34.1.1.2: bytes=56 Sequence=1 ttl=255 time=20 ms
Reply from 34.1.1.2: bytes=56 Sequence=2 ttl=255 time=20 ms
Reply from 34.1.1.2: bytes=56 Sequence=3 ttl=255 time=20 ms
Reply from 34.1.1.2: bytes=56 Sequence=4 ttl=255 time=30 ms
Reply from 34.1.1.2: bytes=56 Sequence=5 ttl=255 time=40 ms
--- 34.1.1.2 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 20/26/40 ms
[r1]ping 34.1.1.1
PING 34.1.1.1: 56 data bytes, press CTRL_C to break
Request time out
Request time out
Request time out
Request time out
Request time out
--- 34.1.1.1 ping statistics ---
5 packet(s) transmitted
0 packet(s) received
100.00% packet loss
[r3]ip route-static 14.1.1.0 24 34.1.1.2
[r1]ping 34.1.1.1
PING 34.1.1.1: 56 data bytes, press CTRL_C to break
Reply from 34.1.1.1: bytes=56 Sequence=1 ttl=254 time=30 ms
Reply from 34.1.1.1: bytes=56 Sequence=2 ttl=254 time=30 ms
Reply from 34.1.1.1: bytes=56 Sequence=3 ttl=254 time=30 ms
Reply from 34.1.1.1: bytes=56 Sequence=4 ttl=254 time=30 ms
Reply from 34.1.1.1: bytes=56 Sequence=5 ttl=254 time=20 ms
--- 34.1.1.1 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 20/28/30 ms
至此r1配置完成。
4.r2自身连接三个网段再加上配置r1时配置了3.3.3.0/24网段,因此r2需要配置剩余四个网段
到达34.1.1.0/24网段
[r2]ip route-static 34.1.1.0 24 23.1.1.2
[r2]ping 34.1.1.1
PING 34.1.1.1: 56 data bytes, press CTRL_C to break
Reply from 34.1.1.1: bytes=56 Sequence=1 ttl=255 time=40 ms
Reply from 34.1.1.1: bytes=56 Sequence=2 ttl=255 time=20 ms
Reply from 34.1.1.1: bytes=56 Sequence=3 ttl=255 time=30 ms
Reply from 34.1.1.1: bytes=56 Sequence=4 ttl=255 time=20 ms
Reply from 34.1.1.1: bytes=56 Sequence=5 ttl=255 time=30 ms
--- 34.1.1.1 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 20/28/40 ms
[r4]ip route-static 23.1.1.0 24 34.1.1.1
[r2]ping 34.1.1.2
PING 34.1.1.2: 56 data bytes, press CTRL_C to break
Reply from 34.1.1.2: bytes=56 Sequence=1 ttl=254 time=60 ms
Reply from 34.1.1.2: bytes=56 Sequence=2 ttl=254 time=30 ms
Reply from 34.1.1.2: bytes=56 Sequence=3 ttl=254 time=30 ms
Reply from 34.1.1.2: bytes=56 Sequence=4 ttl=254 time=30 ms
Reply from 34.1.1.2: bytes=56 Sequence=5 ttl=254 time=30 ms
--- 34.1.1.2 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 30/36/60 ms
到达1.1.1.0/24网段
[r2]ip route-static 1.1.1.0 24 12.1.1.1
[r2]ping 1.1.1.1
PING 1.1.1.1: 56 data bytes, press CTRL_C to break
Reply from 1.1.1.1: bytes=56 Sequence=1 ttl=255 time=20 ms
Reply from 1.1.1.1: bytes=56 Sequence=2 ttl=255 time=30 ms
Reply from 1.1.1.1: bytes=56 Sequence=3 ttl=255 time=20 ms
Reply from 1.1.1.1: bytes=56 Sequence=4 ttl=255 time=20 ms
Reply from 1.1.1.1: bytes=56 Sequence=5 ttl=255 time=20 ms
--- 1.1.1.1 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 20/22/30 ms
到达14.1.1.0/24网段
[r2]ip route-static 14.1.1.0 24 12.1.1.1
[r2]ping 14.1.1.2
PING 14.1.1.2: 56 data bytes, press CTRL_C to break
Reply from 14.1.1.2: bytes=56 Sequence=1 ttl=255 time=20 ms
Reply from 14.1.1.2: bytes=56 Sequence=2 ttl=255 time=20 ms
Reply from 14.1.1.2: bytes=56 Sequence=3 ttl=255 time=40 ms
Reply from 14.1.1.2: bytes=56 Sequence=4 ttl=255 time=30 ms
Reply from 14.1.1.2: bytes=56 Sequence=5 ttl=255 time=30 ms
--- 14.1.1.2 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 20/28/40 ms
[r4]ip route-static 12.1.1.0 24 14.1.1.2
[r2]ping 14.1.1.1
PING 14.1.1.1: 56 data bytes, press CTRL_C to break
Reply from 14.1.1.1: bytes=56 Sequence=1 ttl=254 time=30 ms
Reply from 14.1.1.1: bytes=56 Sequence=2 ttl=254 time=40 ms
Reply from 14.1.1.1: bytes=56 Sequence=3 ttl=254 time=20 ms
Reply from 14.1.1.1: bytes=56 Sequence=4 ttl=254 time=40 ms
Reply from 14.1.1.1: bytes=56 Sequence=5 ttl=254 time=30 ms
--- 14.1.1.1 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 20/32/40 ms
到达4.4.4.0/24网段(有个小问题,为什么只能走左边路由,不能走右边路由)
[r2]ip route-static 4.4.4.0 24 12.1.1.1
[r2]ping 4.4.4.4
PING 4.4.4.4: 56 data bytes, press CTRL_C to break
Reply from 4.4.4.4: bytes=56 Sequence=1 ttl=254 time=40 ms
Reply from 4.4.4.4: bytes=56 Sequence=2 ttl=254 time=20 ms
Reply from 4.4.4.4: bytes=56 Sequence=3 ttl=254 time=30 ms
Reply from 4.4.4.4: bytes=56 Sequence=4 ttl=254 time=40 ms
Reply from 4.4.4.4: bytes=56 Sequence=5 ttl=254 time=30 ms
--- 4.4.4.4 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 20/32/40 ms
5.对于r3除了自身三个网段外,再加上12网段和24网段已经配置过,只需要配置三个网段
到达4.4.4.0/24网段
[r3]ip route-static 4.4.4.0 24 34.1.1.2
[r3]ping 4.4.4.4
PING 4.4.4.4: 56 data bytes, press CTRL_C to break
Reply from 4.4.4.4: bytes=56 Sequence=1 ttl=255 time=40 ms
Reply from 4.4.4.4: bytes=56 Sequence=2 ttl=255 time=30 ms
Reply from 4.4.4.4: bytes=56 Sequence=3 ttl=255 time=30 ms
Reply from 4.4.4.4: bytes=56 Sequence=4 ttl=255 time=20 ms
Reply from 4.4.4.4: bytes=56 Sequence=5 ttl=255 time=20 ms
--- 4.4.4.4 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 20/28/40 ms
到达2.2.2.0/24网段
[r3]ip route-static 2.2.2.0 24 23.1.1.1
[r3]ping 2.2.2.2
PING 2.2.2.2: 56 data bytes, press CTRL_C to break
Reply from 2.2.2.2: bytes=56 Sequence=1 ttl=255 time=40 ms
Reply from 2.2.2.2: bytes=56 Sequence=2 ttl=255 time=20 ms
Reply from 2.2.2.2: bytes=56 Sequence=3 ttl=255 time=30 ms
Reply from 2.2.2.2: bytes=56 Sequence=4 ttl=255 time=10 ms
Reply from 2.2.2.2: bytes=56 Sequence=5 ttl=255 time=30 ms
--- 2.2.2.2 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 10/26/40 ms
到达1.1.1.0/24网段(再留一个小问题,为什么不能走34网段,目前只能走23网段)
[r3]ip route-static 1.1.1.0 24 34.1.1.2
[r3]ping 1.1.1.1
PING 1.1.1.1: 56 data bytes, press CTRL_C to break
Request time out
Request time out
--- 1.1.1.1 ping statistics ---
2 packet(s) transmitted
0 packet(s) received
100.00% packet loss
[r3]ip route-static 1.1.1.0 24 23.1.1.1
[r3]ping 1.1.1.1
PING 1.1.1.1: 56 data bytes, press CTRL_C to break
Reply from 1.1.1.1: bytes=56 Sequence=1 ttl=254 time=30 ms
Reply from 1.1.1.1: bytes=56 Sequence=2 ttl=254 time=30 ms
Reply from 1.1.1.1: bytes=56 Sequence=3 ttl=254 time=30 ms
Reply from 1.1.1.1: bytes=56 Sequence=4 ttl=254 time=40 ms
Reply from 1.1.1.1: bytes=56 Sequence=5 ttl=254 time=30 ms
--- 1.1.1.1 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 30/32/40 ms
6.对于r4已经连接的三个网段外还有12和23网段配置过,剩余三个网段需要配置
到达1.1.1.0/24 网段
[r4]ip route-static 1.1.1.0 24 14.1.1.2
[r4]ping 1.1.1.1
PING 1.1.1.1: 56 data bytes, press CTRL_C to break
Reply from 1.1.1.1: bytes=56 Sequence=1 ttl=255 time=30 ms
Reply from 1.1.1.1: bytes=56 Sequence=2 ttl=255 time=10 ms
Reply from 1.1.1.1: bytes=56 Sequence=3 ttl=255 time=20 ms
Reply from 1.1.1.1: bytes=56 Sequence=4 ttl=255 time=20 ms
Reply from 1.1.1.1: bytes=56 Sequence=5 ttl=255 time=20 ms
--- 1.1.1.1 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 10/20/30 ms
到达3.3.3.0/24 网段
[r4]ping 3.3.3.3
PING 3.3.3.3: 56 data bytes, press CTRL_C to break
Reply from 3.3.3.3: bytes=56 Sequence=1 ttl=255 time=20 ms
Reply from 3.3.3.3: bytes=56 Sequence=2 ttl=255 time=30 ms
Reply from 3.3.3.3: bytes=56 Sequence=3 ttl=255 time=20 ms
Reply from 3.3.3.3: bytes=56 Sequence=4 ttl=255 time=20 ms
Reply from 3.3.3.3: bytes=56 Sequence=5 ttl=255 time=30 ms
--- 3.3.3.3 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 20/24/30 ms
到达2.2.2.0/24 网段
[r4]ip route-static 2.2.2.0 24 34.1.1.1
[r4]ping 2.2.2.2
PING 2.2.2.2: 56 data bytes, press CTRL_C to break
Reply from 2.2.2.2: bytes=56 Sequence=1 ttl=254 time=50 ms
Reply from 2.2.2.2: bytes=56 Sequence=2 ttl=254 time=30 ms
Reply from 2.2.2.2: bytes=56 Sequence=3 ttl=254 time=40 ms
Reply from 2.2.2.2: bytes=56 Sequence=4 ttl=254 time=30 ms
Reply from 2.2.2.2: bytes=56 Sequence=5 ttl=254 time=30 ms
--- 2.2.2.2 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 30/36/50 ms
7.到此时就已经实现了全网可达,我们最后再查看一下所有路由器的路由表
[r1]dis ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destinations : 18 Routes : 18
Destination/Mask Proto Pre Cost Flags NextHop Interface
1.1.1.0/24 Direct 0 0 D 1.1.1.1 LoopBack0
1.1.1.1/32 Direct 0 0 D 127.0.0.1 LoopBack0
1.1.1.255/32 Direct 0 0 D 127.0.0.1 LoopBack0
2.2.2.0/24 Static 60 0 RD 12.1.1.2 GigabitEthernet
0/0/0
3.3.3.0/24 Static 60 0 RD 12.1.1.2 GigabitEthernet
0/0/0
4.4.4.0/24 Static 60 0 RD 14.1.1.1 GigabitEthernet
0/0/1
12.1.1.0/24 Direct 0 0 D 12.1.1.1 GigabitEthernet
0/0/0
12.1.1.1/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/0
12.1.1.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/0
14.1.1.0/24 Direct 0 0 D 14.1.1.2 GigabitEthernet
0/0/1
14.1.1.2/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/1
14.1.1.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/1
23.1.1.0/24 Static 60 0 RD 12.1.1.2 GigabitEthernet
0/0/0
34.1.1.0/24 Static 60 0 RD 14.1.1.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
127.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
255.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
[r2]dis ip ro
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destinations : 18 Routes : 18
Destination/Mask Proto Pre Cost Flags NextHop Interface
1.1.1.0/24 Static 60 0 RD 12.1.1.1 GigabitEthernet
0/0/1
2.2.2.0/24 Direct 0 0 D 2.2.2.2 LoopBack1
2.2.2.2/32 Direct 0 0 D 127.0.0.1 LoopBack1
2.2.2.255/32 Direct 0 0 D 127.0.0.1 LoopBack1
3.3.3.0/24 Static 60 0 RD 23.1.1.2 GigabitEthernet
0/0/0
4.4.4.0/24 Static 60 0 RD 12.1.1.1 GigabitEthernet
0/0/1
12.1.1.0/24 Direct 0 0 D 12.1.1.2 GigabitEthernet
0/0/1
12.1.1.2/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/1
12.1.1.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/1
14.1.1.0/24 Static 60 0 RD 12.1.1.1 GigabitEthernet
0/0/1
23.1.1.0/24 Direct 0 0 D 23.1.1.1 GigabitEthernet
0/0/0
23.1.1.1/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/0
23.1.1.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/0
34.1.1.0/24 Static 60 0 RD 23.1.1.2 GigabitEthernet
0/0/0
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
127.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
255.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
[r3]dis ip ro
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destinations : 18 Routes : 19
Destination/Mask Proto Pre Cost Flags NextHop Interface
1.1.1.0/24 Static 60 0 RD 34.1.1.2 GigabitEthernet
0/0/0
Static 60 0 RD 23.1.1.1 GigabitEthernet
0/0/1
2.2.2.0/24 Static 60 0 RD 23.1.1.1 GigabitEthernet
0/0/1
3.3.3.0/24 Direct 0 0 D 3.3.3.3 LoopBack2
3.3.3.3/32 Direct 0 0 D 127.0.0.1 LoopBack2
3.3.3.255/32 Direct 0 0 D 127.0.0.1 LoopBack2
4.4.4.0/24 Static 60 0 RD 34.1.1.2 GigabitEthernet
0/0/0
12.1.1.0/24 Static 60 0 RD 23.1.1.1 GigabitEthernet
0/0/1
14.1.1.0/24 Static 60 0 RD 34.1.1.2 GigabitEthernet
0/0/0
23.1.1.0/24 Direct 0 0 D 23.1.1.2 GigabitEthernet
0/0/1
23.1.1.2/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/1
23.1.1.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/1
34.1.1.0/24 Direct 0 0 D 34.1.1.1 GigabitEthernet
0/0/0
34.1.1.1/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/0
34.1.1.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/0
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
127.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
255.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
[r4]dis ip ro
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destinations : 18 Routes : 19
Destination/Mask Proto Pre Cost Flags NextHop Interface
1.1.1.0/24 Static 60 0 RD 14.1.1.2 GigabitEthernet
0/0/0
2.2.2.0/24 Static 60 0 RD 34.1.1.1 GigabitEthernet
0/0/1
Static 60 0 RD 14.1.1.2 GigabitEthernet
0/0/0
3.3.3.0/24 Static 60 0 RD 34.1.1.1 GigabitEthernet
0/0/1
4.4.4.0/24 Direct 0 0 D 4.4.4.4 LoopBack3
4.4.4.4/32 Direct 0 0 D 127.0.0.1 LoopBack3
4.4.4.255/32 Direct 0 0 D 127.0.0.1 LoopBack3
12.1.1.0/24 Static 60 0 RD 14.1.1.2 GigabitEthernet
0/0/0
14.1.1.0/24 Direct 0 0 D 14.1.1.1 GigabitEthernet
0/0/0
14.1.1.1/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/0
14.1.1.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/0
23.1.1.0/24 Static 60 0 RD 34.1.1.1 GigabitEthernet
0/0/1
34.1.1.0/24 Direct 0 0 D 34.1.1.2 GigabitEthernet
0/0/1
34.1.1.2/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/1
34.1.1.255/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
127.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
255.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0