1、拓扑图跟在帧中继上运行rip协议(1)中的一样,在此略过
2、各路由器的基本配置跟在帧中继上运行rip协议(1)中的一样,在此略过
3、对R1进行配置,其他路由器的配置保持不变
R1(config)#default int s1/0 //还原s1/0的默认配置
Building configuration...
Interface Serial1/0 set to default configuration
R1(config)#
03:19:41: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to down
R1(config)#
03:19:43: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to up
R1(config)#int s1/0
R1(config-if)#encapsulation frame-relay ietf //切记!一定要在物理接口上封装
R1(config-if)#no ip addr
R1(config-if)#frame-relay lmi-type ansi
R1(config-if)#no frame-relay inverse-arp //取消逆向ARP,通过 frame-relay map 设置
R1(config)#int s1/0.34 multipoint //除了多了个multipoint外,其他的配置跟一个物理接口上的配置差不我
R1(config-subif)#ip addr 192.168.123.34 255.255.255.0
R1(config-subif)#frame-relay map ip 192.168.123.3 103 broadcast
R1(config-subif)#frame-relay map ip 192.168.123.4 104 broadcast
R1#sh ip int s1/0.34
Serial1/0.34 is up, line protocol is up
Internet address is 192.168.123.34/24
Broadcast address is 255.255.255.255
Address determined by setup command
MTU is 1500 bytes
Helper address is not set
Directed broadcast forwarding is disabled
Multicast reserved groups joined: 224.0.0.9
Outgoing access list is not set
Inbound access list is not set
Proxy ARP is enabled
Security level is default
Split horizon is enabled //R1的s1/0接口的水平分割在此模式下默认是开启的,打开后,R3将学不到4.0.0.0网段的路由,R4将学
不到3.0.0.0网段的路由,所以我们要关闭它
ICMP redirects are always sent
ICMP unreachables are always sent
ICMP mask replies are never sent
IP fast switching is enabled
IP fast switching on the same interface is enabled
IP Flow switching is disabled
IP CEF switching is disabled
IP Fast switching turbo vector
IP multicast fast switching is enabled
IP multicast distributed fast switching is disabled
4、通过上面的配置同样可以达到了同一个网段间的互通,但此时可以充分利用一个物理接口,把它分为不同的子接口