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

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


On    4     Feb    1999    23:35:11    +0100,     Christian    Hammers
<ch@lathspell.westend.com> wrote:
> /etc/init.d/interfaces start
> 	foreach $line (<"/etc/interfaces">) {
> 		`ifconfig $line up`
> 		`route add &calc_base_address($ip, $netmask) eth0`

Note that with  kernels 2.2.x, a route is automatically  added for the
attached networks. Your 'route' command will just add a second useless
route.  And no,  it's not  a kernel  bug (detecting  duplicate routes)
because the routes won't have the same scope

> Oh, 2nd thing. As someone suggested: the IP spoofing part gets out of
> netbase. I think it should in routes.

Is  this the  firewalling rules  that  netbase adds  for the  loopback
interface?  Again, this  is useless  with 2.2.0.  The routing  code is
already amune against it (it falls in the category 'martian source')


Reply to: