Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Mar 2001 15:39:40 +0200 (CEST)
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        ru@FreeBSD.org
Cc:        current@FreeBSD.org
Subject:   Re: Recent interface/routing changes breaks on-demand PPP (+sppp)
Message-ID:  <200103301339.f2UDdro62427@Magelan.Leidinger.net>
In-Reply-To: <20010330152132.C82273@sunbay.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 30 M=E4r, Ruslan Ermilov wrote:

>> What to do in this situation? I didn't want add the defaultroute
>> everytime (POLA).
>>=20
> But if we don't do this, we may end up using the wrong source IP
> address.  Without my fixes, try this:
>=20
> 1)  ifconfig isp1 X.X.X.1 ....
> 2)  route add default -iface isp1
> 3)  ifconfig isp1 X.X.X.2
> 4)  ping some outside host
> 5)  watch the packets will go from the wrong address (X.X.X.1)

If I use
  route add default -interface isp1
I wan't to have the packets routed trough isp1. I don't care about how
the routing table is held consistent, but I if the route is discarded
without my interaction it not only violates POLA, in this case it's
prohibits a valid use of the -interface feature (dial on demand via sppp
is broken at the moment).

Bye,
Alexander.

--=20
            The dark ages were caused by the Y1K problem.

http://www.Leidinger.net                       Alexander @ Leidinger.net
  GPG fingerprint =3D C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7


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




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