Daniel Fuehrer
2006-08-24 19:09:49 UTC
Hi,
within a NetBSD installation, I connect to several ISPs via PPPoE using tap
devices. This works fine, but there's a problem with the routing:
In order to send packets over a certain connection, the socket is being
bound to the correspondending IP, but that gives me a "no route to host"
unless I change the default gateway. However, this is no practical solution
since I want to use all PPPoE sessions simultanously.
Therefore, I have to tell NetBSD that it should route all packets
originating from the IP of ISP #1 through the gateway of ISP #1 and so on
(some kind of routing by source address).
There's a how-to for Linux here:
http://www.lartc.org/howto/lartc.rpdb.multiple-links.html
I'd be really glad if someone could describe a working solution for NetBSD
(using pf, ipf or whatever).
Bye
Daniel
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
within a NetBSD installation, I connect to several ISPs via PPPoE using tap
devices. This works fine, but there's a problem with the routing:
In order to send packets over a certain connection, the socket is being
bound to the correspondending IP, but that gives me a "no route to host"
unless I change the default gateway. However, this is no practical solution
since I want to use all PPPoE sessions simultanously.
Therefore, I have to tell NetBSD that it should route all packets
originating from the IP of ISP #1 through the gateway of ISP #1 and so on
(some kind of routing by source address).
There's a how-to for Linux here:
http://www.lartc.org/howto/lartc.rpdb.multiple-links.html
I'd be really glad if someone could describe a working solution for NetBSD
(using pf, ipf or whatever).
Bye
Daniel
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de