From owner-freebsd-questions@FreeBSD.ORG Mon Jan 9 20:47:50 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8C7C106564A for ; Mon, 9 Jan 2012 20:47:50 +0000 (UTC) (envelope-from gmx@ross.cx) Received: from www81.your-server.de (www81.your-server.de [213.133.104.81]) by mx1.freebsd.org (Postfix) with ESMTP id A55208FC15 for ; Mon, 9 Jan 2012 20:47:50 +0000 (UTC) Received: from [188.108.237.120] (helo=michael-think) by www81.your-server.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1RkM88-0006jy-34; Mon, 09 Jan 2012 21:47:44 +0100 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: freebsd-questions@freebsd.org, "Christoph Egger" References: <87obuciq68.fsf@hepworth.siccegge.de> MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Michael Ross" Date: Mon, 09 Jan 2012 21:47:24 +0100 Message-ID: In-Reply-To: <87obuciq68.fsf@hepworth.siccegge.de> User-Agent: Opera Mail/11.60 (Win32) X-Authenticated-Sender: gmx@ross.cx X-Virus-Scanned: Clear (ClamAV 0.97.3/14280/Mon Jan 9 16:31:14 2012) Cc: Subject: Re: 2 distinct DSL lines with same endpoint (8-STABLE) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jan 2012 20:47:51 -0000 Am 09.01.2012, 21:20 Uhr, schrieb Christoph Egger : > 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?