From owner-freebsd-stable@FreeBSD.ORG Wed Oct 27 21:42:14 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 54DB516A4CE for ; Wed, 27 Oct 2004 21:42:14 +0000 (GMT) Received: from vision-bsd.nl (kf-sdm-cb01-0127.dial.kabelfoon.nl [62.45.26.128]) by mx1.FreeBSD.org (Postfix) with SMTP id 8F09143D2F for ; Wed, 27 Oct 2004 21:42:12 +0000 (GMT) (envelope-from sam@vision-bsd.nl) Received: (qmail 56513 invoked by uid 1018); 27 Oct 2004 21:42:11 -0000 Received: from sam@vision-bsd.nl by freebsd.sam.intern by uid 1016 with qmail-scanner-1.22-st-qms (clamdscan: 0.75. spamassassin: 3.0.1. Clear:RC:1(192.168.0.4):. Processed in 0.597045 secs); 27 Oct 2004 21:42:11 -0000 X-Antivirus-MYDOMAIN-Mail-From: sam@vision-bsd.nl via freebsd.sam.intern X-Antivirus-MYDOMAIN: 1.22-st-qms (Clear:RC:1(192.168.0.4):. Processed in 0.597045 secs Process 56504) Received: from sam-kamer.sam.intern (HELO SamKamer) (192.168.0.4) by vision-bsd.nl with SMTP; 27 Oct 2004 21:42:10 -0000 From: "Samuel Trommel" To: , "'Samuel Trommel'" Date: Wed, 27 Oct 2004 23:42:08 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <20041027195632.GA1888@bsdbox.farid-hajji.net> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcS8XwtB0s8TLn7DSJa2GgabI6m58AADiuow X-Antivirus-MYDOMAIN-Message-ID: <109891333083556504@freebsd.sam.intern> Message-Id: <20041027214212.8F09143D2F@mx1.FreeBSD.org> cc: 'Peter Ulrich Kruppa' cc: freebsd-stable@freebsd.org Subject: RE: ppp -nat broken??? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Oct 2004 21:42:14 -0000 You should have read the whole thread first cpghost:) Greets, Samuel Trommel -----Original Message----- From: owner-freebsd-stable@freebsd.org [mailto:owner-freebsd-stable@freebsd.org] On Behalf Of cpghost@cordula.ws Sent: woensdag 27 oktober 2004 21:57 To: Samuel Trommel Cc: Peter Ulrich Kruppa; freebsd-stable@freebsd.org Subject: Re: ppp -nat broken??? On Wed, Oct 27, 2004 at 05:11:54PM +0200, Samuel Trommel wrote: > > > Primary nameserver 195.62.99.42 > > > Secundary nameserver 195.62.97.177 > > Yes, that works, thank you so far, but ... > > I never had to do this before this way. I always simply set my > > gateway as name-server and I wonder what has changed the last > > week or so. > > Just imagine, I had to upgrade our school's gateway/proxy (which > > And that is where dhcpd comes in to play:D > > Just setup a DHCP-server and you are done.. Well, sorry to chime in here, but you're just suggesting a work around, not a real solution (which is to be running a caching named on the gateway machine). Uli, could you check if your named works as expected? The following applies to 5.x, adjust as necessary for 4.x: 1. does named indeed run on the gateway? gw# ps ax | grep named 277 ?? Ss 8:29.33 /usr/sbin/named -u bind -t /var/named 18582 ?? Ss 1:54.00 /usr/sbin/syslogd -l /var/run/log -l /var/named/var/r 81756 p1 S+ 0:00.02 grep named 2. does named listen on all relevant interfaces (sockstat -46)? You should get something like this: gw# sockstat -46 | grep bind bind named 277 20 udp4 192.168.254.1:53 *:* bind named 277 21 tcp4 192.168.254.1:53 *:* bind named 277 22 udp4 127.0.0.1:53 *:* bind named 277 23 tcp4 127.0.0.1:53 *:* bind named 277 24 udp4 *:59582 *:* bind named 277 25 tcp4 127.0.0.1:953 *:* (one random port must be open to the outside world, so named can get replies (?), other ports must be open to the inside net(s)) 3. using dig from the gateway, querying the local named, whan happens? 4. using dig from a host != gateway (on your local net), what happens? 5. Can you ping outside NUMERICAL IP address from your local net? % ping 66.94.229.254 (www.altavista.com) Regards, cpghost. -- Cordula's Web. http://www.cordula.ws/ _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"