华为两台路由器做子接口对接不通问题
问题描述设备型号:AR2200-S软件版本:V200R007C00故障现象:拓扑如下图,两台AR2200-S用子接口dot1q对接,数据不通。https://download.huawei.com/mdl/image/download?uuid=e8fa6875637f4661a53386b711030eacAR1的配置:interface GigabitEthernet0/0/0.1dot1q termination vid 10
ip address 1.1.1.1 255.255.255.0
AR2的配置:interface GigabitEthernet0/0/0.1dot1q termination vid 10ip address 1.1.1.2 255.255.255.0
解决方案由于终结子接口不能转发广播报文,在收到广播报文后它们直接把该报文丢弃。为了允许终结子接口能转发广播报文,可以通过在子接口上执行命令arp broadcast enable使能终结子接口的ARP广播功能。最终将配置修改为
AR1配置:
interface GigabitEthernet0/0/0.1
dot1q termination vid 10
ip address 1.1.1.1 255.255.255.0 arp broadcast enableAR2配置:interface GigabitEthernet0/0/0.1
dot1q termination vid 10
ip address 1.1.1.2 255.255.255.0 arp broadcast enable测试可以ping通ping 1.1.1.1PING 1.1.1.1: 56data 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=20 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=30 ms
Reply from 1.1.1.1: bytes=56 Sequence=5 ttl=255 time=50 ms
{:6_267:}
页:
[1]