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

Re: RFC: new network config (was: Re: network configuration)

On Thu, 4 February 1999 23:26:45 +0000, Christian Hammers wrote:
> But I *strongly* need comments.

You read mine?

> My approach is now the following. I try to use as many well-known files as
> possible. The only new file is /etc/interfaces which is itself very 
> "compatible" since it takes the parameters for insmod 1:1 (nearly).

So you have the insmod parameters in that?
I rather say you do not have..?

| netmask broadcast

Like this?

> Now the workflow in pseudo-perl:
> /etc/init.d/interfaces start
> 	foreach $line (<"/etc/interfaces">) {
> 		`ifconfig $line up`
> 		`route add &calc_base_address($ip, $netmask) eth0`
> 	}

Do we want to have the (basic) routes here?
I like to have all the interfaces up first
(including all :1 and :2 (ip_alias)) and *then*
start giving the basic routes. Beware of
duplicate routes here..

> /etc/init.d/routes start
> 	foreach $line (<"/etc/gateways">) {
> 		`route add $ip gw $gw`
> 	}

You will have to put quite some more magic in this since it is
not just the IP for the route and it's hardly a gateway for each
entry. Besides /etc/gateways is used elsewhere, is it?

> 3rd thing: does anything apart from NFS need portmap ? I seems so to me and
> if, it should also vanish from netbase, because now it gets started all the
> time, and I have the strange feeling, that I do not need it !

It hurts no-one. I would like to have it started.


to hell with int(h)el(l)
Alexander Koch - <>< - aka Efraim - PGP - 0xE7694969 - Hannover - Germany

Reply to: