ppp -nat broken???
Samuel Trommel
sam at vision-bsd.nl
Wed Oct 27 14:42:14 PDT 2004
You should have read the whole thread first cpghost:)
Greets,
Samuel Trommel
-----Original Message-----
From: owner-freebsd-stable at freebsd.org
[mailto:owner-freebsd-stable at freebsd.org] On Behalf Of cpghost at cordula.ws
Sent: woensdag 27 oktober 2004 21:57
To: Samuel Trommel
Cc: Peter Ulrich Kruppa; freebsd-stable at 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 at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
More information about the freebsd-stable
mailing list