Hello,
I know this question was asked many time before but after reading lot of materials I can’t properly configure this.
Setup is as follows:
2 Hosts, 4 interfaces each.
1 interface connected to internet in each host
2 bridges created, one for private networking one for public
For the public bridge the associated interface is obviously one connected to internet
Everything works ok but internet. I can ssh into VMs, they see each other, etc. but I can’t resolve an ip from the outside.
For configuring bridges I am currently using netplan as follows:
bridges:
br-vm:
interfaces: [xyz1]
addresses: [x.20.20.10/24]
mtu: 1500
nameservers:
addresses: [8.8.8.8]
dhcp4: no
dhcp6: no
br-pub:
interfaces: [xyz2]
addresses: [y.50.50.10/24]
nameservers:
addresses: [8.8.8.8]
dhcp4: yes
dhcp6: yes
Then in ONE there are 2 virtual networks configured, one using br-vm while the other br-pub.
After trying with VNF and traditional Virtual Router (none worked) I tried something really simple, which is creating a VM (Ubuntu 18) attaching both vnets, since I presume in such case internet should be reachable directly in the VM without passing through the router, but it is not working either.
So the question is: Am I missing a piece here? I think I am doing something wrong but I am not able to see what.
Version: 5.12.8
VM: Ubuntu 18.04 LTS (KVM) pulled from marketplace
I don’t put here steps to reproduce since I think this is not a bug but, as said, a misconfiguration from my side.
Any help is gonna be really appreciated.
Thanks