Quote:
Originally Posted by jefro
Hello and welcome to LQ.
VM's usually have a few ways to connect to either the host, nic card or other vm's. What I think you are suggesting is a public bridge where the ip address of the host's nic is on a vm. One way is to follow this very confusing web page from KVM. https://www.linux-kvm.org/page/Networking
If you tell us your distro there may be more specific steps.
|
Thank you for your reply. The host distribution is ubuntu 16.04. eth0 on the host is the physical dsl interface. I've tried different KVM network configurations (forward=route, bridge, etc) but there's no way to add ppp0 to the bridge? "can't add ppp0 to bridge br0: Invalid argument". When you say "the ip address of the host's nic is on a vm" which host nic are you referring to? The ppp0 interface? If you could provide an example that would be great.
This is what I have on the host:
eth0 --> ppp0 (assigned b.b.b.b)
The public IP addresses (a.a.a.9 and a.a.a.10) are routed via ppp0 to my host. I can create tap interfaces and assign these public IPs on the host. I'm just looking for a way to assign these IPs to VMs running on the host instead and still route them via ppp0 on the host.