SOLVED: problem is vzctl debian scripts (backported from 3.0.25.2 and everything works fine).
I have the exact same issue: after upgrading the kernel to version 2.6.18-194.26.1.el5.028stab081.1 every debian based container has an empty routing table (connect: Network is unreachable).
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
NOTE: Anyother redhad/centos/fedora container works just fine...
Also, after adding/removing and IP address from the container the routing table looks ok.
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 venet0
But, after restarting the container, the problem persists.
vzctl version 3.0.26
2.6.18-194.26.1.el5.028stab081.1 x86_64
CentOS release 5.5
[Updated on: Tue, 01 March 2011 11:17]
Report message to a moderator