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

Re: My network script running before eth0 is created



On Mon, 1 Jun 1998, Ian Lynagh wrote:

: 
: Hi all!
: 
: I am having a problem with setting my network up.
: I basically want to run the following commands at bootup:
: ifconfig eth0:0 1.1.1.1 netmask 255.0.0.0 broadcast 1.255.255.255
: route add -net 1.0.0.0 dev eth0:0

I'm not sure what you're trying to do here, but are you really running a
full Class A on one segment?  That seems, well, illogical to me :)  We
use 10.x.x.x private IP space all the time, but never with a mask
shorter than 255.255.252.0.

I usually just edit /etc/init.d/network if I want interface changes, or
have that file source or call the script that has the changes.  I don't
know if editing /etc/init.d/network is evil or not; I don't think it is
:)  That way, the script is called at the appropriate time; the rc.d
links are already there for you.

I assume you got a kernel with IP Aliasing linked in or compiled as a
module.

--
Nathan Norman
MidcoNet - 410 South Phillips Avenue - Sioux Falls, SD  57104
mailto://finn@midco.net   http://www.midco.net
finger finn@kepler.midco.net for PGP Key: (0xA33B86E9)



--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: