Ubuntu 12.10 container doesn't get default route on boot

A

alex88

Guest
Hi guys,

I've installed a container with ubuntu 12.10, then I've added to /etc/network/interfaces.tail

Code:
auto eth0
iface eth0 inet dhcp
  up route del default dev venet0

and eth0 is bridged to vmbr0 on the host, I've then installed dnsmasq on the host and it provides dhcp + dns.

The problem is that on boot "ip route" doesn't show the default route, but running dhclient eth0 again makes it work fine.
I've the same config on another 12.04 image and it works fine.

Any idea?
 

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!