实验任务1 :静态ECMP配置
建立物理连接
配置静态等效路由
[ RTA ] IP route-static 192.168.2.024192.168.1.2
[ RTA ] IP route-static 192.168.2.024192.168.1.6
[ rtb ] IP route-static 192.168.0.024192.168.1.1
[ rtb ] IP route-static 192.168.0.024192.168.1.5
查看ip路由表
[RTA]display ip routing-table
estinations :22 routes :23
destination/maskprotoprecostnexthopinterface
0.0.0.0/32 direct 00127.0.0.1in loop 0
127.0.0.0/8 direct 00127.0.0.1in loop 0
127.0.0.0/32 direct 00127.0.0.1in loop 0
127.0.0.1/32 direct 00127.0.0.1in loop 0
127.255.255.255/32 direct 0127.0.0.1in loop 0
192.168.0.0/24 direct 00192.168.0.1ge0/0
192.168.0.0/32 direct 00192.168.0.1ge0/0
192.168.0.1/32 direct 00127.0.0.1in loop 0
192.168.0.255/32 direct 0192.168.0.1ge0/0
192.168.1.0/30 direct 00192.168.1.1ge0/1
192.168.1.0/32 direct 00192.168.1.1ge0/1
192.168.1.1/32 direct 00127.0.0.1in loop 0
192.168.1.3/32 direct 00192.168.1.1ge0/1
192.168.1.4/30 direct 00192.168.1.5 ser1/0
192.168.1.4/32 direct 00192.168.1.5 ser1/0
192.168.1.5/32 direct 00127.0.0.1in loop 0
192.168.1.6/32 direct 00192.168.1.6 ser1/0
192.168.1.7/32 direct 00192.168.1.5 ser1/0
192.168.2.0/24 static 600192.168.1.2 ge0/1
192.168.1.6 Ser1/0
224.0.0.0/4 direct000.0.0. 0空值0
24.0.0.0/24 direct 000.0.0.0空0
255.255.255.255/32 direct 0127.0.0.1in loop 0
3。
PCA PING PCB
查看路由器快速转发公告
[ RTA ]显示-向前缓存
totalnumberoffast -向前条目:2
sipsportdipdportproinput _ if output _ if flg
192.168.2.2204192.168.0.201 ge0/1g E0/01
192.168.0.2204192.168.2.220481 ge0/0ge0/11
短按连接到hhdmht/1
还可以正常传输。
[ RTA ]显示-向前缓存
totalnumberoffast -向前条目:2
sipsportdipdportproinput _ if output _ if flg
192.168.2.2203192.168.0.201 ser1/0ge0/01
192.168.0.2203192.168.2.220481 ge0/0 ser1/01
实验任务2 :通过浮动静态路由配置建立物理连接
RTA和RTB执行rip协议
[RTA]rip 1
[ RTA-rip-1 ]版本2
[ RTA-rip-1 ]还原摘要
[ RTA-rip-1 ]网络192.168.1.0
[ RTA-rip-1 ]网络192.168.0.0
[ RTA-rip-1 ]选择-接口串行1/0
[ rt B- rip-1 ]版本2
[RTB-rip-1]undo summary
[ rt B- rip-1 ]网络192.168.1.0
[ rt B- rip-1 ]网络192.168.2.0
[ rt B- rip-1 ] silent-interface serial1/0
3 .查看此无效路由
[ RTA-rip-1 ]显示-表192.168.2.0 verbose
摘要计数: 2
Destination: 192.168.2.0/24
协议: rip
进程id : 1
subprotid :0 x0 age :00 h 17m 49 s
cost : 1首选项: 100
IP pre : n/aqoslocalid : n/a
Tag: 0 State: Active Adv
origtblid :0 x0 orig vrf : default-vrf
TableID:0x2 OrigAs: 0
ni bid :0 x 12000003 lastas :
atrid :0 xfffffneighbor :192.168.1.2
flags :0 x 10041 orig nexthop :192.168.1.2
label : nullrealnexthop :192.168.1.2
bk label : nullbknexthop : n/a
tunnel id : invalid interface :千兆以太网0/1
btunnelid : invalidbkinterface : n/a
ftn index :0 x0 traffic index : n/a
connector : n/a pathid :0 x 0
Destination: 192.168.2.0/24
协议:静态
进程id : 0
subprotid 33600 x1 age :00 h15 m 36 s
Cost: 0 Preference: 120
IP pre : n/aqoslocalid : n/a
Tag: 0 State: Inactive Adv
origtblid :0 x0 orig vrf : default-vrf
TableID:0x2 OrigAs: 0
ni bid :0 x 11000001 lastas :
attr id :0 xfffffneighbor :0.0.0
flags 33600 x 60 orig nexthop :192.168.1.6
label : nullrealnexthop :192.168.1.6
bk label : nullbknexthop : n/a
tunnel id : invalid接口: serial1/0
btunnelid : invalidbkinterface : n/a
ftn index :0 x0 traffic index : n/a
connector : n/a pathid :0 x 0
PCA ping PCB
5 .查看IP路由表
[ RTA千兆以太网0/1 ] displayiprouting-table destinations 336018 routes 336018
destination/maskprotoprecostnexthopinterface
0.0.0.0/32 direct 00127.0.0.1in loop 0
127.0.0.0/8 direct 00127.0.0.1in loop 0
127.0.0.0/32 direct 00127.0.0.1in loop 0
127.0.0.1/32 direct 00127.0.0.1in loop 0
127.255.255.255/32 direct 0127.0.0.1in loop 0
192.168.0.0/24 direct 00192.168.0.1ge0/0
192.168.0.0/32 direct 00192.168.0.1ge0/0
192.168.0.1/32 direct 00127.0.0.1in loop 0
192.168.0.255/32 direct 0192.168.0.1ge0/0
192.168.1.4/30 direct 00192.168.1.5 ser1/0
192.168.1.4/32 direct 00192.168.1.5 ser1/0
192.168.1.5/32 direct 00127.0.0.1in loop 0
192.168.1.6/32 direct 00192.168.1.6 ser1/0
192.168.1.7/32 direct 00192.168.1.5 ser1/0
192.168.2.0/24 static 1200192.168.1.6 ser1/0
224.0.0.0/4 direct000.0.0. 0空值0
24.0.0.0/24 direct 000.0.0.0空0
255.255.255.255/32 direct 0127.0.0.1in loop 0