From owner-freebsd-questions@FreeBSD.ORG Thu Oct 18 19:03:58 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DB049484 for ; Thu, 18 Oct 2012 19:03:58 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5D5AF8FC08 for ; Thu, 18 Oct 2012 19:03:57 +0000 (UTC) Received: by mail-ee0-f54.google.com with SMTP id c50so5265829eek.13 for ; Thu, 18 Oct 2012 12:03:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=sAiFWafTc37WDreS6Abk/U40+/uV2aPJ33WnHOGm32Q=; b=WCrRbgoE2k7pD6/TdAi2szG65mqyH1MbzoKMbyj7LQUjPwCZ2TsDP40qdimhYJmzUN fhtGeXMitl3Qlm85xUcaebXK+jxdCUrM5afQkwHNZgm3RSPGkAPS5c7xVqvBcPjVuaO2 7ZVrdTNyF/+DI81RtMxrL/K2qChXBRlPWp6Veor0ru7xkQwCilbWKCxl+dnjWYXubolZ IlL0MEj5Fvwj8IvtaboUv8ESmdbBoUq7KKegtVViUQgMl4DasPwLTcpnCyDfbVO8V5E1 /Wb74ewr/1C0MprMyRIoRu8HQ0HZUKAwx5DjRXHhC+XfOaL70ZzpGbRwgBMIJIytYQJi 7uUA== Received: by 10.14.173.67 with SMTP id u43mr33415369eel.27.1350587036302; Thu, 18 Oct 2012 12:03:56 -0700 (PDT) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPS id b44sm37235497eep.12.2012.10.18.12.03.53 (version=SSLv3 cipher=OTHER); Thu, 18 Oct 2012 12:03:54 -0700 (PDT) Date: Thu, 18 Oct 2012 20:03:50 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: pppoe configuration and dns name resolution Message-ID: <20121018200350.48504572@gumby.homeunix.com> In-Reply-To: References: X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Oct 2012 19:03:59 -0000 On Tue, 16 Oct 2012 20:38:47 +0530 Jack wrote: > My network schematic is: > > PC <-----------------------> ADSL modem <-----> Internet > 192.168.1.2 192.168.1.1 > ... > /etc/resolv.conf > > # Generated by resolvconf > nameserver 192.168.1.1 If 192.168.1.1 is the modem, how can it be a proxy nameserver? It doesn't have an internet connection if it's not terminating PPP. You have ifconfig_fxp0="DHCP" which means you are picking up DHCP from the modem itself not the other side of the PPP link. In bridging mode you only need to configure the underlying ethernet device if you want to route back-out into the router's LAN (PPPoE and IP can share a lan). You don't necessarily need DHCP with PPPoE because PPP can deliver the IP address, DNS etc by itself. If the ISP requires you to use DHCP you should probably have configured the tun0 interface instead of fxp0.