小编jju*_*per的帖子

arp who-has requests 查看vlan 隔离不同地址(单网卡)

我有通过 5 个不同 vlan 上的中继端口连接的 debian 主机。但是该主机响应所有不同 IP 的 arp“who-has”请求。我想明白为什么...

这里是网络/接口文件(eth0.1 句柄 172.16.1.145/16)

auto lo
iface lo inet loopback

allow-hotplug eth0
iface eth0 inet manual

auto eth0.1
iface eth0.1 inet dhcp

auto eth0.10
iface eth0.10 inet static
address 192.168.10.254
netmask 255.255.255.0

auto eth0.6
iface eth0.6 inet static
address 192.168.6.254
netmask 255.255.255.0

auto eth0.7
iface eth0.7 inet static
address 192.168.7.254
netmask 255.255.255.0

auto eth0.2
iface eth0.2 inet static
address 0.0.0.0
netmask 0.0.0.0
Run Code Online (Sandbox Code Playgroud)

这是ldc(172.16.1.50/16)对vlan1广播域的不同arp who-has请求的输出

ldc:~# arping 172.16.1.145
ARPING 172.16.1.145
60 bytes …
Run Code Online (Sandbox Code Playgroud)

networking linux debian arp 802.1

3
推荐指数
1
解决办法
3556
查看次数

标签 统计

802.1 ×1

arp ×1

debian ×1

linux ×1

networking ×1