A possibly cleaner fix would be to set the iface entry to:
auto lo iface lo inet loopback post-up ip addr add 127.0.1.1/8 dev lo
However, if you want to fix the problem for good, apply this patch to ifupdown and rebuild the package:
--- ifupdown-0.6.8ubuntu29/ifupdown.nw.sav 2010-07-17 13:31:19.155758540 +0100 +++ ifupdown-0.6.8ubuntu29/ifupdown.nw 2010-07-17 13:30:32.587758481 +0100 @@ -4031,6 +4031,7 @@
up ifconfig %iface% 127.0.0.1 up + ifconfig %iface%:0 127.0.1.1 up route add -net 127.0.0.0 if ( mylinuxver() < mylinux(2,1,100) )
down
A possibly cleaner fix would be to set the iface entry to:
auto lo
iface lo inet loopback
post-up ip addr add 127.0.1.1/8 dev lo
However, if you want to fix the problem for good, apply this patch to ifupdown and rebuild the package:
--- ifupdown- 0.6.8ubuntu29/ ifupdown. nw.sav 2010-07-17 13:31:19.155758540 +0100 0.6.8ubuntu29/ ifupdown. nw 2010-07-17 13:30:32.587758481 +0100
+++ ifupdown-
@@ -4031,6 +4031,7 @@
up
ifconfig %iface% 127.0.0.1 up
+ ifconfig %iface%:0 127.0.1.1 up
route add -net 127.0.0.0 if ( mylinuxver() < mylinux(2,1,100) )
down