bird6 and protocol device

Ondrej Zajicek santiago at crfreenet.org
Thu Nov 17 20:47:02 CET 2011


On Wed, Nov 16, 2011 at 03:32:16PM +0400, Alexander V. Chernikov wrote:
> On 16.11.2011 14:58, Alexander Shikoff wrote:
> > Hello All,
> Hi!
> > 
> > I've started to set up an IPv6 route-server and got first issue:
> > 
> > [...]
> > protocol device {
> >         primary "bge0" 2001:7f8:63::ffff/64;
> > }
> > [...]
> > 
> > # ifconfig bge0
> > ifconfig bge0
> > bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
> >         options=8009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LINKSTATE>
> >         ether 00:21:9b:fc:d5:e4
> >         inet x.x.x.0 netmask 0xfffffe00 broadcast x.x.x.255
> >         inet6 2001:7f8:63::ffff prefixlen 64 
> >         nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
> >         media: Ethernet autoselect (1000baseT <full-duplex>)
> >         status: active
> > 
> > bird6 fails to start with error:
> > bird: /usr/local/etc/bird6.conf, line 92: Invalid prefix
> You have to zero all wildcard bits (e.g. 2001:7f8:63::/64) if you're
> specifying prefix.

Yes, note also that 'primary' option is AFAIK pointless on IPv6 and more
or less pointless on IPv4. To specify source address of BGP session,
use 'source address' option, or 'local IP as ASN' syntax in the
BGP session.


-- 
Elen sila lumenn' omentielvo

Ondrej 'SanTiago' Zajicek (email: santiago at crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20111117/620c5e7a/attachment-0001.asc>


More information about the Bird-users mailing list