Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Aug 1999 20:08:10 +0200
From:      Roelof Osinga <roelof@nisser.com>
To:        Doug White <dwhite@resnet.uoregon.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: ARP message flood
Message-ID:  <37B06A8A.E96D5D09@nisser.com>
References:  <Pine.BSF.4.10.9908091622430.1164-100000@resnet.uoregon.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Doug White wrote:
> 
> On Sat, 7 Aug 1999, Roelof Osinga wrote:
> 
> > ifconfig_ep1="inet 212.187.0.39 netmask 255.255.248.0"
> > ifconfig_ep1_alias0="inet 194.134.130.170 194.134.128.1 netmask 255.255.252.0"
> 
> No, no, no.
> 
> ifconfig_ep1="inet 212.187.0.39 netmask 255.255.248.0"
> ifconfig_ep1_alias0="inet 194.134.130.170 netmask 255.255.252.0"
> ifconfig_ep1_alias1="inet 194.134.128.1 netmask 255.255.252.0"
> 
> Please read rc.conf(5).

Why, why, why?

The 252.0 mask over 130.170 includes 128.1 so a seperate alias is hardly
appropriate. Also, these are merely parameters expanded into an ifconfig
expression. Thus, see man ifconfig(8) above rc.conf(5).

What you're doing is defining an IP alias of 128.1 which is the IP
address of the gateway at the other end of the "line". Should be a
static route like:

static_routes="euronet"
route_euronet="194.134.0.0 194.134.128.1"

but my solution works just fine. The problem lies in the ARP for the
alias and in the static route not working over an aliassed IP. I.e.
the static route above doesn't work as advertised.

Roelof

-- 
Home is where the (@) http://eboa.com/ is.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37B06A8A.E96D5D09>