bird6 and protocol device
Hello All, 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 /usr/local/etc/rc.d/bird6: WARNING: failed to start bird6 What's wrong? Thanks in advance! -- MINO-RIPE
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.
/usr/local/etc/rc.d/bird6: WARNING: failed to start bird6
What's wrong? Thanks in advance!
-- WBR, Alexander
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@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."
participants (3)
-
Alexander Shikoff -
Alexander V. Chernikov -
Ondrej Zajicek