2 distinct DSL lines with same endpoint (8-STABLE)

Michael Ross gmx at ross.cx
Mon Jan 9 20:47:51 UTC 2012

Am 09.01.2012, 21:20 Uhr, schrieb Christoph Egger  
<christoph at christoph-egger.org>:

> Hi all!
>   I'm having a FreeBSD 8 gateway that is supposed to do NAT/firewall
> stuff with internet coming through 2 distinct DSL modems from the same
> carrier. Unfortunately I can only run ppp on one of these lines as the
> endpoint address for both lines are the same so bringing up the second
> line fails in
> | PPp ON elephant> Warning: tun1: AIFADDR X.X.X.X -> Y.Y.Y.Y returns -1
> | Warning: iface add: ioctl(SIOCAIFADDR, X.X.X.X -> Y.Y.Y.Y): File exists
> | Error: ipcp_InterfaceUp: unable to set ip address
> Where Y.Y.Y.Y is already also used for the other ppp connection.
>   This seems to be a known Problem with FreeBSD ppp (google turns up
> some results) but I haven't found any usefull workarounds. Can anyone
> suggest some way to get this kind of setup working?
> Regards
>     Christoph

Maybe netgraph will do?

More information about the freebsd-questions mailing list