Network problems

orkano

New Member
Sep 22, 2009
1
0
1
Hello everybody!

I have a problem setting up a network connection for one virtual machine of mine. Her is how my system looks like:

I have a server that has 3 network devices and that runs ProxmoxVE.
Vmbr0 is on eth0 that provides access to a local network with IP 192.168.0.174,
Subnet Mask and Gateway are correctly configured.

For organisational reasons, we left eth1 empty, then using eth2 for another bridge, vmbr1, with the IP adress 143.43.222.44 and the subnetmask 255.255.252.0 for all 143.43.x.x.

Now i set up a kvm-virtual machine that uses a rtl8139 network adapter on vmbr1 and installed a minimal debian installation. The vm should use the IP adress provided to the vmbr1. But when I try to connect to the internet in any way, it doesn't work saying "failure to resolve" the domain i want to call.

Strangely, I can ping 143.43.222.44 from outside with response, and if i call
ifconfig from inside the vm, it tells the correct ip and subnetmask an i can see no reason why i cannot connect to the internet.

Only thing is, I cannot configure a gateway for vmbr1 as there is just not the option like there is for vmbr0. So I tried to fill it in manually in /etc/network/interfaces analog to eth01. This is how it looks now:

auto lo
iface lo inet loopback

iface eth0 inet manual

iface eth1 inet manual

iface eth2 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.0.174
netmask 255.255.252.0
gateway 192.168.0.1
bridge_ports eth0
bridge_stp off
bridge_fd 0

auto vmbr1
iface vmbr1 inet static
address 143.43.222.44
netmask 255.255.252.0
gateway 134.34.221.1
bridge_ports eth2
bridge_stp off
bridge_fd 0

But still I get no connection.
You have any idea what I did wrong?



Many thanks in advance!
 
Strangely, I can ping 143.43.222.44 from outside with response, and if i call
ifconfig from inside the vm, it tells the correct ip and subnetmask an i can see no reason why i cannot connect to the internet.

Please post you whold network setup (network config of the VM) - else it is imposible to debug.

Only thing is, I cannot configure a gateway for vmbr1 as there is just not the option like there is for vmbr0. So I tried to fill it in manually in /etc/network/interfaces analog to eth01.

Configuring two default gateways makes no sense - please remove that.

- Dietmar
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!