这个实验是在帧中继
point-to-point
基础实验
2
的基础上,将另两个路由器也打开子接口,原理相同。
R1:
Int s0/1/0
No ip add
Encap frame
Frame lmi ansi
No sh
Int s0/1/0.102 p
Ip add 192.168.1.1 255.255.255.0
Frame int 102
No sh
Int s0/1/0.103 p
Ip add 192.168.3.1 255.255.255.0
Frame int 103
No sh
Int fa0/0
Ip add 192.168.10.1 255.255.255.0
No sh
Router rip
Ve r2
Net 192.168.1.0
Net 192.168.10.0
Net 192.168.3.0
R2,R3
配置基本相同,略
R1#sh frame map
Serial0/1/0.102 (up): point-to-point dlci, dlci 102, broadcast, status defined, active
Serial0/1/0.103 (up): point-to-point dlci, dlci 103, broadcast, status defined, active
R1#
R1#sh ip rou
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF , IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
C 192.168.1.0/24 is directly connected, Serial0/1/0.102
R 192.168.2.0/24 [120/1] via 192.168.3.2, 00:00:16, Serial0/1/0.103
[120/1] via 192.168.1.2, 00:00:15, Serial0/1/0.102
C 192.168.3.0/24 is directly connected, Serial0/1/0.103
C 192.168.10.0/24 is directly connected, FastEthernet0/0
R 192.168.20.0/24 [120/1] via 192.168.1.2, 00:00:15, Serial0/1/0.102
R 192.168.30.0/24 [120/1] via 192.168.3.2, 00:00:16, Serial0/1/0.103
R1#
本文出自 “海阔天空” 博客,谢绝转载!