Re: Forward full view to a downstream

2019-05-29 Thread C. Jon Larsen



Setup an EBGP multihop session off your route reflectors, assuming they 
are bird, and export all routes and import none on your session facing his 
router.


So your customer has an extra bgp session (or 2) for the full route feed. 
Your primary bgp session works as is, the multihop sessions provide the 
full route feed.


Works well. We use it so we dont have to carry full routes on the peering 
devices.


He should add static /32 routes for the ips of the route 
servers (again, could be your rr, or just any vm that has a full feed) 
pointing to his transit (i.e. to you).




On Thu, 30 May 2019, Kevin B wrote:


Hello,

My customer wants me to announce a full IPv4 table via BGP to him, but we 
don't use it on the BGP node where that customer is peered. We receive the 
default from our BGP upstream, but can actually ask for and receive a full 
view as well, but only for a purpose of forwarding it to the customer.


What would be a scheme to receive a full-table from a BGP upstream and 
forward it to a BGP downstream, without importing it to our own routing 
table?


I am not very experienced with Bird, but some guys on Freenode ##networking 
have suggested using a pipe, can someone help me on this please?







Re: Bird 1.5 and 1.6 memory leak

2018-04-13 Thread C. Jon Larsen


debian stretch, bird v 1.6.3-2 is rock solid

FWIW i saw zero leaks or issues on debian wheezy, jessie, devuan jessie 
either.


on multiple rrs taking several million routes I am at:

birdc
BIRD 1.6.3 ready.
bird> show mem
BIRD memory usage
Routing tables:126 MB
Route attributes:   93 MB
ROA tables:112  B
Protocols: 823 kB
Total: 219 MB

alpine linux also works very well, no issues taking multiple full tables 
on core/edge as well:


(host: core1)  (user: root)  (time= 11:23:53)
 > ~ # birdc
BIRD 1.6.0 ready.
bird> show mem
BIRD memory usage
Routing tables:182 MB
Route attributes:  156 MB
ROA tables:192  B
Protocols: 686 kB
Total: 339 MB
bird>





On Fri, 13 Apr 2018, Willy Goiffon wrote:


Hello,

I installed different version of bird on Ubuntu 16.04 (namely, 1.5.0, 1.6.3, 
1.6.4).

After leaving the daemon running for ~1 hour, the memory used by the
host is over 8Gib. However, when running `birdc show memory`, I get
the following:

   BIRD memory usage
   Routing tables: 21 kB
   Route attributes:   11 kB
   ROA tables:192  B
   Protocols:  22 kB
   Total: 102 kB

My config is pretty basic (edited, see attached) as we have 2 BGP
protocols using 2 ASN (one public, one private), each exporting the
routes learnt from the other.

The leak seems to be related to the traffic going through the server,
as the memory of the host remains still when there is no traffic
going on. It is triggered by bird though, because I don't have the
leak when the routes are configured statically and bird is shut down.

The weird thing about this is that the memory is not used by the bird
process itself. It's shown as used memory by the host, but no process
is actually using this memory.
I know that it's leaking because of bird though because it's the only
process installed and running on this host.

Has anyone ever encountered such a behavior, or can see an issue in
my configuration?

Thanks in advance for your help
--
Willy