infinite adding of ipv6 routes to kernel table which were recieved from ebgp peer and piped into kernel protocol

Arnautov Artem triar at netassist.ua
Thu Aug 8 11:45:54 CEST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Here is another interesting example on another router router

i've added new vlan on physical interface 544
vconfig add enp2s0f1 544
added ipv6 addresses
configured static ipv6 route through static protocol
and got next strange results

# for i in {1..10}; do
> ip -6 ro sh dev enp2s0f1.544 echo "----------------------------" 
> done

2a01:d0:0:31::/64  proto kernel  metric 256
2a01:d0:26::/48 via 2a01:d0:0:31::2  proto bird  metric 1024
fe80::/64  proto kernel  metric 256
- ----------------------------
2a01:d0:0:31::/64  proto kernel  metric 256
2a01:d0:26::/48 via 2a01:d0:0:31::2  proto bird  metric 1024
2a01:d0:0:31::/64  proto kernel  metric 256
2a01:d0:26::/48 via 2a01:d0:0:31::2  proto bird  metric 1024
fe80::/64  proto kernel  metric 256
- ----------------------------
2a01:d0:0:31::/64  proto kernel  metric 256
2a01:d0:26::/48 via 2a01:d0:0:31::2  proto bird  metric 1024
fe80::/64  proto kernel  metric 256
- ----------------------------
2a01:d0:0:31::/64  proto kernel  metric 256
2a01:d0:26::/48 via 2a01:d0:0:31::2  proto bird  metric 1024
fe80::/64  proto kernel  metric 256
- ----------------------------
2a01:d0:0:31::/64  proto kernel  metric 256
2a01:d0:26::/48 via 2a01:d0:0:31::2  proto bird  metric 1024
fe80::/64  proto kernel  metric 256
- ----------------------------
2a01:d0:0:31::/64  proto kernel  metric 256
2a01:d0:26::/48 via 2a01:d0:0:31::2  proto bird  metric 1024
fe80::/64  proto kernel  metric 256
- ----------------------------
2a01:d0:0:31::/64  proto kernel  metric 256
2a01:d0:26::/48 via 2a01:d0:0:31::2  proto bird  metric 1024
2a01:d0:0:31::/64  proto kernel  metric 256
2a01:d0:0:31::/64  proto kernel  metric 256
2a01:d0:26::/48 via 2a01:d0:0:31::2  proto bird  metric 1024
2a01:d0:0:31::/64  proto kernel  metric 256
2a01:d0:26::/48 via 2a01:d0:0:31::2  proto bird  metric 1024
fe80::/64  proto kernel  metric 256
- ----------------------------
2a01:d0:0:31::/64  proto kernel  metric 256
2a01:d0:26::/48 via 2a01:d0:0:31::2  proto bird  metric 1024
fe80::/64  proto kernel  metric 256
- ----------------------------
2a01:d0:0:31::/64  proto kernel  metric 256
2a01:d0:26::/48 via 2a01:d0:0:31::2  proto bird  metric 1024
fe80::/64  proto kernel  metric 256
- ----------------------------
2a01:d0:0:31::/64  proto kernel  metric 256
2a01:d0:26::/48 via 2a01:d0:0:31::2  proto bird  metric 1024
fe80::/64  proto kernel  metric 256
- ----------------------------


here is another strange thing

# for i in {1..10}; do ip -6 ro sh | wc -l ; echo
"----------------------------"; done
328063
- ----------------------------
320890
- ----------------------------
202481
- ----------------------------
330761
- ----------------------------
197992
- ----------------------------
40152
- ----------------------------
36968
- ----------------------------
47729
- ----------------------------
451970
- ----------------------------
181288
- ----------------------------


# cat /proc/sys/net/ipv6/route/max_size
100000




On 08/08/2013 11:07 AM, Arnautov Artem wrote:
> On 08/07/2013 08:10 PM, Ondrej Zajicek wrote:
>> On Wed, Aug 07, 2013 at 06:33:02PM +0300, Arnautov Artem wrote:
>>> today we connected another router to new ipv6 capable uplink
>>> and established bgp same problem
>> 
>> Well, i tested now to export 15k IPv6 routes (from static
>> protocol) on linux 3.9.2 and didn't noticed any problems. Could
>> you send me your output of 'show route' and 'ip ro sh'?
>> 
> 
> 
> Hello
> 
> we have such problem on all routers running bird6 and IPv6 full
> view recieved through ebgp then piped into master table and then
> exported to kernel protocol here is one thing and if we switch to
> quagga for ipv6 bgp everything is OK
> 
> output of 'show route' and 'ip ro sh' in attach.
> 


- -- 
- ---
Арнаутов Артем
ISP NetAssist
+380 44 2398989
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSA2jSAAoJEGj9FDZFr3kFC5AH+wf9cz1sqeDFLJXxJZstszD/
lI4rhRLfyF9iWGZk1fI64VGmUiuMUW8YA9nunpCcYBUwbT3qSTEImsqO56L/OqRI
5w6aQMlPUa/UcejuPU0hW4qpmYwKKgquRtf1IOXNttkT/510lUA6g1cxRTvsLMC1
QwUEDroCex/5ebMcCYMs2cQ0c0AVIQYks/77+4luvCuqT1Ds/mAMNMQXJiiWE4xX
40nTpFto4ZJDTiu35x85hadspwSxcaHmHd1xQGhctDJR0nmSXGKgTXrn/qrnNA8M
YxzGvL9MTvYEBN7cmeoE2hKRxUewUK28YIGxCHLoizHIJASuktHceBq39abEfCA=
=EiUf
-----END PGP SIGNATURE-----



More information about the Bird-users mailing list