设为首页收藏本站language 语言切换
查看: 1785|回复: 1
收起左侧

[分享] 华为两台路由器做子接口对接不通问题

[复制链接]
 成长值: 63715
发表于 2024-7-17 14:00:31 | 显示全部楼层 |阅读模式
问题描述
设备型号:AR2200-S
软件版本:V200R007C00
故障现象:拓扑如下图,两台AR2200-S用子接口dot1q对接,数据不通。

AR1的配置:
interface GigabitEthernet0/0/0.1
dot1q termination vid 10

ip address 1.1.1.1 255.255.255.0

AR2的配置:
interface GigabitEthernet0/0/0.1
dot1q termination vid 10
ip 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 enable
AR2配置:
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.1
  PING 1.1.1.1: 56  data 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





您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-2-23 11:35 , Processed in 0.057624 second(s), 22 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表