Peter Iannarelli <peter@pisys.com> writes:
> What I have in my /etc/init.d/network is
>
> ifconfig lo 127.0.0.0 netmask 255.0.0.0
> route add -net 127.0.0.0 netmask 255.0.0.0
> Hi Peter, and listers, This is my /etc/init.d/network
>
> #! /bin/sh
> ifconfig lo 127.0.0.1
> route add -net 127.0.0.0
the original one is the right one - if testet it today ;-)
you can verify that with ifconfig and netstat -nr:
root@abraxas:[run] #ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
RX packets:22 errors:0 dropped:0 overruns:0
TX packets:22 errors:0 dropped:0 overruns:0
root@abraxas:[run] #netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
127.0.0.0 0.0.0.0 255.0.0.0 U 3584 0 0 lo
hope it helps
Christian
--
Christian Leutloff, Aachen, Germany
eMail: leutloff@sundancer.oche.de http://www.oche.de/~leutloff/
Debian/GNU Linux! Mehr unter http://www.debian.org/
Attachment:
pgpFgMqfL38cl.pgp
Description: PGP signature