Date: Wed, 07 Mar 2007 17:41:13 -0600 From: CyberLeo Kitsana <cyberleo@cyberleo.net> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Solved: Router with multiple DSL uplinks Message-ID: <45EF4D99.6070406@cyberleo.net> In-Reply-To: <45EAE1AD.10706@cyberleo.net> References: <45EAE1AD.10706@cyberleo.net>
next in thread | previous in thread | raw e-mail | index | archive | help
CyberLeo Kitsana wrote: > Hi! > > I'm trying to configure a NAT router with multiple DSL uplinks from > the same provider. Everything seems to work properly, except when > connecting via PPPoE--the second link to come up receives an error > while attempting to configure the second tun interface, as both links > assign addresses in the same subnet and to the same peer. > > Is there some configuration or trick I can use to coerce the router to > bring up both links properly? > > PPp ON router1> Warning: iface add: ioctl(SIOCAIFADDR, xx.xx.xx.230/24 > -> 192.0.2.100): File exists > Error: ipcp_InterfaceUp: unable to set ip address This is caused by multiple ptp interfaces with the same peer address (192.0.2.100 in the above example). At least with SBC (AT&T), the actual IP there doesn't really matter, as it's just a way for the kernel to determine which interface to send the packet out on, and the other side will route the packet regardless. A simple iface up-script in mpd to change the peer IP to something else on each instance fixes the error nicely. This was for a multi-homed router project (2-4 DSL links, without ISP cooperation) that turns out to be quite functional. Details are at the following URL, for anyone interested (only notes for now): http://wiki.cyberleo.net/index.php/MultiHomedRouter Thanks! -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net <CyberLeo@CyberLeo.Net> Furry Peace! - http://www.fur.com/peace/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45EF4D99.6070406>