After upgrade from squeezy to wheezy my network configuration lost gateway.
(i have lxc containers, and all of wheezy losts, one, which i want to stay squeezy - still have, so i'm sure, that the problem is of wheezy upgrade)
I have to add manually route add default gw x.x.x.x eth0 to bring back - but reboot remove it of course.
What is the correct way to set gateway on wheezy?
my /etc/network/interfaces:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 172.16.0.5
netmask 255.255.255.0
gateway 172.16.0.1
broadcast 172.16.0.255
====================================== added ========================
#netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
172.16.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
I'm definetely sure that wheezy breaks sth. I found, that i have one more squeeze container (not important) which has gateway working - i upgraded it and gateway is lost..
I don't use any NetworkManager (intentionaly) - no gui at all