奇怪的是,我们的 cisco SG300 正在通过 IPv4(不是 IPv6)制作“路由器公告”/“移动 IP 广告”(ICMP 类型 9)。它们来自交换机的 IP/MAC,发往 224.0.0.1/0100.5e00.0001
root@ftp:~# tcpdump -ennvvs0 -i eth0 host 224.0.0.1
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes
15:49:30.511878 34:62:88:74:35:7e > 01:00:5e:00:00:01, ethertype IPv4 (0x0800), length 60: (tos 0xe0, ttl 1, id 31447, offset 0, flags [none], proto ICMP (1), length 36)
192.168.161.116 > 224.0.0.1: ICMP router advertisement lifetime 30:00 1: {192.168.161.116 0}, length 16
15:49:36.598195 dc:eb:94:75:69:1e > 01:00:5e:00:00:01, ethertype IPv4 (0x0800), length 60: (tos 0x0, ttl 1, id 36901, offset 0, flags [none], proto ICMP (1), length 36)
192.168.161.102 > 224.0.0.1: ICMP router advertisement lifetime 30:00 1: {192.168.161.102 0}, length 16
15:50:01.276335 88:f0:77:58:81:16 > 01:00:5e:00:00:01, ethertype IPv4 (0x0800), length 60: (tos 0xe0, ttl 1, id 43069, offset 0, flags [none], proto ICMP (1), length 36)
192.168.161.101 > 224.0.0.1: ICMP router advertisement lifetime 30:00 1: {192.168.161.101 0}, length 16
^C
3 packets captured
3 packets received by filter
0 packets dropped by kernel
大多数设备似乎都忽略了它们。但一些 HP 打印机看到它们并更改了其手动配置的默认网关以指向 RA 的发件人。
这些开关不提供任何注意路径。如何禁用这些公告?
配置:
sg10-1#sho run
config-file-header
sg10-1
v1.4.7.6 / R800_NIK_1_4_194_194
CLI v1.0
set system mode router
file SSD indicator encrypted
@
ssd-control-start
ssd config
ssd file passphrase control unrestricted
no ssd file integrity control
ssd-control-end cb0a3fdb1f3a1af4e4430033719968c0
!
vlan database
vlan 100,110,161-162,666
exit
voice vlan oui-table add 0001e3 Siemens_AG_phone________
voice vlan oui-table add 00036b Cisco_phone_____________
voice vlan oui-table add 00096e Avaya___________________
voice vlan oui-table add 000fe2 H3C_Aolynk______________
voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone
voice vlan oui-table add 00d01e Pingtel_phone___________
voice vlan oui-table add 00e075 Polycom/Veritel_phone___
voice vlan oui-table add 00e0bb 3Com_phone______________
hostname sg10-1
logging host 192.168.161.3
no passwords complexity enable
username foobar password encrypted **** privilege 15
ip ssh server
snmp-server location HydroLab
snmp-server community **** ro view Default
clock timezone " " 0 minutes 0
clock source sntp
!
interface vlan 1
shutdown
!
interface vlan 100
name offship
!
interface vlan 110
name Telepresence
!
interface vlan 161
name SSSG
ip address 192.168.161.101 255.255.255.0
!
interface vlan 162
name ALVIN
!
interface vlan 666
name unused
shutdown
!
interface gigabitethernet1
switchport mode access
switchport access vlan 162
!
interface gigabitethernet2
switchport mode access
switchport access vlan 162
!
interface gigabitethernet3
switchport mode access
switchport access vlan 162
!
interface gigabitethernet4
switchport mode access
switchport access vlan 100
!
interface gigabitethernet5
switchport mode access
switchport access vlan 100
!
interface gigabitethernet6
description HIVE8
switchport trunk allowed vlan add 100,110,162
switchport trunk native vlan 666
!
interface gigabitethernet7
switchport mode access
switchport access vlan 100
!
interface gigabitethernet10
description Trunk_C2960x-1_1/0/27
switchport trunk allowed vlan add 100,161-162
switchport trunk native vlan 666
!
exit