FreeBSD, OSPF, and multicast

Claude Marinier claude.marinier at cae.com
Thu Oct 31 19:07:44 CET 2013


On Thursday, October 31, 2013 11:37 AM, Tapio Haapala wrote:
> 31.10.2013 15:38, Claude Marinier kirjoitti:
> > Hi,
> >
> > I am building a WAN emulator using a FreeBSD server with DummyNet for WAN
> > effects and BIRD for OSPF. At first, no multicast packets left the server;
> > then I added a default route and they left by that interface only. How can
> > I configure the server so BIRD sends HELLO packets out all the interfaces.
>
> Did you set ip for each interface? You need valid ip for each interface.

Yes. Here are details.

bce0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
                options=c01bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,VLAN_HWTSO,LINKSTATE>
                ether 00:1e:0b:90:2e:e0
                inet 131.140.113.14 netmask 0xfffffff8 broadcast 131.140.113.15
                inet6 fe80::21e:bff:fe90:2ee0%bce0 prefixlen 64 scopeid 0x1
                nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
                media: Ethernet 100baseTX <full-duplex>
                status: active
bce1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
                options=c01bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,VLAN_HWTSO,LINKSTATE>
                ether 00:1e:0b:90:2e:dc
                inet 131.140.113.189 netmask 0xfffffff8 broadcast 131.140.113.191
                inet6 fe80::21e:bff:fe90:2edc%bce1 prefixlen 64 scopeid 0x2
                nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
                media: Ethernet 100baseTX <full-duplex>
                status: active
ipfw0: flags=8801<UP,SIMPLEX,MULTICAST> metric 0 mtu 65536
                nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
                options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
                inet6 ::1 prefixlen 128
                inet6 fe80::1%lo0 prefixlen 64 scopeid 0xa
                inet 127.0.0.1 netmask 0xff000000
                nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>

> > Details:
> >
> > FreeBSD WAMemu 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013
> > root at bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
> >
> > bird-1.3.11
> >
> > P.S. I got it working by avoiding multicast with 'type nonbroadcast' and 'neighbors'.
>
> If all your routers in l2 segment use bird you can also use "real
> broadcast yes;" for interface. Then you do not need list your
> neighbors. It is wery usefull addon when you have problems with multicast.

Would using "real broadcast yes;" cause BIRD to send HELLO out all
interfaces? The interfaces are on separate sub-networks; this would
not work but I am curious.

When I set one of the interfaces as the default route, BIRD can form
a full adjacency with the Cisco router on that side but not on the
other. I can see the HELLO packets leaving BIRD by that interface. I
can change the default route to the other interface and then see HELLO
leaving that interface.

We plan to connect four Cisco routers to BIRD; each router will have a
simulated remote site behind it.

I am learning a lot as I research this problem. This is good but I
need a solution. :-)

Is there some FreeBSD setting which enables multicast to work properly?

Does BIRD send HELLO out each interface individually?

--
C Marinier

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20131031/09a3ee0f/attachment-0001.html>


More information about the Bird-users mailing list