Akira Kitada wrote:
On Sun, Jan 11, 2004 at 02:37:42PM +1100, Russell Shaw wrote:Hi, In /etc/network/interfaces (debian-unstable), i have: auto lo eth0 iface lo inet loopback iface eth0 inet static address 192.168.0.1 netmask 255.255.255.0 network 192.168.0.0 How do i get:192.168.0.0 127.0.0.1 255.255.255.0 U 40 0 0 eth0
>>
Everything i try causes errors.First of all, what's the 'everything'? Please explain what you call everything.
I tried: auto lo eth0 iface lo inet loopback iface eth0 inet static address 192.168.0.1 netmask 255.255.255.0 network 192.168.0.0 gateway 127.0.0.1 but ifup -av gives: Configuring interface lo=lo (inet) run-parts /etc/network/if-pre-up.d ifconfig lo 127.0.0.1 up run-parts /etc/network/if-up.d Configuring interface eth0=eth0 (inet) run-parts /etc/network/if-pre-up.d ifconfig eth0 192.168.0.1 netmask 255.255.255.0 up route add default gw 127.0.0.1 eth0 SIOCADDRT: Network is unreachable I see this as wrong: route add default gw 127.0.0.1 eth0 I downloaded the source and read the docs, but didn't help.