I purchased a new unmanaged switch for my network and unfortunately, it has IGMP snooping. After running into problems with the new switch forwarding multicast for the CoAP protocol 224.0.1.187 I contacted the vendor and was told that it only supports IGMP V1/V2 snooping. It looks like the FreeBSD has been using version 3 since about version 8 however I noticed in sysctl you could change the default version. I changed the setting but it seems to be ignored. Has anyone else had this problem? how do I or can I get it to use v2?
root@homebridge:/ # sysctl -a | grep igmp
net.inet.igmp.gsrdelay: 10
net.inet.igmp.default_version: 2
net.inet.igmp.legacysupp: 1
net.inet.igmp.v2enable: 1
net.inet.igmp.v1enable: 1
net.inet.igmp.sendlocal: 1
net.inet.igmp.sendra: 0
net.inet.igmp.recvifkludge: 1
root@homebridge:/ # ifmcstat
lo0:
inet 127.0.0.1
igmpv3 rv 2 qi 125 qri 10 uri 3
group 224.0.1.187 mode exclude
group 224.0.0.251 mode exclude
inet6 fe80::1%lo0 scopeid 0x1
sysctl net.inet6.mld.ifinfo: No such file or directory
group ff02::fb%lo0 scopeid 0x1 mode exclude
inet 127.0.0.1
igmpv3 rv 2 qi 125 qri 10 uri 3
group 224.0.0.1 mode exclude
inet6 fe80::1%lo0 scopeid 0x1
sysctl net.inet6.mld.ifinfo: No such file or directory
group ff01::1%lo0 scopeid 0x1 mode exclude
group ff02::2:48d4:10a%lo0 scopeid 0x1 mode exclude
group ff02::2:ff48:d401%lo0 scopeid 0x1 mode exclude
group ff02::1%lo0 scopeid 0x1 mode exclude
group ff02::1:ff00:1%lo0 scopeid 0x1 mode exclude
epair0b:
inet 192.168.15.11
igmpv3 rv 2 qi 125 qri 100 uri 3
group 224.0.1.187 mode exclude
mcast-macaddr 01:00:5e:00:01:bb
group 239.255.255.250 mode exclude
mcast-macaddr 01:00:5e:7f:ff:fa
group 224.0.0.251 mode exclude
mcast-macaddr 01:00:5e:00:00:fb
group 224.0.0.1 mode exclude
mcast-macaddr 01:00:5e:00:00:01
root@homebridge:/ # tcpdump -n -vv "host 192.168.15.11 && ip proto 2"
tcpdump: listening on epair0b, link-type EN10MB (Ethernet), capture size 262144 bytes
13:50:26.608663 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [DF], proto IGMP (2), length 52)
192.168.15.11 > 224.0.0.22: igmp v3 report, 3 group record(s) [gaddr 224.0.1.187 is_ex { }] [gaddr 239.255.255.250 is_ex { }] [gaddr 224.0.0.251 is_ex { }]
root@homebridge:/ # sysctl -a | grep igmp
net.inet.igmp.gsrdelay: 10
net.inet.igmp.default_version: 2
net.inet.igmp.legacysupp: 1
net.inet.igmp.v2enable: 1
net.inet.igmp.v1enable: 1
net.inet.igmp.sendlocal: 1
net.inet.igmp.sendra: 0
net.inet.igmp.recvifkludge: 1
root@homebridge:/ # ifmcstat
lo0:
inet 127.0.0.1
igmpv3 rv 2 qi 125 qri 10 uri 3
group 224.0.1.187 mode exclude
group 224.0.0.251 mode exclude
inet6 fe80::1%lo0 scopeid 0x1
sysctl net.inet6.mld.ifinfo: No such file or directory
group ff02::fb%lo0 scopeid 0x1 mode exclude
inet 127.0.0.1
igmpv3 rv 2 qi 125 qri 10 uri 3
group 224.0.0.1 mode exclude
inet6 fe80::1%lo0 scopeid 0x1
sysctl net.inet6.mld.ifinfo: No such file or directory
group ff01::1%lo0 scopeid 0x1 mode exclude
group ff02::2:48d4:10a%lo0 scopeid 0x1 mode exclude
group ff02::2:ff48:d401%lo0 scopeid 0x1 mode exclude
group ff02::1%lo0 scopeid 0x1 mode exclude
group ff02::1:ff00:1%lo0 scopeid 0x1 mode exclude
epair0b:
inet 192.168.15.11
igmpv3 rv 2 qi 125 qri 100 uri 3
group 224.0.1.187 mode exclude
mcast-macaddr 01:00:5e:00:01:bb
group 239.255.255.250 mode exclude
mcast-macaddr 01:00:5e:7f:ff:fa
group 224.0.0.251 mode exclude
mcast-macaddr 01:00:5e:00:00:fb
group 224.0.0.1 mode exclude
mcast-macaddr 01:00:5e:00:00:01
root@homebridge:/ # tcpdump -n -vv "host 192.168.15.11 && ip proto 2"
tcpdump: listening on epair0b, link-type EN10MB (Ethernet), capture size 262144 bytes
13:50:26.608663 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [DF], proto IGMP (2), length 52)
192.168.15.11 > 224.0.0.22: igmp v3 report, 3 group record(s) [gaddr 224.0.1.187 is_ex { }] [gaddr 239.255.255.250 is_ex { }] [gaddr 224.0.0.251 is_ex { }]
Last edited: