From owner-freebsd-questions Mon Jul 5 8:15:24 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 EF133150EE for ; Mon, 5 Jul 1999 08:15:17 -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 RAA12111; Mon, 5 Jul 1999 17:14:25 +0200 (CEST) (envelope-from roelof@eboa.com) Message-ID: <3780CC87.67CCF0D5@eboa.com> Date: Mon, 05 Jul 1999 17:17:27 +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: Dan Busarow Cc: Doug White , questions@FreeBSD.ORG Subject: Re: IP alias routing problem References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dan Busarow wrote: > > I haven't been following this whole thread, maybe you could restate > what it is you're trying to accomplish. OK. My host is connected to two ISP's at the same time: network_interfaces="ep0 ep1 lo0" ifconfig_ep0="inet 10.0.0.55 netmask 255.255.255.0" 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" defaultrouter="212.187.0.1" The above is correct, as should be *and* working as advertised. Now, my problem is that I need to contact some 194.134 hosts that lie just outside the 255.255.252.0 mask and need to do so through the 194.134.128.1 gateway. I.e. *not* using the default route. > I'm not sure what I would expect ifconfig to do when you specify > a destination address on a non PTP line but it obviously confuses > the heck out of it. See what it did to your broadcast address If it can't be done as it oughta then it oughta be done as it can. Hm, I guess it looses a bit in translation . Just going through the possibilities. There aren't that many. Added porblem is of course that it doesn't like routing through aliassed IP addresses. But haven't tried the 255.255.0.0 mask yet with this setup. Do know that it failed miserably on the previous setup (linux box). Well, not exactly miserably but strange sideeffects did occur. 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