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.dagostin...@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.mil...@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.dagostin...@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 >> >