From owner-freebsd-questions@FreeBSD.ORG Mon Oct 24 13:22:37 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6826D16A420 for ; Mon, 24 Oct 2005 13:22:37 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail28.sea5.speakeasy.net (mail28.sea5.speakeasy.net [69.17.117.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id B16A743D46 for ; Mon, 24 Oct 2005 13:22:36 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 10285 invoked from network); 24 Oct 2005 13:22:35 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail28.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 24 Oct 2005 13:22:35 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 901BD3F; Mon, 24 Oct 2005 09:22:34 -0400 (EDT) Sender: lowell@be-well.ilk.org To: Ahnjoan Amous References: <5e575c8a0510232022m22dbb31ewa99ed10ee2a3092b@mail.gmail.com> From: Lowell Gilbert Date: 24 Oct 2005 09:22:34 -0400 In-Reply-To: <5e575c8a0510232022m22dbb31ewa99ed10ee2a3092b@mail.gmail.com> Message-ID: <44acgz6odh.fsf@be-well.ilk.org> Lines: 36 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: default routing question ZIPB ADSL PPPoA X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Oct 2005 13:22:37 -0000 Ahnjoan Amous writes: > The short : I believe the problem I am having is due to routing. A DHCP > server sends me IP A.B.C.D with a default route of A.B.C.D. "dhclient" is= n't > handling this well and I don't know how to fix it. Windows as well as Lin= ux > DHCP clients do not have a problem with this and I am at my wits end tryi= ng > to figure out what combination of route commands will fix my issue. >=20 > The long : I have a CellPipe ADSL router/bridge from Lucent. This device = is > provided by our ISP. I am exploring the ZIPB functionality of the device = to > allow my FreeBSD host to own the public IP. The basics of the configurati= on > for those unfamiliar is as follows. PPPoA is established by the device and > the the (public) IP acquired through the previous process is delivered to= a > host behind that CellPipe via DHCP. After DHCP the device acts as a > "bridge", allowing the internal device to use the public IP as its own. I= 'm > sure this description is vague but I don't know any other way to explain. >=20 > Info : After dhclient acquires its info the ethernet interface looks like > this > ifconfig ethernet interface =96 inet A.B.C.D netmask > 255.255.255.255 >=20 > When I connect a windows or Linux host they seem to treat the interface as > the default route and work as expected. With FreeBSD I have tried removing > all routes for the device after assignment, and then adding default route > based on -interface flag for route command. I have also tried opening up = the > netmask on the ethernet interface and adding a default route destined for > what I know the PPPoA connections end point is. >=20 > Nothing I have tried seems to work. I don't consider myself an expert by = any > means but this is clearly beyond my knowledge. >=20 > I'm happy to provide any information you need it you have an idea. Sounds like it's "really" an "unnumbered" interface. Did you try the "-iface" option to route(8)?