RE: BGP route selection

2018-04-17 Thread Arvin Gan
Hi all, Sorry, it's my ambiguous description. What I said default value is Cisco's admin distance value, eBGP is 20 and iBGP is 200. We plan to use preference to implement admin distance. Actually ,in bird, the preference of channel for BGP is BGP protocol default preference DEF_PREF_BGP

RE: BGP attribute ext-next-hop

2018-04-17 Thread Arvin Gan
Hi, Thanks! Thanks Arvin -Original Message- From: Ondrej Zajicek Sent: Tuesday, April 17, 2018 8:22 PM To: Arvin Gan Cc: bird-users@network.cz Subject: Re: BGP attribute ext-next-hop On Wed, Apr 11, 2018 at 02:52:46PM +0200, Ondrej

Re: Route based VPN in Linux

2018-04-17 Thread Kaushal Shriyan
On Mon, Apr 16, 2018 at 11:52 PM, Kaushal Shriyan wrote: > Hi, > > I have setup libreswan IPSec VPN tunnel using route based VPN through VTI > interface. Please find the below configurations. > > *IPSec VPN Tunnel Server 1 ( IP :- 172.31.1.54)* >> [root@ip-172-31-1-54

VTI route not set

2018-04-17 Thread Alexander Velkov
Hello, I configure a VTI interface with 'ip link add vti0 type vti local aa.bb.cc.dd remote aa.bb.cc.de' # bird --version BIRD version 1.6.4 # ifconfig vti0 vti0 Link encap:UNSPEC HWaddr C0-A8-03-03-00-00-00-00-00-00-00-00-00-00-00-00 inet6 addr: fe80::5efe:c0a8:303/64

Re: BGP route selection

2018-04-17 Thread Robert Blayzor
On 4/17/18 8:20 AM, Ondrej Zajicek wrote: Hi No, default value is 200 for both EBGP and IBGP. Where did you noticed 20? 20 is Cisco's default admin distance for EBGP. -- inoc.net!rblayzor XMPP: rblayzor.AT.inoc.net PGP: https://inoc.net/~rblayzor/

Re: Bird 1.5 and 1.6 memory leak

2018-04-17 Thread Alexander Demenshin
On 2018-04-17 13:31, wi...@mailoo.org wrote: As I said, the mem leak does not apppear in the `birdc show memory` command. It is shown at the OS level, and is shown via the `free` command. What do you mean by "OS level"? Which exactly level? What is the actual process size as reported by ps

Re: BGP attribute ext-next-hop

2018-04-17 Thread Ondrej Zajicek
On Wed, Apr 11, 2018 at 02:52:46PM +0200, Ondrej Zajicek wrote: > On Wed, Apr 11, 2018 at 09:57:44AM +, Arvin Gan wrote: > > Hi , > >Thanks for so quick reply. Do you mean if (s->channel->afi == > > BGP_AF_IPV4) maybe have bug, need change to if (s->channel->afi == > > BGP_AF_IPV4 &&

Re: BGP route selection

2018-04-17 Thread Ondrej Zajicek
On Tue, Apr 17, 2018 at 10:50:24AM +, Arvin Gan wrote: > Hi, > I notice that there is a description of route selection algorithm: > > The global best route selection algorithm is (roughly) as follows: > > * Preferences of the routes are compared. > * Source protocol instance

Re: Bird 1.5 and 1.6 memory leak

2018-04-17 Thread willy
> 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

BGP route selection

2018-04-17 Thread Arvin Gan
Hi, I notice that there is a description of route selection algorithm: The global best route selection algorithm is (roughly) as follows: * Preferences of the routes are compared. * Source protocol instance preferences are compared. * If source protocols are the same (e.g. BGP vs.