H3C核心三层查看vlan 11 interface的mac,即vlan11段的网关mac

<H3C_S5560_L3>dis inter vlan 11
Vlan-interface11
Current state: UP
Line protocol state: UP
Description: Vlan-interface11 Interface
Bandwidth: 10000000 kbps
Maximum transmission unit: 1500
Internet address: 172.16.11.254/24 (primary)
IP packet frame type: Ethernet II, hardware address: 38ad-be41-1165
IPv6 packet frame type: Ethernet II, hardware address: 38ad-be41-1165
Last clearing of counters: Never

vlan 11电脑端查看网关mac

cmd

arp -a

接口: 172.16.11.12 --- 0xf
Internet 地址 物理地址 类型
172.16.11.48 6c-4b-90-78-56-1a 动态
172.16.11.55 a2-66-bf-36-ff-9f 动态
172.16.11.254 38-ad-be-41-11-65 动态
172.16.11.255 ff-ff-ff-ff-ff-ff 静态
224.0.0.2 01-00-5e-00-00-02 静态
224.0.0.22 01-00-5e-00-00-16 静态
224.0.0.251 01-00-5e-00-00-fb 静态
224.0.0.252 01-00-5e-00-00-fc 静态
239.192.152.143 01-00-5e-40-98-8f 静态
239.255.255.250 01-00-5e-7f-ff-fa 静态
255.255.255.255 ff-ff-ff-ff-ff-ff 静态

如果上面电脑端与核心交换端的网关mac不一致说明中了arp病毒

解决

电脑端

cmd

(1)临时 arp -d *

清空arp所有缓存 让电脑重新学习网关地址 临时恢复网络 但治标不治本

以下从根本上找到病因且解决

电脑端通过命令静态绑定网关,锁死网关

arp -s 网关IP 网关mac

如arp -s 172.16.11.254 38-ad-be-41-11-65

 

posted @ 2026-10-26 10:48  techNote  阅读(6)  评论(0)    收藏  举报