Access to Internet with a Virtual Machine

Hi.
I want to have access to the Internet from my VMs.
How can i do it?
My configuration is: 2 kvm-nodes with network 10.10.0.0/16. VLAN 101, and has access to the Internet.
2 Virtual Networks with addresses 172.16.10.0/24 VLAN102 and 192.168.10.0/24 VLAN 102
I don’t use OVS.
How can i do it?

Hello.

You could setup a virtual router with:

  • one interface on your VLAN 101
  • one interface on each virtual network which should have access to internet

I suppose you have a bridge with one physical interface enrolled to forward traffic to physical VLAN 101

Regards.

1 Like

Thank you so much for the reply.