Mailing List Archive

[Bug 420] ospfd binds to wrong interfaces for multicast [FreeBSD 7/amd64]
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug
report.

http://bugzilla.quagga.net/show_bug.cgi?id=420





------- Additional Comments From wiwi@progon.net 2007-11-10 11:10 -------
# netstat -g

IPv4 Multicast Group Memberships
Group Link-layer Address Netif
224.0.0.1 01:00:5e:00:00:01 em0
224.0.0.1 01:00:5e:00:00:01 em3
224.0.0.1 01:00:5e:00:00:01 em7
224.0.0.1 <none> lo0
224.0.0.1 <none> lo1

# /usr/local/sbin/ospfd --vty_addr 127.0.0.1

2007/11/10 11:09:18 OSPF: OSPFd 0.99.9 starting: vty@2604
2007/11/10 11:09:18 OSPF: interface 81.94.118.8 [5] join AllSPFRouters Multicast
group.
2007/11/10 11:09:18 OSPF: can't setsockopt IP_ADD_MEMBERSHIP (fd 5, addr
81.94.118.72, ifindex 9, AllSPFRouters): Invalid argument; perhaps a kernel
limit on # of multicast group memberships has been exceeded?
2007/11/10 11:09:18 OSPF: *** sendmsg in ospf_write failed to 224.0.0.5, id 0,
off 0, len 64, interface em7, mtu 1500: No buffer space available

# netstat -g

IPv4 Multicast Group Memberships
Group Link-layer Address Netif
224.0.0.5 01:00:5e:00:00:05 em0
224.0.0.1 01:00:5e:00:00:01 em0
224.0.0.1 01:00:5e:00:00:01 em3
224.0.0.1 01:00:5e:00:00:01 em7
224.0.0.1 <none> lo0
224.0.0.1 <none> lo1

The interfaces for ospf are em3 and em7 (not em0!)

# ifconfig

bce0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500

options=1bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4>
ether 00:1a:a0:15:f3:46
media: Ethernet autoselect (none)
status: no carrier
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWCSUM>
ether 00:0e:0c:c5:b7:b0
inet 10.32.104.75 netmask 0xffff0000 broadcast 10.32.255.255
media: Ethernet autoselect (1000baseTX <full-duplex>)
status: active
em1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWCSUM>
ether 00:0e:0c:c5:b7:b1
media: Ethernet autoselect
status: no carrier
em2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWCSUM>
ether 00:0e:0c:c5:b7:b2
media: Ethernet autoselect
status: no carrier
em3: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWCSUM>
ether 00:0e:0c:c5:b7:b3
inet 81.94.118.8 netmask 0xffffffc0 broadcast 81.94.118.63
media: Ethernet autoselect (1000baseTX <full-duplex>)
status: active
em4: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWCSUM>
ether 00:0e:0c:c5:b3:8c
media: Ethernet autoselect
status: no carrier
em5: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWCSUM>
ether 00:0e:0c:c5:b3:8d
media: Ethernet autoselect
status: no carrier
em6: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWCSUM>
ether 00:0e:0c:c5:b3:8e
media: Ethernet autoselect
status: no carrier
em7: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWCSUM>
ether 00:0e:0c:c5:b3:8f
inet 81.94.118.72 netmask 0xffffffc0 broadcast 81.94.118.127
media: Ethernet autoselect
status: no carrier
bce1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500

options=1bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4>
ether 00:1a:a0:15:f3:44
media: Ethernet autoselect (none)
status: no carrier
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0xb
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
lo1: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
inet 81.94.118.136 netmask 0xffffffff

# cat /usr/local/etc

!
! Zebra configuration saved from vty
! 2007/11/09 23:04:36
!
hostname ospfd
password zebra
log stdout
!
!
!
interface em3
ip ospf cost 1000
ip ospf priority 0
!
interface lo1
ip ospf cost 5000
!
router ospf
ospf router-id 81.94.118.136
network 81.94.118.0/26 area 0.0.0.0
network 81.94.118.72/26 area 0.0.0.0
network 81.94.118.136/32 area 0.0.0.0
!
line vty

# uname -a
FreeBSD monitor.as34288.net 7.0-BETA2 FreeBSD 7.0-BETA2 #2: Fri Nov 9 23:35:59
UTC 2007 root@monitor.as34288.net:/usr/src/sys/amd64/compile/monitor amd64



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
Quagga-bugs mailing list
Quagga-bugs@lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-bugs
[Bug 420] ospfd binds to wrong interfaces for multicast [FreeBSD 7/amd64] [ In reply to ]
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug
report.

http://bugzilla.quagga.net/show_bug.cgi?id=420


jeremy@vtdn.net changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |jeremy@vtdn.net




------- Additional Comments From jeremy@vtdn.net 2007-11-23 15:33 -------
Same problem:
FreeBSD mars.oxford1.vtdn.net 7.0-BETA3 FreeBSD 7.0-BETA3 #0: Thu Nov 22
10:39:23 EST 2007 mars.oxford1.vtdn.net:/usr/obj/usr/src/sys/VTDN i386

Using fxp0 and xl0, when attempting to do OSPF over fxp0 (ospfd itself confirms
that it joined the mcast group for fxp0) it actually joins the ospf multicast
group on xl0.. which is completely the wrong interface.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
Quagga-bugs mailing list
Quagga-bugs@lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-bugs
[Bug 420] ospfd binds to wrong interfaces for multicast [FreeBSD 7/amd64] [ In reply to ]
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug
report.

http://bugzilla.quagga.net/show_bug.cgi?id=420





------- Additional Comments From ajschorr@alumni.princeton.edu 2007-11-23 15:40 -------
Can you please post the output of zebra 'show interface' and ospfd 'show ip ospf
interface' on a system that is exhibiting this problem?

Thanks,
Andy



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
Quagga-bugs mailing list
Quagga-bugs@lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-bugs