Date: Tue, 20 Feb 2007 14:30:45 -0500 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: MoonblueZ <moonbluez@gmail.com> Cc: freebsd-questions@freebsd.org, freebsd-pf@freebsd.org Subject: Re: xDSL n Dial up connection ??? help Message-ID: <44zm78y6ca.fsf@be-well.ilk.org> In-Reply-To: <1bdd14300702190528i2ddbae3lb8070b1a4c7b574e@mail.gmail.com> (moonbluez@gmail.com's message of "Mon\, 19 Feb 2007 20\:28\:04 %2B0700") References: <1bdd14300702190528i2ddbae3lb8070b1a4c7b574e@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
MoonblueZ <moonbluez@gmail.com> writes: > ---------- ----------- > | ISP 1 | | ISP 2 | > ---------- ----------- > | | > (DHCP) | | (DHCP) > | | > ----- ----- > Dial up --> | | | | <-- xDSL > ----- ----- > \ / > ---------------- > | router | > ---------------- > | > | > -------------------- > > I have some problem here, about how to setting freebsd router which have two > link like topology above. i want the router have automatically detected if > xDSL link has down n swicth the link to dial up automatically. even so was > the reverse if link xDSL has up n dial up is disconnect automatically.. Aside from detecting the status of the DSL link, ppp(8) can handle everything you need. However, figuring out when the link goes down can be tricky; among other things, the techniques available depend on how you interface to the DSL line. You may need some kind of heartbeat -- in the worst case, you might need to set one up yourself using a ping of some upstream router. Good luck. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44zm78y6ca.fsf>