[SOLVED] Private networking between VMs?

prox145

Member
Jun 23, 2021
19
0
6
I've been trying to setup 10G private networking between my 2 VMs, however I cannot get it to work.

/etc/network/interfaces:
WlNLtj.png

bridge in GUI:
XGJFmx.png

vm 1:
nym1sl.png

vm 2:
AQ9rjq.png


trying to ping vm 1 from vm 2:
qqMz1n.png


trying to ping vm 2 from vm 1:
KK7a81.png
 
a /32 subnet means you're only having a single IP address. It's literally 255.255.255.255 , meaning there are NO other network devices on that segment.

This won't work. Make like a /28 or something for your internal networks, and you'll be in better shape.
 
it only works with public IPs if they are reachable over the default route.. in your case, if you want to make everything on that bridge reachable (modulo firewall rules), use /24. alternatively, use /32 and manually add the required routes inside the container..
 
it only works with public IPs if they are reachable over the default route.. in your case, if you want to make everything on that bridge reachable (modulo firewall rules), use /24. alternatively, use /32 and manually add the required routes inside the container..
Ah, okay. Thank you very much that worked.