KVM has no internet

jompsi

Active Member
Apr 15, 2013
33
0
26
Hello all

I have at home one server, which is running proxmox:
Code:
pve-manager/3.1-21/93bf03d4 (running kernel: 2.6.32-26-pve)

The network config is the following:
Code:
# network interface settings
auto lo
iface lo inet loopback

iface eth0 inet manual

auto vmbr0
iface vmbr0 inet static
        address  192.168.1.120
        netmask  255.255.255.0
        gateway  192.168.1.1
        bridge_ports eth0
        bridge_stp off
        bridge_fd 0

Now I have set up two KVM with Linux Debian 7.6.0 AMD64 Netinst. Their network configuration looks like this:
Code:
# The loopback network interface
auto lo
iface lo inet loopback

iface eth0 inet manual

auto eth0
iface eth0 inet static
        address 192.168.1.123
        netmask 255.255.255.0
        gatewaz 192.168.1.1

The KVM can ping the proxmox server and the gateway at 192.168.1.1, but as soon as I ping google.ch or 8.8.8.8 i get this error:
Code:
ping 8.8.8.8
connect: Network is unreachable
root@groot:~# traceroute 8.8.8.8
traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 60 byte packets
connect: The network is not reachable

On this server is a ContainerVZ running, which has no trouble reaching the internet.

Do you have a clou, what is going wrong with the KVM. Have I forgotten something or did I made an error configuring the KVM?

Thanks and regards
jompsi
 
Looks like you misspelled the word gateway in your eth configuration.
 
Ohh, damnnn :eek:
Will have a look at this, when i get home today. I am soooooo sorryyyyy and thanks for your answer @term. I dont know how i was that blind. The mistake must be, that Y and Z were replaced on my keyboard.
Can we do, like this never happened :p