Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Jul 1999 17:17:27 +0200
From:      Roelof Osinga <roelof@eboa.com>
To:        Dan Busarow <dan@dpcsys.com>
Cc:        Doug White <dwhite@resnet.uoregon.edu>, questions@FreeBSD.ORG
Subject:   Re: IP alias routing problem
Message-ID:  <3780CC87.67CCF0D5@eboa.com>
References:  <Pine.BSF.3.96.990702185458.18855E-100000@java.dpcsys.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <g>.

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3780CC87.67CCF0D5>