From owner-freebsd-questions Thu Jul 1 8:15:34 1999 Delivered-To: freebsd-questions@freebsd.org Received: from nl.eboa.com (unknown [212.187.0.39]) by hub.freebsd.org (Postfix) with ESMTP id 7577B14D50 for ; Thu, 1 Jul 1999 08:15:29 -0700 (PDT) (envelope-from roelof@eboa.com) Received: from eboa.com (roelof [10.0.0.2]) by nl.eboa.com (8.9.2/8.9.2) with ESMTP id RAA02998 for ; Thu, 1 Jul 1999 17:15:10 +0200 (CEST) (envelope-from roelof@eboa.com) Message-ID: <377B86BD.BC85E71E@eboa.com> Date: Thu, 01 Jul 1999 17:18:21 +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: questions@FreeBSD.ORG Subject: IP alias routing problem Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Given the following in rc.conf: 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" I have solved the accessibility problem of my old IP address. However, I would also like to be able to route packets within -net 194.134 through that alias' path. So I tried the following: route add -net 194.134 194.134.128.1 only to find it still routes through the primary IP address. The text in the route manpage also isn't exactly helpful, to wit: In a change or add command where the destination and gateway are not suf- ficient to specify the route (as in the ISO case where several interfaces may have the same address), the -ifp or -ifa modifiers may be used to de- termine the interface or interface address. constitutes the sum total of explanations regarding those modifiers. It looks like I might need them. Anybody have any pointers? Roelof PS something related I noted is that running natd over an aliassed IP address will not work. It's probably not a bug, more like a quirk? -- 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