我有通过 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)