[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: network config



On Sun, Oct 22, 2000 at 08:12:33PM -0800, Ethan Benson wrote:
> 
> yup dhcp sucks, for potato configure your interfaces in
> /etc/network/interfaces
> 
> something like this:
> 
> iface eth0 inet static
>         address 192.168.0.1
>         netmask 255.255.255.0
>         network 192.168.0.0
>         broadcast 192.168.0.255
>         gateway 192.168.0.10
> 
> your addresses will obviously be different. 

    Hmm. I just looked in /etc/init.d, and there's a network script that sets
up the loopback connection:

#! /bin/sh
ifconfig lo 127.0.0.1
route add -net 127.0.0.0

    I see an entry in /etc/network/interfaces for this but it's commented out.
So, if it's supposed to be done in /etc/network/interfaces, what's this
network script for? 

    Mike

-- 
Michael P. Soulier <msoulier@storm.ca>
"...the word HACK is used as a verb to indicate a massive amount
of nerd-like effort."  -Harley Hahn, A Student's Guide to UNIX
PGP Public Key: http://www.storm.ca/~msoulier/personal.html

Attachment: pgpXFmtiwX86J.pgp
Description: PGP signature


Reply to: