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

Michael Ross gmx at ross.cx
Mon Jan 9 20:50:18 UTC 2012


Am 09.01.2012, 21:47 Uhr, schrieb Michael Ross <gmx at ross.cx>:

> 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?

Part two of message:


ng_one2many
http://www.freebsd.org/cgi/man.cgi?query=ng_one2many&sektion=4&apropos=0&manpath=FreeBSD+8.2-RELEASE

or maybe

ng_bridge
http://www.freebsd.org/cgi/man.cgi?query=ng_bridge&sektion=4&apropos=0&manpath=FreeBSD+8.2-RELEASE


Michael



> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to  
> "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list