IPb6 BGP between two birds
Christian Riede
christian.riede at it-connect.de
Fri Mar 4 11:54:18 CET 2011
Hello,
to make it simpler to trace, i disabled all other bgp instances that
try to connect to the affected systems.
System 1:
exacom-kap-gw01:/etc/bird # ifconfig
eth0 Link encap:Ethernet Hardware Adresse 00:50:56:A6:45:EC
inet Adresse:194.41.0.9 Bcast:194.41.0.15 Maske:255.255.255.240
inet6 Adresse: 2001:67c:39c:8000::8000:9/64 Gültigkeitsbereich:Global
inet6 Adresse: 2a01:198:3b0::9/64 Gültigkeitsbereich:Global
inet6 Adresse: fe80::250:56ff:fea6:45ec/64 Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:10606253 errors:0 dropped:0 overruns:0 frame:0
TX packets:7796764 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 Sendewarteschlangenlänge:1000
RX bytes:2511921376 (2395.5 Mb) TX bytes:1082787220 (1032.6 Mb)
Interrupt:18 Basisadresse:0x1424
eth1 Link encap:Ethernet Hardware Adresse 00:50:56:A6:31:CA
inet Adresse:194.41.0.21 Bcast:194.41.0.23 Maske:255.255.255.248
inet6 Adresse: 2001:67c:39c:8001::8000:9/64 Gültigkeitsbereich:Global
inet6 Adresse: 2a01:198:3b0:1::15/64 Gültigkeitsbereich:Global
inet6 Adresse: fe80::250:56ff:fea6:31ca/64 Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5170119 errors:0 dropped:0 overruns:0 frame:0
TX packets:6830923 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 Sendewarteschlangenlänge:1000
RX bytes:1850214886 (1764.5 Mb) TX bytes:1021661242 (974.3 Mb)
Interrupt:19 Basisadresse:0x14a4
eth2 Link encap:Ethernet Hardware Adresse 00:50:56:A6:22:DB
inet Adresse:192.168.0.2 Bcast:192.168.0.255 Maske:255.255.255.0
inet6 Adresse: fd17:fdbd:a9e6:8000::8000:2/64 Gültigkeitsbereich:Global
inet6 Adresse: fe80::250:56ff:fea6:22db/64 Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7 errors:0 dropped:0 overruns:0 frame:0
TX packets:204 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 Sendewarteschlangenlänge:1000
RX bytes:420 (420.0 b) TX bytes:9348 (9.1 Kb)
Interrupt:16 Basisadresse:0x1824
lo Link encap:Lokale Schleife
inet Adresse:127.0.0.1 Maske:255.0.0.0
inet6 Adresse: ::1/128 Gültigkeitsbereich:Maschine
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:375185 errors:0 dropped:0 overruns:0 frame:0
TX packets:375185 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 Sendewarteschlangenlänge:0
RX bytes:36180652 (34.5 Mb) TX bytes:36180652 (34.5 Mb)
exacom-kap-gw01:/etc/bird # bird6 -d
04-03-2011 11:49:35 <TRACE> direct1: Initializing
04-03-2011 11:49:35 <TRACE> kernel1: Initializing
04-03-2011 11:49:35 <TRACE> device1: Initializing
04-03-2011 11:49:35 <TRACE> bgp1: Initializing
04-03-2011 11:49:35 <TRACE> direct1: Starting
04-03-2011 11:49:35 <TRACE> direct1: State changed to feed
04-03-2011 11:49:35 <TRACE> kernel1: Starting
04-03-2011 11:49:35 <TRACE> kernel1: State changed to feed
04-03-2011 11:49:35 <TRACE> device1: Starting
04-03-2011 11:49:35 <TRACE> device1: Scanning interfaces
04-03-2011 11:49:35 <TRACE> direct1 < primary address ::1/128 on interface lo added
04-03-2011 11:49:35 <TRACE> direct1 < primary address 2001:67c:39c:8000::/64 on interface eth0 added
04-03-2011 11:49:35 <TRACE> direct1 > added [best] 2001:67c:39c:8000::/64 dev eth0
04-03-2011 11:49:35 <TRACE> direct1 < secondary address 2a01:198:3b0::/64 on interface eth0 added
04-03-2011 11:49:35 <TRACE> direct1 > added [best] 2a01:198:3b0::/64 dev eth0
04-03-2011 11:49:35 <TRACE> direct1 < secondary address fe80::/64 on interface eth0 added
04-03-2011 11:49:35 <TRACE> direct1 < primary address 2001:67c:39c:8001::/64 on interface eth1 added
04-03-2011 11:49:35 <TRACE> direct1 > added [best] 2001:67c:39c:8001::/64 dev eth1
04-03-2011 11:49:35 <TRACE> direct1 < secondary address 2a01:198:3b0:1::/64 on interface eth1 added
04-03-2011 11:49:35 <TRACE> direct1 > added [best] 2a01:198:3b0:1::/64 dev eth1
04-03-2011 11:49:35 <TRACE> direct1 < secondary address fe80::/64 on interface eth1 added
04-03-2011 11:49:35 <TRACE> direct1 < primary address fd17:fdbd:a9e6:8000::/64 on interface eth2 added
04-03-2011 11:49:35 <TRACE> direct1 > added [best] fd17:fdbd:a9e6:8000::/64 dev eth2
04-03-2011 11:49:35 <TRACE> direct1 < secondary address fe80::/64 on interface eth2 added
04-03-2011 11:49:35 <TRACE> device1: State changed to feed
04-03-2011 11:49:35 <TRACE> bgp1: Starting
04-03-2011 11:49:35 <INFO> Started
04-03-2011 11:49:35 <TRACE> direct1 < primary address ::1/128 on interface lo added
04-03-2011 11:49:35 <TRACE> direct1 < primary address 2001:67c:39c:8000::/64 on interface eth0 added
04-03-2011 11:49:35 <TRACE> direct1 > ignored 2001:67c:39c:8000::/64 dev eth0
04-03-2011 11:49:35 <TRACE> direct1 < secondary address 2a01:198:3b0::/64 on interface eth0 added
04-03-2011 11:49:35 <TRACE> direct1 > ignored 2a01:198:3b0::/64 dev eth0
04-03-2011 11:49:35 <TRACE> direct1 < secondary address fe80::/64 on interface eth0 added
04-03-2011 11:49:35 <TRACE> direct1 < primary address 2001:67c:39c:8001::/64 on interface eth1 added
04-03-2011 11:49:35 <TRACE> direct1 > ignored 2001:67c:39c:8001::/64 dev eth1
04-03-2011 11:49:35 <TRACE> direct1 < secondary address 2a01:198:3b0:1::/64 on interface eth1 added
04-03-2011 11:49:35 <TRACE> direct1 > ignored 2a01:198:3b0:1::/64 dev eth1
04-03-2011 11:49:35 <TRACE> direct1 < secondary address fe80::/64 on interface eth1 added
04-03-2011 11:49:35 <TRACE> direct1 < primary address fd17:fdbd:a9e6:8000::/64 on interface eth2 added
04-03-2011 11:49:35 <TRACE> direct1 > ignored fd17:fdbd:a9e6:8000::/64 dev eth2
04-03-2011 11:49:35 <TRACE> direct1 < secondary address fe80::/64 on interface eth2 added
04-03-2011 11:49:35 <TRACE> direct1: State changed to up
04-03-2011 11:49:35 <TRACE> kernel1: Connected to table master
04-03-2011 11:49:35 <TRACE> kernel1 < rejected by protocol 2001:67c:39c:8001::/64 dev eth1
04-03-2011 11:49:35 <TRACE> kernel1 < rejected by protocol 2001:67c:39c:8000::/64 dev eth0
04-03-2011 11:49:35 <TRACE> kernel1 < rejected by protocol 2a01:198:3b0::/64 dev eth0
04-03-2011 11:49:35 <TRACE> kernel1 < rejected by protocol 2a01:198:3b0:1::/64 dev eth1
04-03-2011 11:49:35 <TRACE> kernel1 < rejected by protocol fd17:fdbd:a9e6:8000::/64 dev eth2
04-03-2011 11:49:35 <TRACE> kernel1: State changed to up
04-03-2011 11:49:35 <TRACE> device1: State changed to up
04-03-2011 11:49:35 <TRACE> bgp1: Started
04-03-2011 11:49:35 <TRACE> bgp1: Connect delayed by 5 seconds
04-03-2011 11:49:35 <TRACE> kernel1: Scanning routing table
04-03-2011 11:49:35 <TRACE> kernel1: Pruning table master
04-03-2011 11:49:39 <TRACE> bgp1: Connecting to 2001:67c:39c:8001::8000:a from local address 2001:67c:39c:8001::8000:9
04-03-2011 11:49:39 <TRACE> bgp1: Connected
04-03-2011 11:49:39 <TRACE> bgp1: Sending OPEN(ver=4,as=65534,hold=240,id=c2290009)
04-03-2011 11:49:39 <TRACE> bgp1: Incoming connection from 2001:67c:39c:8001::8000:a (port 56387) accepted
04-03-2011 11:49:39 <TRACE> bgp1: Sending OPEN(ver=4,as=65534,hold=240,id=c2290009)
04-03-2011 11:49:45 <TRACE> device1: Scanning interfaces
04-03-2011 11:49:55 <TRACE> device1: Scanning interfaces
04-03-2011 11:49:55 <TRACE> kernel1: Scanning routing table
04-03-2011 11:49:55 <TRACE> kernel1: Pruning table master
04-03-2011 11:50:05 <TRACE> device1: Scanning interfaces
04-03-2011 11:50:15 <TRACE> device1: Scanning interfaces
04-03-2011 11:50:15 <TRACE> kernel1: Scanning routing table
04-03-2011 11:50:15 <TRACE> kernel1: Pruning table master
04-03-2011 11:50:25 <TRACE> device1: Scanning interfaces
^C
exacom-kap-gw01:/etc/bird #
bird6.conf:
log syslog { debug, trace, info, remote, warning, error, auth, fatal, bug };
log stderr all;
debug protocols all;
router id 194.41.0.9;
listen bgp v6only;
protocol direct {
}
protocol kernel {
persist; # Don't remove routes on bird shutdown
scan time 20; # Scan kernel routing table every 20 seconds
export all; # Default is export none
}
protocol device {
scan time 10; # Scan interfaces every 10 seconds
}
protocol bgp {
local as 65534;
neighbor 2001:67c:39c:8001::8000:a as 65534;
}
System 2:
exacom-kap-gw02:/etc/bird # ifconfig
eth0 Link encap:Ethernet Hardware Adresse 00:50:56:A6:01:EE
inet Adresse:194.41.0.10 Bcast:194.41.0.15 Maske:255.255.255.240
inet6 Adresse: 2001:67c:39c:8000::8000:a/64 Gültigkeitsbereich:Global
inet6 Adresse: fe80::250:56ff:fea6:1ee/64 Gültigkeitsbereich:Verbindung
inet6 Adresse: 2a01:198:3b0::a/64 Gültigkeitsbereich:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8738537 errors:0 dropped:0 overruns:0 frame:0
TX packets:6870942 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 Sendewarteschlangenlänge:1000
RX bytes:2451502513 (2337.9 Mb) TX bytes:1011280035 (964.4 Mb)
Interrupt:18 Basisadresse:0x1424
eth1 Link encap:Ethernet Hardware Adresse 00:50:56:A6:66:E9
inet Adresse:194.41.0.22 Bcast:194.41.0.23 Maske:255.255.255.248
inet6 Adresse: 2001:67c:39c:8001::8000:a/64 Gültigkeitsbereich:Global
inet6 Adresse: 2a01:198:3b0:1::a/64 Gültigkeitsbereich:Global
inet6 Adresse: fe80::250:56ff:fea6:66e9/64 Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6296877 errors:0 dropped:0 overruns:0 frame:0
TX packets:6303823 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 Sendewarteschlangenlänge:1000
RX bytes:2077973197 (1981.7 Mb) TX bytes:959049512 (914.6 Mb)
Interrupt:19 Basisadresse:0x14a4
eth2 Link encap:Ethernet Hardware Adresse 00:50:56:A6:7F:66
inet Adresse:192.168.0.3 Bcast:192.168.0.255 Maske:255.255.255.0
inet6 Adresse: fe80::250:56ff:fea6:7f66/64 Gültigkeitsbereich:Verbindung
inet6 Adresse: fd17:fdbd:a9e6:8000::8000:3/64 Gültigkeitsbereich:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5036 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 Sendewarteschlangenlänge:1000
RX bytes:317550 (310.1 Kb) TX bytes:636 (636.0 b)
Interrupt:16 Basisadresse:0x1824
lo Link encap:Lokale Schleife
inet Adresse:127.0.0.1 Maske:255.0.0.0
inet6 Adresse: ::1/128 Gültigkeitsbereich:Maschine
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:188469 errors:0 dropped:0 overruns:0 frame:0
TX packets:188469 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 Sendewarteschlangenlänge:0
RX bytes:10742089 (10.2 Mb) TX bytes:10742089 (10.2 Mb)
exacom-kap-gw02:/etc/bird # bird6 -d
04-03-2011 11:49:35 <TRACE> direct1: Initializing
04-03-2011 11:49:35 <TRACE> kernel1: Initializing
04-03-2011 11:49:35 <TRACE> device1: Initializing
04-03-2011 11:49:35 <TRACE> bgp1: Initializing
04-03-2011 11:49:35 <TRACE> direct1: Starting
04-03-2011 11:49:35 <TRACE> direct1: State changed to feed
04-03-2011 11:49:35 <TRACE> kernel1: Starting
04-03-2011 11:49:35 <TRACE> kernel1: State changed to feed
04-03-2011 11:49:35 <TRACE> device1: Starting
04-03-2011 11:49:35 <TRACE> device1: Scanning interfaces
04-03-2011 11:49:35 <TRACE> direct1 < primary address ::1/128 on interface lo added
04-03-2011 11:49:35 <TRACE> direct1 < primary address 2001:67c:39c:8000::/64 on interface eth0 added
04-03-2011 11:49:35 <TRACE> direct1 > added [best] 2001:67c:39c:8000::/64 dev eth0
04-03-2011 11:49:35 <TRACE> direct1 < secondary address 2a01:198:3b0::/64 on interface eth0 added
04-03-2011 11:49:35 <TRACE> direct1 > added [best] 2a01:198:3b0::/64 dev eth0
04-03-2011 11:49:35 <TRACE> direct1 < secondary address fe80::/64 on interface eth0 added
04-03-2011 11:49:35 <TRACE> direct1 < primary address 2001:67c:39c:8001::/64 on interface eth1 added
04-03-2011 11:49:35 <TRACE> direct1 > added [best] 2001:67c:39c:8001::/64 dev eth1
04-03-2011 11:49:35 <TRACE> direct1 < secondary address 2a01:198:3b0:1::/64 on interface eth1 added
04-03-2011 11:49:35 <TRACE> direct1 > added [best] 2a01:198:3b0:1::/64 dev eth1
04-03-2011 11:49:35 <TRACE> direct1 < secondary address fe80::/64 on interface eth1 added
04-03-2011 11:49:35 <TRACE> direct1 < primary address fd17:fdbd:a9e6:8000::/64 on interface eth2 added
04-03-2011 11:49:35 <TRACE> direct1 > added [best] fd17:fdbd:a9e6:8000::/64 dev eth2
04-03-2011 11:49:35 <TRACE> direct1 < secondary address fe80::/64 on interface eth2 added
04-03-2011 11:49:35 <TRACE> device1: State changed to feed
04-03-2011 11:49:35 <TRACE> bgp1: Starting
04-03-2011 11:49:35 <INFO> Started
04-03-2011 11:49:35 <TRACE> direct1 < primary address ::1/128 on interface lo added
04-03-2011 11:49:35 <TRACE> direct1 < primary address 2001:67c:39c:8000::/64 on interface eth0 added
04-03-2011 11:49:35 <TRACE> direct1 > ignored 2001:67c:39c:8000::/64 dev eth0
04-03-2011 11:49:35 <TRACE> direct1 < secondary address 2a01:198:3b0::/64 on interface eth0 added
04-03-2011 11:49:35 <TRACE> direct1 > ignored 2a01:198:3b0::/64 dev eth0
04-03-2011 11:49:35 <TRACE> direct1 < secondary address fe80::/64 on interface eth0 added
04-03-2011 11:49:35 <TRACE> direct1 < primary address 2001:67c:39c:8001::/64 on interface eth1 added
04-03-2011 11:49:35 <TRACE> direct1 > ignored 2001:67c:39c:8001::/64 dev eth1
04-03-2011 11:49:35 <TRACE> direct1 < secondary address 2a01:198:3b0:1::/64 on interface eth1 added
04-03-2011 11:49:35 <TRACE> direct1 > ignored 2a01:198:3b0:1::/64 dev eth1
04-03-2011 11:49:35 <TRACE> direct1 < secondary address fe80::/64 on interface eth1 added
04-03-2011 11:49:35 <TRACE> direct1 < primary address fd17:fdbd:a9e6:8000::/64 on interface eth2 added
04-03-2011 11:49:35 <TRACE> direct1 > ignored fd17:fdbd:a9e6:8000::/64 dev eth2
04-03-2011 11:49:35 <TRACE> direct1 < secondary address fe80::/64 on interface eth2 added
04-03-2011 11:49:35 <TRACE> direct1: State changed to up
04-03-2011 11:49:35 <TRACE> kernel1: Connected to table master
04-03-2011 11:49:35 <TRACE> kernel1 < rejected by protocol 2001:67c:39c:8001::/64 dev eth1
04-03-2011 11:49:35 <TRACE> kernel1 < rejected by protocol 2001:67c:39c:8000::/64 dev eth0
04-03-2011 11:49:35 <TRACE> kernel1 < rejected by protocol 2a01:198:3b0::/64 dev eth0
04-03-2011 11:49:35 <TRACE> kernel1 < rejected by protocol 2a01:198:3b0:1::/64 dev eth1
04-03-2011 11:49:35 <TRACE> kernel1 < rejected by protocol fd17:fdbd:a9e6:8000::/64 dev eth2
04-03-2011 11:49:35 <TRACE> kernel1: State changed to up
04-03-2011 11:49:35 <TRACE> device1: State changed to up
04-03-2011 11:49:35 <TRACE> bgp1: Started
04-03-2011 11:49:35 <TRACE> bgp1: Connect delayed by 5 seconds
04-03-2011 11:49:35 <TRACE> kernel1: Scanning routing table
04-03-2011 11:49:35 <TRACE> kernel1: Pruning table master
04-03-2011 11:49:35 <TRACE> bgp1: Incoming connection from 2001:67c:39c:8001::8000:9 (port 50229) accepted
04-03-2011 11:49:35 <TRACE> bgp1: Sending OPEN(ver=4,as=65534,hold=240,id=c229000a)
04-03-2011 11:49:39 <TRACE> bgp1: Connecting to 2001:67c:39c:8001::8000:9 from local address 2001:67c:39c:8001::8000:a
04-03-2011 11:49:39 <TRACE> bgp1: Connected
04-03-2011 11:49:39 <TRACE> bgp1: Sending OPEN(ver=4,as=65534,hold=240,id=c229000a)
04-03-2011 11:49:45 <TRACE> device1: Scanning interfaces
04-03-2011 11:49:55 <TRACE> device1: Scanning interfaces
04-03-2011 11:49:55 <TRACE> kernel1: Scanning routing table
04-03-2011 11:49:55 <TRACE> kernel1: Pruning table master
04-03-2011 11:50:05 <TRACE> device1: Scanning interfaces
04-03-2011 11:50:15 <TRACE> device1: Scanning interfaces
04-03-2011 11:50:15 <TRACE> kernel1: Scanning routing table
04-03-2011 11:50:15 <TRACE> kernel1: Pruning table master
04-03-2011 11:50:25 <TRACE> device1: Scanning interfaces
^C
bird6.conf:
log syslog { debug, trace, info, remote, warning, error, auth, fatal, bug };
log stderr all;
debug protocols all;
router id 194.41.0.10;
listen bgp v6only;
protocol direct {
}
protocol kernel {
persist; # Don't remove routes on bird shutdown
scan time 20; # Scan kernel routing table every 20 seconds
export all; # Default is export none
}
protocol device {
scan time 10; # Scan interfaces every 10 seconds
}
protocol bgp {
local as 65534;
neighbor 2001:67c:39c:8001::8000:9 as 65534;
}
Mit freundlichen Grüßen
Dr. Christian Riede
Senior IT Architect, Teamleiter Technik
--
_________________________________________
=C=O=N=N=E=C=T== Karlsruhe GmbH
Computer und Netzwerktechnik
Gebrüder-Himmelheber-Straße 7
D-76135 Karlsruhe
Amtsgericht Mannheim HRB 110258
Geschäftsführer: Stefan Kratzer
Telefon: +49 (0) 721 20120-0
Telefax: +49 (0) 721 20120-500
Internet: www.it-connect.de
E-Mail: christian.riede at it-connect.de
_________________________________________
More information about the Bird-users
mailing list