在帧中继上运行rip协议(2)—多点对点子接口

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、通过上面的配置同样可以达到了同一个网段间的互通,但此时可以充分利用一个物理接口,把它分为不同的子接口

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值