Hi all, I am new to Bird and I would like to do the following. I have two VMs and I would like to make a BGP peering between the two VMs, is it possible using Bird? Thanks in advance, Fabiano
Hi, Yes, it is possible. On Thu, Mar 19, 2020 at 10:34 PM Fabiano D'Agostino <fabiano.dagostino96@gmail.com> wrote:
Hi all, I am new to Bird and I would like to do the following. I have two VMs and I would like to make a BGP peering between the two VMs, is it possible using Bird?
Thanks in advance,
Fabiano
Good evening Alexander, thanks for answering, could you give me some hints of how to do it? Il giorno gio 19 mar 2020 alle ore 22:37 Alexander Zubkov <green@qrator.net> ha scritto:
Hi,
Yes, it is possible.
On Thu, Mar 19, 2020 at 10:34 PM Fabiano D'Agostino <fabiano.dagostino96@gmail.com> wrote:
Hi all, I am new to Bird and I would like to do the following. I have two VMs
and I would like to make a BGP peering between the two VMs, is it possible using Bird?
Thanks in advance,
Fabiano
On Thu, 19 Mar 2020 at 22:29, Fabiano D'Agostino <fabiano.dagostino96@gmail.com> wrote:
I am new to Bird and I would like to do the following. I have two VMs and I would like to make a BGP peering between the two VMs, is it possible using Bird?
Certainly, the best option is to use a search engine for easy to get started example guides, e.g. this one seems useable, if you want to get going with a minimalistic configuration, https://blog.kintone.io/entry/bird, https://documentation.stormshield.eu/SNS/v3/en/Content/BIRD_Dynamic_Routing/... apart from using a search engine, bird user docs, https://bird.network.cz/?get_doc&f=bird.html&v=16 or GitLab wiki, https://gitlab.labs.nic.cz/labs/bird/-/wikis/Examples
Hello, I confirm, it’s possible and to do it you must put the two VM interfaces in the same subnetwork. A /30 subnetwork is sufficient. After that you have to configure in the correct way the two bird daemons. For the config file you have to refer to the guide on the bird website, and for the peering relationship I can suggest you to read the documentation example about bgp filtering (easily accessible from gitlab). Mattia
Il giorno 19 mar 2020, alle ore 22:38, Fabiano D'Agostino <fabiano.dagostino96@gmail.com> ha scritto:
Hi all, I am new to Bird and I would like to do the following. I have two VMs and I would like to make a BGP peering between the two VMs, is it possible using Bird?
Thanks in advance,
Fabiano
Hi Mattia, thanks for answering, but should I create a sort of virtual network? I mean each VM has its own AS number and router and the two routers make a BGP peering, how can I do it? Il giorno gio 19 mar 2020 alle ore 22:56 <mattia.milani@studenti.unitn.it> ha scritto:
Hello,
I confirm, it’s possible and to do it you must put the two VM interfaces in the same subnetwork. A /30 subnetwork is sufficient.
After that you have to configure in the correct way the two bird daemons.
For the config file you have to refer to the guide on the bird website, and for the peering relationship I can suggest you to read the documentation example about bgp filtering (easily accessible from gitlab).
Mattia
Il giorno 19 mar 2020, alle ore 22:38, Fabiano D'Agostino < fabiano.dagostino96@gmail.com> ha scritto:
Hi all, I am new to Bird and I would like to do the following. I have two VMs and I would like to make a BGP peering between the two VMs, is it possible using Bird?
Thanks in advance,
Fabiano
Fabiano, RTFM is the short answer, (not trying to be rude here 😜) EBGP between two bgp speakers (eg. VMs) is rule of thumb done using interfaces on each ebgp speaker in a shared L2 domain, with ip addresses on each interface in a shared subnet, eg. Ipv4 /30, /31, IPv6 /64, /126, /127. If both VMs are on the same hypervisor. A virtual L2 network between VM interfaces is the easiest option to get going. 😉 -- Chriztoffer tor. 19. mar. 2020 23.40 skrev Fabiano D'Agostino < fabiano.dagostino96@gmail.com>:
Hi Mattia, thanks for answering, but should I create a sort of virtual network? I mean each VM has its own AS number and router and the two routers make a BGP peering, how can I do it?
Il giorno gio 19 mar 2020 alle ore 22:56 <mattia.milani@studenti.unitn.it> ha scritto:
Hello,
I confirm, it’s possible and to do it you must put the two VM interfaces in the same subnetwork. A /30 subnetwork is sufficient.
After that you have to configure in the correct way the two bird daemons.
For the config file you have to refer to the guide on the bird website, and for the peering relationship I can suggest you to read the documentation example about bgp filtering (easily accessible from gitlab).
Mattia
Il giorno 19 mar 2020, alle ore 22:38, Fabiano D'Agostino < fabiano.dagostino96@gmail.com> ha scritto:
Hi all, I am new to Bird and I would like to do the following. I have two VMs and I would like to make a BGP peering between the two VMs, is it possible using Bird?
Thanks in advance,
Fabiano
On 3/19/20 7:11 PM, Chriztoffer Hansen wrote:
EBGP between two bgp speakers (eg. VMs) is rule of thumb done using interfaces on each ebgp speaker in a shared L2 domain, with ip addresses on each interface in a shared subnet, eg. Ipv4 /30, /31, IPv6 /64, /126, /127. If both VMs are on the same hypervisor. A virtual L2 network between VM interfaces is the easiest option to get going. 😉
There is no same subnet/L2 adjacency requirement for EBGP peering, only that the two peers are reachable to each other. -- inoc.net!rblayzor XMPP: rblayzor.AT.inoc.net PGP: https://pgp.inoc.net/rblayzor/
Hi, thanks everyone, I read the guide, but I didn't find how to put the two VMs in two different ASs. Il giorno ven 20 mar 2020 alle ore 02:43 Robert Blayzor < rblayzor.bulk@inoc.net> ha scritto:
On 3/19/20 7:11 PM, Chriztoffer Hansen wrote:
EBGP between two bgp speakers (eg. VMs) is rule of thumb done using interfaces on each ebgp speaker in a shared L2 domain, with ip addresses on each interface in a shared subnet, eg. Ipv4 /30, /31, IPv6 /64, /126, /127. If both VMs are on the same hypervisor. A virtual L2 network between VM interfaces is the easiest option to get going. 😉
There is no same subnet/L2 adjacency requirement for EBGP peering, only that the two peers are reachable to each other.
-- inoc.net!rblayzor XMPP: rblayzor.AT.inoc.net PGP: https://pgp.inoc.net/rblayzor/
Hi Fabiano, Not sure if someone (or some documentation) already pointed out this guide: https://github.com/knorrie/network-examples/tree/master/bgp-intro The guide uses BIRD 1.4.5 but I guess as long as you're not using BIRD2 you should be fine while taking your first steps. In mean time, you could (and should) migrate your production configuration towards BIRD2. Cheers, Kees On 20-03-2020 08:25, Fabiano D'Agostino wrote:
Hi, thanks everyone, I read the guide, but I didn't find how to put the two VMs in two different ASs.
Il giorno ven 20 mar 2020 alle ore 02:43 Robert Blayzor <rblayzor.bulk@inoc.net <mailto:rblayzor.bulk@inoc.net>> ha scritto:
On 3/19/20 7:11 PM, Chriztoffer Hansen wrote: > EBGP between two bgp speakers (eg. VMs) is rule of thumb done using > interfaces on each ebgp speaker in a shared L2 domain, with ip addresses > on each interface in a shared subnet, eg. Ipv4 /30, /31, IPv6 /64, /126, > /127. > If both VMs are on the same hypervisor. A virtual L2 network between VM > interfaces is the easiest option to get going. 😉 >
There is no same subnet/L2 adjacency requirement for EBGP peering, only that the two peers are reachable to each other.
-- inoc.net <http://inoc.net>!rblayzor XMPP: rblayzor.AT.inoc.net <http://rblayzor.AT.inoc.net> PGP: https://pgp.inoc.net/rblayzor/
Hi Kees, thanks for helping me, as I told I am new to Bird, so I directly installed the latest version 2.07. Fabiano Il giorno ven 20 mar 2020 alle ore 08:41 Kees Meijs <kees@nefos.nl> ha scritto:
Hi Fabiano,
Not sure if someone (or some documentation) already pointed out this guide: https://github.com/knorrie/network-examples/tree/master/bgp-intro
The guide uses BIRD 1.4.5 but I guess as long as you're not using BIRD2 you should be fine while taking your first steps.
In mean time, you could (and should) migrate your production configuration towards BIRD2.
Cheers, Kees
On 20-03-2020 08:25, Fabiano D'Agostino wrote:
Hi, thanks everyone, I read the guide, but I didn't find how to put the two VMs in two different ASs.
Il giorno ven 20 mar 2020 alle ore 02:43 Robert Blayzor < rblayzor.bulk@inoc.net> ha scritto:
On 3/19/20 7:11 PM, Chriztoffer Hansen wrote:
EBGP between two bgp speakers (eg. VMs) is rule of thumb done using interfaces on each ebgp speaker in a shared L2 domain, with ip addresses on each interface in a shared subnet, eg. Ipv4 /30, /31, IPv6 /64, /126, /127. If both VMs are on the same hypervisor. A virtual L2 network between VM interfaces is the easiest option to get going. 😉
There is no same subnet/L2 adjacency requirement for EBGP peering, only that the two peers are reachable to each other.
-- inoc.net!rblayzor XMPP: rblayzor.AT.inoc.net PGP: https://pgp.inoc.net/rblayzor/
That's fine. All I tried to point out is the guide is for the old branch but still could help you with the basics. If you read the guide you might figure out it teaches you as needed and you could think of not using BIRD2 using your learning course and upgrade later on. Just a thought. On 20-03-2020 08:43, Fabiano D'Agostino wrote:
thanks for helping me, as I told I am new to Bird, so I directly installed the latest version 2.07.
To manage the AS number of each VM use the bgp protocol configuration of bird Mattia
Il giorno 20 mar 2020, alle ore 08:33, Fabiano D'Agostino <fabiano.dagostino96@gmail.com> ha scritto:
Hi, thanks everyone, I read the guide, but I didn't find how to put the two VMs in two different ASs.
Il giorno ven 20 mar 2020 alle ore 02:43 Robert Blayzor <rblayzor.bulk@inoc.net> ha scritto: On 3/19/20 7:11 PM, Chriztoffer Hansen wrote:
EBGP between two bgp speakers (eg. VMs) is rule of thumb done using interfaces on each ebgp speaker in a shared L2 domain, with ip addresses on each interface in a shared subnet, eg. Ipv4 /30, /31, IPv6 /64, /126, /127. If both VMs are on the same hypervisor. A virtual L2 network between VM interfaces is the easiest option to get going. 😉
There is no same subnet/L2 adjacency requirement for EBGP peering, only that the two peers are reachable to each other.
-- inoc.net!rblayzor XMPP: rblayzor.AT.inoc.net PGP: https://pgp.inoc.net/rblayzor/
Hi all You are really doing good research, which of course can be fixed between two VMs. You can also do different IPs and ASN in the same block. Again, if the IP and separate ASN of a different block can be done. [image: image.png] [image: image.png] With Kinds Regards ------------------------------ *Md Alamgir Kabi*r On Fri, Mar 20, 2020 at 3:31 AM Fabiano D'Agostino < fabiano.dagostino96@gmail.com> wrote:
Hi all, I am new to Bird and I would like to do the following. I have two VMs and I would like to make a BGP peering between the two VMs, is it possible using Bird?
Thanks in advance,
Fabiano
Hi all, thank you for helping, but so I have to set up an entire network lab using LXC and OpenvSwitch? Otherwise, how can I set up a router, AS number and prefixes that a router wants to announce inside a VM? Fabiano Il giorno ven 20 mar 2020 alle ore 09:40 Md Alamgir Kabir < kabirrana5@gmail.com> ha scritto:
Hi all You are really doing good research, which of course can be fixed between two VMs. You can also do different IPs and ASN in the same block. Again, if the IP and separate ASN of a different block can be done.
[image: image.png]
[image: image.png] With Kinds Regards ------------------------------ *Md Alamgir Kabi*r
On Fri, Mar 20, 2020 at 3:31 AM Fabiano D'Agostino < fabiano.dagostino96@gmail.com> wrote:
Hi all, I am new to Bird and I would like to do the following. I have two VMs and I would like to make a BGP peering between the two VMs, is it possible using Bird?
Thanks in advance,
Fabiano
Hi, gns3 could be of help here, much easier to setup on your computer & after which you'll have console access to your routers for configuration. On Fri, Mar 20, 2020 at 12:09 PM Fabiano D'Agostino < fabiano.dagostino96@gmail.com> wrote:
Hi all, thank you for helping, but so I have to set up an entire network lab using LXC and OpenvSwitch? Otherwise, how can I set up a router, AS number and prefixes that a router wants to announce inside a VM?
Fabiano
Il giorno ven 20 mar 2020 alle ore 09:40 Md Alamgir Kabir < kabirrana5@gmail.com> ha scritto:
Hi all You are really doing good research, which of course can be fixed between two VMs. You can also do different IPs and ASN in the same block. Again, if the IP and separate ASN of a different block can be done.
[image: image.png]
[image: image.png] With Kinds Regards ------------------------------ *Md Alamgir Kabi*r
On Fri, Mar 20, 2020 at 3:31 AM Fabiano D'Agostino < fabiano.dagostino96@gmail.com> wrote:
Hi all, I am new to Bird and I would like to do the following. I have two VMs and I would like to make a BGP peering between the two VMs, is it possible using Bird?
Thanks in advance,
Fabiano
participants (8)
-
Alexander Zubkov -
Chriztoffer Hansen -
Fabiano D'Agostino -
Kees Meijs -
mattia.milani@studenti.unitn.it -
Md Alamgir Kabir -
Robert Blayzor -
wax g.