Bgp 4 peer problems, 2 peer stay in connect

Daniel Suchy danny at danysek.cz
Wed Mar 7 17:59:28 CET 2018


Hello,
as Ondrej mentioned already, you have wrong basic network setup - you're
using wrong network masks. H0 thinks, that all nodes (H1, H2, H3) ale in
single directly-connected L2 network.

To have BGP working, you need to have basic L3 connectivity working -
that means, you must be able to ping each host (and this will not work
in your setup). It's not a problem with Bird.

With regards,
Daniel


On 03/07/2018 05:20 PM, Mattia Milani wrote:
> all external interface of the peer belong to the same network, and the
> address of the network is 10.0.0.0/8 <http://10.0.0.0/8> that is unic.
> 
> sorry for the network picture, i noted after had sended the email that
> it get mangled.
> now i try to explain it more clearly
> 
> H0 belong to AS2 and have the interface eth1 with the address 10.0.0.1/8
> <http://10.0.0.1/8> and it is connected with H1
> H1 belong to AS4 and have two interfaces:
>      -eth1 with the address 10.0.1.1/8 <http://10.0.1.1/8> that is
> connected with H0.eth1
>      -eth2 with the address 10.0.1.2/8 <http://10.0.1.2/8> that is
> connected with H2.eth2
> H2 belong to AS3 and have two interfaces:
>      -eth1 with the address 10.0.2.1/8 <http://10.0.2.1/8> that is
> connected with H3.eth1
>      -eth2 with the address 10.0.2.2/8 <http://10.0.2.2/8> that is
> connected with H1.eth2
> H3 belong to AS1 and have the interface eth1 with the address 10.0.3.1/8
> <http://10.0.3.1/8> and it is connected with H2
> 
> i hope that this way to explain the network is more clearly
> 
> every interace is on the same network address so do you mean that every
> bgp session between two peer need to have different network address?
> 
> 
> 
> 2018-03-07 17:01 GMT+01:00 Ondrej Zajicek <santiago at crfreenet.org
> <mailto:santiago at crfreenet.org>>:
> 
>     On Wed, Mar 07, 2018 at 04:45:55PM +0100, Mattia Milani wrote:
>     > yeah they are a /8, so bird doesn't support /8?
>     > now i'll try to modify them.
>     >
>     > but sorry, why bird doesn't support /8?
> 
>     BIRD of course supports /8 (and any other prefix lengths), but your
>     network setup have more networks with the same network prefix
>     (10.0.0.0/8 <http://10.0.0.0/8>), if i understand your network
>     picture correctly (it get
>     mangled in mail). Such network setup is not generally correct.
> 
>     --
>     Elen sila lumenn' omentielvo
> 
>     Ondrej 'Santiago' Zajicek (email: santiago at crfreenet.org
>     <mailto:santiago at crfreenet.org>)
>     OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3,
>     wwwkeys.pgp.net <http://wwwkeys.pgp.net>)
>     "To err is human -- to blame it on a computer is even more so."
> 
> 


More information about the Bird-users mailing list