Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Mar 2007 12:37:37 -0400
From:      Tom Pusateri <pusateri@bangj.com>
To:        freebsd-net@freebsd.org
Cc:        Tom Pusateri <pusateri@bangj.com>
Subject:   IPv6 bridge0 link-local address
Message-ID:  <20070315163737.38462B8CA@jj.bangj.com>

next in thread | raw e-mail | index | archive | help
I've configured a bridge0 interface that bridges fxp0 and em0.
I have a global IPv6 address configured on it and IPv6 works fine.

# ifconfig bridge0
bridge0: flags=8043<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
        inet x.x.x.82 netmask 0xfffffff0 broadcast x.x.x.95
        inet6 2001:4877:1777:1001::1 prefixlen 64 
        ether ac:de:48:49:71:91
        priority 32768 hellotime 2 fwddelay 15 maxage 20
        member: fxp0 flags=3<LEARNING,DISCOVER>
        member: em0 flags=3<LEARNING,DISCOVER>

I'm trying to run route6d and it aborts because there is no link local
address on the bridge0 interface. I can't even tell route6d to ignore
the interface because it won't get past initialization.

Is anyone routing route6d over a bridge0 interface and if so,
did you add a link local address manually (can you even do that)
or some other trick?

# route6d -d
newif fxp0 <UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST>
found address fe80:1::202:a5ff:fe87:4012/64
        index: 1, mtu: 1500, metric: 0
join fxp0 ff02::9
newif em0 <UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST>
found address fe80:2::20e:cff:fe9f:f40a/64
        index: 2, mtu: 1500, metric: 0
join em0 ff02::9
newif fxp1 <UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST>
found address fe80:3::2d0:b7ff:fe3c:9dae/64
        index: 3, mtu: 1500, metric: 0
join fxp1 ff02::9
found address 2001:4877:1713:1002::1/64
newif fxp2 <UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST>
found address fe80:4::2d0:b7ff:fe3f:42c0/64
        index: 4, mtu: 1500, metric: 0
join fxp2 ff02::9
found address 2001:4877:1713:1003::1/64
newif lo0 <UP,LOOPBACK,RUNNING,MULTICAST>
found address ::1/128
found address fe80:6::1/64
        index: 6, mtu: 1500, metric: 0
newif bridge0 <UP,BROADCAST,RUNNING,MULTICAST>
found address 2001:4877:1713:1001::1/64
newif gif0 <UP,POINTOPOINT,RUNNING,MULTICAST>
found address fe80:8::202:a5ff:fe87:4012/64 -- ::
        index: 8, mtu: 1280, metric: 0
join gif0 ff02::9
found address 2001:4877:1700:29::2/128 -- ::
newif tun0 <UP,POINTOPOINT,RUNNING,MULTICAST>
found address fe80:9::202:a5ff:fe87:4012/64 -- ::
        index: 9, mtu: 1500, metric: 0
join tun0 ff02::9
newif gif1 <UP,POINTOPOINT,RUNNING,MULTICAST>
found address 2001:4877:1713:1011::1/64 -- ::
found address fe80:b::202:a5ff:fe87:4012/64 -- ::
        index: 11, mtu: 1280, metric: 0
join gif1 ff02::9
No ifindex found at bridge0 (no link-local address?)

Thanks,
Tom



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070315163737.38462B8CA>