RE: BGP attribute ext-next-hop

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

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 attribute ext-next-hop

2018-04-11 Thread Ondrej Zajicek
On Wed, Apr 11, 2018 at 10:41:25AM +, Arvin Gan wrote: > Hi, > > I found the traditional BGP and MP-BGP are independent in bird, > if use MP_REACH_NLRI, IPV4 NLRI are not used. Has any case that need to > support traditional BGP and MP-BGP at the same time ? That mean have a >

Re: BGP attribute ext-next-hop

2018-04-11 Thread Ondrej Zajicek
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 && > !s->channel-> ext_next_hop) ? Yes, likely. I will check that. -- Elen

RE: BGP attribute ext-next-hop

2018-04-11 Thread Arvin Gan
BGP, transmit IPV4 route and IPV6 route in one UPDATE message. Thanks Arvin -Original Message- From: Ondrej Zajicek <santi...@crfreenet.org> Sent: Wednesday, April 11, 2018 5:26 PM To: Arvin Gan <a...@advaoptical.com> Cc: bird-users@network.cz Subject: Re: BGP attribute

Re: BGP attribute ext-next-hop

2018-04-11 Thread Ondrej Zajicek
On Wed, Apr 11, 2018 at 07:55:28AM +, Arvin Gan wrote: > Hi , > Thanks for your response. Could you help me for another question. > If ext-next-hop is enabled and AFI is BGP_AF_IPV4, next- hop is a IPV4 > address, when update message created, the function bgp_create_mp_reach is > called,