From owner-freebsd-questions Tue Aug 10 11: 9:31 1999 Delivered-To: freebsd-questions@freebsd.org Received: from nisser.com (n2000039.telekabel.chello.nl [212.187.0.39]) by hub.freebsd.org (Postfix) with ESMTP id 7F58A15095 for ; Tue, 10 Aug 1999 11:09:17 -0700 (PDT) (envelope-from roelof@nisser.com) Received: from nisser.com (roelof [10.0.0.2]) by nisser.com (8.9.2/8.9.2) with ESMTP id UAA66585; Tue, 10 Aug 1999 20:10:03 +0200 (CEST) (envelope-from roelof@nisser.com) Message-ID: <37B06A8A.E96D5D09@nisser.com> Date: Tue, 10 Aug 1999 20:08:10 +0200 From: Roelof Osinga Organization: eboa - engineering buro Office Automation X-Mailer: Mozilla 4.6 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: Doug White Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ARP message flood References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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