Ubuntu 12.10 container doesn't get default route on boot

  • Thread starter Thread starter alex88
  • Start date Start date
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?