On 30 Mär, Ruslan Ermilov wrote:
>> What to do in this situation? I didn't want add the defaultroute
>> everytime (POLA).
>>
> But if we don't do this, we may end up using the wrong source IP
> address. Without my fixes, try this:
>
> 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.
--
The dark ages were caused by the Y1K problem.
http://www.Leidinger.net Alexander @ Leidinger.net
GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message