Hello I found that there is already one running (empty) wiki as a part of Redmine project management webapp used for BIRD. I added some examples and FAQs for a start: https://git.nic.cz/redmine/projects/bird/wiki You could try to register and edit it. -- 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."
On 27.2.2011 23:37, Ondrej Zajicek wrote:
Hello
I found that there is already one running (empty) wiki as a part of Redmine project management webapp used for BIRD.
I added some examples and FAQs for a start:
Yes, that is the one I promised. :-) I am working on an integration with homepage. Ondrej
You could try to register and edit it.
Hello, seems very simple, but..: Setup: 2 VMs on different ESX-Servers OpenSuSE 11.3 bird 1.2.5 (IPv4 and IPv6 in parallel) Symptoms: IPv4 is working perfectly IPv6-BGP-Session does not come up. On Machine 1, I get: exacom-kap-gw01:/etc/bird # bird6 -d 28-02-2011 09:24:41 <TRACE> direct1: Initializing 28-02-2011 09:24:41 <TRACE> kernel1: Initializing 28-02-2011 09:24:41 <TRACE> device1: Initializing 28-02-2011 09:24:41 <TRACE> bgp1: Initializing 28-02-2011 09:24:41 <TRACE> direct1: Starting 28-02-2011 09:24:41 <TRACE> direct1: State changed to feed 28-02-2011 09:24:41 <TRACE> kernel1: Starting 28-02-2011 09:24:41 <TRACE> kernel1: State changed to feed 28-02-2011 09:24:41 <TRACE> device1: Starting 28-02-2011 09:24:41 <TRACE> device1: Scanning interfaces 28-02-2011 09:24:41 <TRACE> direct1 < primary address ::1/128 on interface lo added 28-02-2011 09:24:41 <TRACE> direct1 < primary address 2001:67c:39c:8000::/64 on interface eth0 added 28-02-2011 09:24:41 <TRACE> direct1 > added [best] 2001:67c:39c:8000::/64 dev eth0 28-02-2011 09:24:41 <TRACE> direct1 < secondary address 2a01:198:3b0::/64 on interface eth0 added 28-02-2011 09:24:41 <TRACE> direct1 > added [best] 2a01:198:3b0::/64 dev eth0 28-02-2011 09:24:41 <TRACE> direct1 < secondary address fe80::/64 on interface eth0 added 28-02-2011 09:24:41 <TRACE> direct1 < primary address 2001:67c:39c:8001::/64 on interface eth1 added 28-02-2011 09:24:41 <TRACE> direct1 > added [best] 2001:67c:39c:8001::/64 dev eth1 28-02-2011 09:24:41 <TRACE> direct1 < secondary address 2a01:198:3b0:1::/64 on interface eth1 added 28-02-2011 09:24:41 <TRACE> direct1 > added [best] 2a01:198:3b0:1::/64 dev eth1 28-02-2011 09:24:41 <TRACE> direct1 < secondary address fe80::/64 on interface eth1 added 28-02-2011 09:24:41 <TRACE> direct1 < primary address fd17:fdbd:a9e6:8000::/64 on interface eth2 added 28-02-2011 09:24:41 <TRACE> direct1 > added [best] fd17:fdbd:a9e6:8000::/64 dev eth2 28-02-2011 09:24:41 <TRACE> direct1 < secondary address fe80::/64 on interface eth2 added 28-02-2011 09:24:41 <TRACE> device1: State changed to feed 28-02-2011 09:24:41 <TRACE> bgp1: Starting 28-02-2011 09:24:41 <INFO> Started 28-02-2011 09:24:41 <TRACE> direct1 < primary address ::1/128 on interface lo added 28-02-2011 09:24:41 <TRACE> direct1 < primary address 2001:67c:39c:8000::/64 on interface eth0 added 28-02-2011 09:24:41 <TRACE> direct1 > ignored 2001:67c:39c:8000::/64 dev eth0 28-02-2011 09:24:41 <TRACE> direct1 < secondary address 2a01:198:3b0::/64 on interface eth0 added 28-02-2011 09:24:41 <TRACE> direct1 > ignored 2a01:198:3b0::/64 dev eth0 28-02-2011 09:24:41 <TRACE> direct1 < secondary address fe80::/64 on interface eth0 added 28-02-2011 09:24:41 <TRACE> direct1 < primary address 2001:67c:39c:8001::/64 on interface eth1 added 28-02-2011 09:24:41 <TRACE> direct1 > ignored 2001:67c:39c:8001::/64 dev eth1 28-02-2011 09:24:41 <TRACE> direct1 < secondary address 2a01:198:3b0:1::/64 on interface eth1 added 28-02-2011 09:24:41 <TRACE> direct1 > ignored 2a01:198:3b0:1::/64 dev eth1 28-02-2011 09:24:41 <TRACE> direct1 < secondary address fe80::/64 on interface eth1 added 28-02-2011 09:24:41 <TRACE> direct1 < primary address fd17:fdbd:a9e6:8000::/64 on interface eth2 added 28-02-2011 09:24:41 <TRACE> direct1 > ignored fd17:fdbd:a9e6:8000::/64 dev eth2 28-02-2011 09:24:41 <TRACE> direct1 < secondary address fe80::/64 on interface eth2 added 28-02-2011 09:24:41 <TRACE> direct1: State changed to up 28-02-2011 09:24:41 <TRACE> kernel1: Connected to table master 28-02-2011 09:24:41 <TRACE> kernel1 < rejected by protocol 2001:67c:39c:8001::/64 dev eth1 28-02-2011 09:24:41 <TRACE> kernel1 < rejected by protocol 2001:67c:39c:8000::/64 dev eth0 28-02-2011 09:24:41 <TRACE> kernel1 < rejected by protocol 2a01:198:3b0::/64 dev eth0 28-02-2011 09:24:41 <TRACE> kernel1 < rejected by protocol 2a01:198:3b0:1::/64 dev eth1 28-02-2011 09:24:41 <TRACE> kernel1 < rejected by protocol fd17:fdbd:a9e6:8000::/64 dev eth2 28-02-2011 09:24:41 <TRACE> kernel1: State changed to up 28-02-2011 09:24:41 <TRACE> device1: State changed to up 28-02-2011 09:24:41 <TRACE> bgp1: Started 28-02-2011 09:24:41 <TRACE> bgp1: Connect delayed by 5 seconds 28-02-2011 09:24:41 <TRACE> kernel1: Scanning routing table 28-02-2011 09:24:41 <TRACE> kernel1: Pruning table master 28-02-2011 09:24:41 <WARN> BGP: Unexpected connect from unknown address 2001:67c:39c:8001::8000:8 (port 36012) 28-02-2011 09:24:41 <WARN> BGP: Unexpected connect from unknown address 2001:67c:39c:8001::8000:2 (port 46107) 28-02-2011 09:24:42 <WARN> BGP: Unexpected connect from unknown address 2001:67c:39c:8000::8000:8 (port 41688) 28-02-2011 09:24:42 <WARN> BGP: Unexpected connect from unknown address 2001:67c:39c:8000::8000:1 (port 53764) 28-02-2011 09:24:42 <WARN> BGP: Unexpected connect from unknown address 2001:67c:39c:8001::8000:3 (port 36242) 28-02-2011 09:24:43 <WARN> BGP: Unexpected connect from unknown address 2001:67c:39c:8000::8000:3 (port 51770) 28-02-2011 09:24:43 <WARN> BGP: Unexpected connect from unknown address 2001:67c:39c:8001::8000:7 (port 48659) 28-02-2011 09:24:44 <WARN> BGP: Unexpected connect from unknown address 2001:67c:39c:8000::8000:2 (port 37461) 28-02-2011 09:24:45 <TRACE> bgp1: Connecting to 2001:67c:39c:8000::8000:a from local address 2001:67c:39c:8000::8000:9 28-02-2011 09:24:45 <TRACE> bgp1: Connected 28-02-2011 09:24:45 <TRACE> bgp1: Sending OPEN(ver=4,as=65535,hold=240,id=c2290009) 28-02-2011 09:24:45 <TRACE> bgp1: Connection closed 28-02-2011 09:24:45 <TRACE> bgp1: Connect delayed by 5 seconds 28-02-2011 09:24:45 <WARN> BGP: Unexpected connect from unknown address 2001:67c:39c:8001::8000:8 (port 40619) 28-02-2011 09:24:46 <WARN> BGP: Unexpected connect from unknown address 2001:67c:39c:8000::8000:8 (port 32959) 28-02-2011 09:24:46 <WARN> BGP: Unexpected connect from unknown address 2001:67c:39c:8000::8000:1 (port 55502) 28-02-2011 09:24:46 <WARN> BGP: Unexpected connect from unknown address 2001:67c:39c:8001::8000:3 (port 34171) 28-02-2011 09:24:47 <WARN> BGP: Unexpected connect from unknown address 2001:67c:39c:8001::8000:2 (port 44913) ^C A telnet to BGP port opens and closes immediately: exacom-kap-gw01:/etc/bird # telnet 2001:67c:39c:8000::8000:a 179 Trying 2001:67c:39c:8000::8000:a... Connected to 2001:67c:39c:8000::8000:a. Escape character is '^]'. Connection closed by foreign host. Output on Machine 2 is similar. I did some further debugging and found that in bgp.c:bgp_incoming_connection the value of p->start_state is zero (should be >=BSS_CONNECT). A similar machine is succesfully able to establish a BGP session with Hurricane Electric over a sit device (ipv6 oder ipv4 tunnel). Any Ideas? Details: Machine 1: # ip -6 addr show dev eth0 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 1000 inet6 2001:67c:39c:8000::8000:9/64 scope global valid_lft forever preferred_lft forever inet6 2a01:198:3b0::9/64 scope global valid_lft forever preferred_lft forever inet6 fe80::250:56ff:fea6:45ec/64 scope link valid_lft forever preferred_lft forever # ip -6 route 2001:67c:39c:8000::/64 dev eth0 proto kernel metric 256 mtu 1500 advmss 1440 hoplimit 0 2001:67c:39c:8001::/64 dev eth1 proto kernel metric 256 mtu 1500 advmss 1440 hoplimit 0 2a01:198:3b0::/64 dev eth0 proto kernel metric 256 mtu 1500 advmss 1440 hoplimit 0 2a01:198:3b0:1::/64 dev eth1 proto kernel metric 256 mtu 1500 advmss 1440 hoplimit 0 fd17:fdbd:a9e6:8000::/64 dev eth2 proto kernel metric 256 mtu 1500 advmss 1440 hoplimit 0 fe80::/64 dev eth0 proto kernel metric 256 mtu 1500 advmss 1440 hoplimit 0 fe80::/64 dev eth1 proto kernel metric 256 mtu 1500 advmss 1440 hoplimit 0 fe80::/64 dev eth2 proto kernel metric 256 mtu 1500 advmss 1440 hoplimit 0 bird6c.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 65535; neighbor 2001:67c:39c:8001::8000:a as 65535; } Machine 2: # ip -6 addr show dev eth0 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 1000 inet6 2001:67c:39c:8000::8000:a/64 scope global valid_lft forever preferred_lft forever inet6 2a01:198:3b0::a/64 scope global valid_lft forever preferred_lft forever inet6 fe80::250:56ff:fea6:1ee/64 scope link valid_lft forever preferred_lft forever # ip -6 route 2001:67c:39c:8000::/64 dev eth0 proto kernel metric 256 mtu 1500 advmss 1440 hoplimit 0 2001:67c:39c:8001::/64 dev eth1 proto kernel metric 256 mtu 1500 advmss 1440 hoplimit 0 2a01:198:3b0::/64 dev eth0 proto kernel metric 256 mtu 1500 advmss 1440 hoplimit 0 2a01:198:3b0:1::/64 dev eth1 proto kernel metric 256 mtu 1500 advmss 1440 hoplimit 0 fd17:fdbd:a9e6:8000::/64 dev eth2 proto kernel metric 256 mtu 1500 advmss 1440 hoplimit 0 fe80::/64 dev eth0 proto kernel metric 256 mtu 1500 advmss 1440 hoplimit 0 fe80::/64 dev eth1 proto kernel metric 256 mtu 1500 advmss 1440 hoplimit 0 fe80::/64 dev eth2 proto kernel metric 256 mtu 1500 advmss 1440 hoplimit 0 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 65535; neighbor 2001:67c:39c:8001::8000:a as 65535; } 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@it-connect.de _________________________________________
On Mon, Feb 28, 2011 at 09:27:39AM +0100, Christian Riede wrote:
protocol bgp { local as 65535; neighbor 2001:67c:39c:8001::8000:a as 65535;
First, 65535 as ASN is not allowed. Such connect is rejected. Second, these connects are from different (non-configured) addresses, so they are rejected: 28-02-2011 09:24:41 <WARN> BGP: Unexpected connect from unknown address 2001:67c:39c:8001::8000:8 (port 36012) 28-02-2011 09:24:41 <WARN> BGP: Unexpected connect from unknown address 2001:67c:39c:8001::8000:2 (port 46107) -- 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."
Hello, On Mon, Feb 28, 2011 at 12:39:52PM +0100, Ondrej Zajicek wrote:
On Mon, Feb 28, 2011 at 09:27:39AM +0100, Christian Riede wrote:
protocol bgp { local as 65535; neighbor 2001:67c:39c:8001::8000:a as 65535;
First, 65535 as ASN is not allowed. Such connect is rejected.
Why should I not use private ASNs?
Second, these connects are from different (non-configured) addresses, so they are rejected:
28-02-2011 09:24:41 <WARN> BGP: Unexpected connect from unknown address 2001:67c:39c:8001::8000:8 (port 36012) 28-02-2011 09:24:41 <WARN> BGP: Unexpected connect from unknown address 2001:67c:39c:8001::8000:2 (port 46107)
Yes. Those connects are _not_ part of the problem. To narrow down the problem, I removed some peers from the configuration, but did not remove the remote side. Mit freundlichen Grüßen Dr. Christian Riede Senior IT Architect, Teamleiter Technik Der IPv4-Adressraum wird 2011 ausgeschöpft sein - Sind Sie IPv6-Ready? Gerne beraten wir Sie. -- _________________________________________ =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@it-connect.de _________________________________________
On Mon, Feb 28, 2011 at 02:17:35PM +0100, Christian Riede wrote:
Hello,
On Mon, Feb 28, 2011 at 12:39:52PM +0100, Ondrej Zajicek wrote:
On Mon, Feb 28, 2011 at 09:27:39AM +0100, Christian Riede wrote:
protocol bgp { local as 65535; neighbor 2001:67c:39c:8001::8000:a as 65535;
First, 65535 as ASN is not allowed. Such connect is rejected.
Why should I not use private ASNs?
You can use private ASNs 64512-65534 (or some other in 32bit space). 65535 (and 0) is not a private ASN, but a reserved ASN. -- 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."
Hello, On Mon, Feb 28, 2011 at 03:56:24PM +0100, Ondrej Zajicek wrote:
Why should I not use private ASNs?
You can use private ASNs 64512-65534 (or some other in 32bit space). 65535 (and 0) is not a private ASN, but a reserved ASN.
I took http://www.apnic.net/services/services-apnic-provides/helpdesk/faqs/asn-faqs... as reference. It states that 65535 actually is one. But anyway - the behavior ist the same with ASN 65534: The BGP closes immediately. exacom-kap-gw01:/etc/bird # telnet 2001:67c:39c:8000::8000:a 179 Trying 2001:67c:39c:8000::8000:a... Connected to 2001:67c:39c:8000::8000:a. Escape character is '^]'. Connection closed by foreign host. exacom-kap-gw01:/etc/bird # exacom-kap-gw02:~ # tcpdump host 2001:67c:39c:8000::8000:9 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes 19:32:33.263290 IP6 2001:67c:39c:8000::8000:9.53942 > 2001:67c:39c:8000::8000:a.bgp: Flags [S], seq 3322719686, win 5760, options [mss 1440,sackOK,TS val 68713170 ecr 0,nop,wscale 6], length 0 19:32:33.263340 IP6 2001:67c:39c:8000::8000:a.bgp > 2001:67c:39c:8000::8000:9.53942: Flags [S.], seq 3336922287, ack 3322719687, win 5712, options [mss 1440,sackOK,TS val 70286778 ecr 68713170,nop,wscale 6], length 0 19:32:33.263571 IP6 2001:67c:39c:8000::8000:9.53942 > 2001:67c:39c:8000::8000:a.bgp: Flags [.], ack 1, win 90, options [nop,nop,TS val 68713170 ecr 70286778], length 0 19:32:33.264142 IP6 2001:67c:39c:8000::8000:a.bgp > 2001:67c:39c:8000::8000:9.53942: Flags [F.], seq 1, ack 1, win 90, options [nop,nop,TS val 70286779 ecr 68713170], length 0 19:32:33.264621 IP6 2001:67c:39c:8000::8000:9.53942 > 2001:67c:39c:8000::8000:a.bgp: Flags [F.], seq 1, ack 2, win 90, options [nop,nop,TS val 68713171 ecr 70286779], length 0 19:32:33.264645 IP6 2001:67c:39c:8000::8000:a.bgp > 2001:67c:39c:8000::8000:9.53942: Flags [.], ack 2, win 90, options [nop,nop,TS val 70286779 ecr 68713171], length 0 As already stated - I did some debugging with the previous configuration that showed the same error and found that in bgp.c:bgp_incoming_connection the value of p->start_state is zero (should be >=BSS_CONNECT). I can provide remote access to the affected systems for debugging purposes if necessary. 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@it-connect.de _________________________________________
On Mon, Feb 28, 2011 at 07:37:08PM +0100, Christian Riede wrote:
Hello,
On Mon, Feb 28, 2011 at 03:56:24PM +0100, Ondrej Zajicek wrote:
Why should I not use private ASNs?
You can use private ASNs 64512-65534 (or some other in 32bit space). 65535 (and 0) is not a private ASN, but a reserved ASN.
I took http://www.apnic.net/services/services-apnic-provides/helpdesk/faqs/asn-faqs... as reference. It states that 65535 actually is one.
See this: http://www.iana.org/assignments/as-numbers/as-numbers.xml
But anyway - the behavior ist the same with ASN 65534: The BGP closes immediately.
exacom-kap-gw01:/etc/bird # telnet 2001:67c:39c:8000::8000:a 179 Trying 2001:67c:39c:8000::8000:a... Connected to 2001:67c:39c:8000::8000:a. Escape character is '^]'. Connection closed by foreign host. exacom-kap-gw01:/etc/bird #
exacom-kap-gw02:~ # tcpdump host 2001:67c:39c:8000::8000:9 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes 19:32:33.263290 IP6 2001:67c:39c:8000::8000:9.53942 > 2001:67c:39c:8000::8000:a.bgp: Flags [S], seq 3322719686, win 5760, options [mss 1440,sackOK,TS val 68713170 ecr 0,nop,wscale 6], length 0 19:32:33.263340 IP6 2001:67c:39c:8000::8000:a.bgp > 2001:67c:39c:8000::8000:9.53942: Flags [S.], seq 3336922287, ack 3322719687, win 5712, options [mss 1440,sackOK,TS val 70286778 ecr 68713170,nop,wscale 6], length 0 19:32:33.263571 IP6 2001:67c:39c:8000::8000:9.53942 > 2001:67c:39c:8000::8000:a.bgp: Flags [.], ack 1, win 90, options [nop,nop,TS val 68713170 ecr 70286778], length 0 19:32:33.264142 IP6 2001:67c:39c:8000::8000:a.bgp > 2001:67c:39c:8000::8000:9.53942: Flags [F.], seq 1, ack 1, win 90, options [nop,nop,TS val 70286779 ecr 68713170], length 0 19:32:33.264621 IP6 2001:67c:39c:8000::8000:9.53942 > 2001:67c:39c:8000::8000:a.bgp: Flags [F.], seq 1, ack 2, win 90, options [nop,nop,TS val 68713171 ecr 70286779], length 0 19:32:33.264645 IP6 2001:67c:39c:8000::8000:a.bgp > 2001:67c:39c:8000::8000:9.53942: Flags [.], ack 2, win 90, options [nop,nop,TS val 70286779 ecr 68713171], length 0
As already stated - I did some debugging with the previous configuration that showed the same error and found that in bgp.c:bgp_incoming_connection the value of p->start_state is zero (should be >=BSS_CONNECT).
That indicates that you have a typo in IP address - the IP address is not local and BGP waits for such prefix to appear. In your config you have: neighbor 2001:67c:39c:8001::8000:a as 65535; But you try connect from: 2001:67c:39c:8000::8000:a which is in a different network. -- 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."
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@it-connect.de _________________________________________
On 28.2.2011 09:27, Christian Riede wrote:
Hello,
seems very simple, but..:
Hi! Could you send us both configs? You sent one of them twice:
Machine 1:
[..]
bird6c.conf:
[..]
router id 194.41.0.9;
[..]
protocol bgp { local as 65535; neighbor 2001:67c:39c:8001::8000:a as 65535; }
Machine 2:
[..]
bird6.conf:
[..]
router id 194.41.0.9;
[..]
protocol bgp { local as 65535; neighbor 2001:67c:39c:8001::8000:a as 65535; }
On Mon, Feb 28, 2011 at 09:27:39AM +0100, Christian Riede wrote:
Hello,
seems very simple, but..:
Setup: 2 VMs on different ESX-Servers OpenSuSE 11.3 bird 1.2.5 (IPv4 and IPv6 in parallel)
Symptoms: IPv4 is working perfectly IPv6-BGP-Session does not come up.
FYI, the problem turned out to be a problem in kernel/driver/hardware related to network offloading. It was workarounded by disabling all network offloading on that device (ethtool -k). The problem manifested by the BGP protocol stuck in OpenSent state (the OPEN message was sent with incorrect checksum and discarded by the other side). -- 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)
-
Christian Riede -
Ondrej Filip -
Ondrej Zajicek