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/