Re: Linux IPv6 routing strange behaviour

2013-08-14 Thread Mikael Abrahamsson
On Wed, 14 Aug 2013, Max Tulyev wrote: What is the soultion? There are *MILLIONS* of flows in the backbone... The solution is not to use a flow routing platform in the core. This lesson was learnt at the end of the 90ties. So until the linux ipv6 forwarding code is fixed to do stateless fo

Re: Linux IPv6 routing strange behaviour

2013-08-14 Thread Erik Muller
On 8/14/13 14:30 , Max Tulyev wrote: OMFG 8-| What is the soultion? There are *MILLIONS* of flows in the backbone... I'd try increasing the routes max_size limit as a first step. If you're running heavy traffic and/or full routes through a linux box, you're going to need to do some tuning a

Re: Linux IPv6 routing strange behaviour

2013-08-14 Thread Hannes Frederic Sowa
On Wed, Aug 14, 2013 at 09:30:01PM +0300, Max Tulyev wrote: > OMFG 8-| > > What is the soultion? There are *MILLIONS* of flows in the backbone... Discard them fast enough. ;) The garbage collector is called if you reach the limit (in the code path). But sometimes it cannot free enough entries. I

Re: Linux IPv6 routing strange behaviour

2013-08-14 Thread Max Tulyev
OMFG 8-| What is the soultion? There are *MILLIONS* of flows in the backbone... On 14.08.13 21:10, Hannes Frederic Sowa wrote: > On Wed, Aug 14, 2013 at 08:00:49PM +0300, Max Tulyev wrote: >> On 14.08.13 13:59, Hannes Frederic Sowa wrote: >>> If a packet is delivered to a destination, we clone th

Re: Linux IPv6 routing strange behaviour

2013-08-14 Thread Hannes Frederic Sowa
On Wed, Aug 14, 2013 at 08:00:49PM +0300, Max Tulyev wrote: > On 14.08.13 13:59, Hannes Frederic Sowa wrote: > > If a packet is delivered to a destination, we clone the routing entry and > > reinsert it back into the fib trie. > > Does it mean the original route is keept or deleted? > > Does it d

Re: Linux IPv6 routing strange behaviour

2013-08-14 Thread Max Tulyev
On 14.08.13 13:59, Hannes Frederic Sowa wrote: > If a packet is delivered to a destination, we clone the routing entry and > reinsert it back into the fib trie. Does it mean the original route is keept or deleted? Does it do for EVERY packet, i.e. EVERY packet generates a (temporary) FIB entry???

Re: Linux IPv6 routing strange behaviour

2013-08-14 Thread Max Tulyev
On 14.08.13 17:09, Jeroen Massar wrote: >>> On the same box? Are they using the same routing table? I am fairly >>> confident that will end up in a fight. >> >> No! Some boxes have Quagga, some - Bird, not together of course. > > And are these boxes interconnected and are they thus possibly forwar

Re: Linux IPv6 routing strange behaviour

2013-08-14 Thread Jeroen Massar
On 2013-08-14 12:58 , Max Tulyev wrote: > On 14.08.13 13:39, Jeroen Massar wrote: >>> I see the strange behaviour of my Linux routers. There are quagga and >>> bird with IPv6 BGP full view. >> >> On the same box? Are they using the same routing table? I am fairly >> confident that will end up in a

Re: Linux IPv6 routing strange behaviour

2013-08-14 Thread Hannes Frederic Sowa
On Wed, Aug 14, 2013 at 01:49:23PM +0300, Max Tulyev wrote: > /proc/sys/net/ipv6/route/max_size - 10. Route table grows to 10 > entries, and then drops to almost zero. Then cycle again. > > But it should not be more than 14000, if mean both local and global > routes... Try increasing it m

Re: Linux IPv6 routing strange behaviour

2013-08-14 Thread Max Tulyev
On 14.08.13 13:39, Jeroen Massar wrote: >> I see the strange behaviour of my Linux routers. There are quagga and >> bird with IPv6 BGP full view. > > On the same box? Are they using the same routing table? I am fairly > confident that will end up in a fight. No! Some boxes have Quagga, some - Bir

Re: Linux IPv6 routing strange behaviour

2013-08-14 Thread Max Tulyev
/proc/sys/net/ipv6/route/max_size - 10. Route table grows to 10 entries, and then drops to almost zero. Then cycle again. But it should not be more than 14000, if mean both local and global routes... On 14.08.13 13:36, Hannes Frederic Sowa wrote: > On Wed, Aug 14, 2013 at 01:33:41PM +0300

Re: Linux IPv6 routing strange behaviour

2013-08-14 Thread Jeroen Massar
On 2013-08-14 12:33, Max Tulyev wrote: > Hi All, > > I see the strange behaviour of my Linux routers. There are quagga and > bird with IPv6 BGP full view. On the same box? Are they using the same routing table? I am fairly confident that will end up in a fight. > Quagga/bird reports about 13500

Re: Linux IPv6 routing strange behaviour

2013-08-14 Thread Hannes Frederic Sowa
On Wed, Aug 14, 2013 at 01:33:41PM +0300, Max Tulyev wrote: > Hi All, > > I see the strange behaviour of my Linux routers. There are quagga and > bird with IPv6 BGP full view. Quagga/bird reports about 13500 prefixes, > but route table constantly grow up to 10 routes and more. Some > routes ar

Linux IPv6 routing strange behaviour

2013-08-14 Thread Max Tulyev
Hi All, I see the strange behaviour of my Linux routers. There are quagga and bird with IPv6 BGP full view. Quagga/bird reports about 13500 prefixes, but route table constantly grow up to 10 routes and more. Some routes are duplicated 2,3,5 and even up to 20 times :( And after some time routin

Re: Amount of announced IPv4-space by ASN not announcing IPv6?

2013-08-14 Thread Philipp Kern
Ignatios Souvatzis wrote: >On Tue, Aug 13, 2013 at 08:49:54PM +0200, Martin Millnert wrote: > >> We still have the last big problem with access enablement (how many >> NRENs have member universities with access-enabled IPv6?), and CPEs. > >In Germany, about 1.01 or 2.01 (the .01 being my part of m

Re: Amount of announced IPv4-space by ASN not announcing IPv6?

2013-08-14 Thread Ignatios Souvatzis
On Tue, Aug 13, 2013 at 08:49:54PM +0200, Martin Millnert wrote: > We still have the last big problem with access enablement (how many > NRENs have member universities with access-enabled IPv6?), and CPEs. In Germany, about 1.01 or 2.01 (the .01 being my part of my department), to my knowledge.