Re: ppp -nat broken???

cpghost_at_cordula.ws
Date: 10/27/04

  • Next message: Samuel Trommel: "RE: ppp -nat broken???"
    Date: Wed, 27 Oct 2004 21:56:32 +0200
    To: Samuel Trommel <s.trommel@helpdesk.kabelfoon.nl>
    
    

    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"
    

  • Next message: Samuel Trommel: "RE: ppp -nat broken???"

    Relevant Pages

    • RE: ppp -nat broken???
      ... You should have read the whole thread first cpghost:) ... a caching named on the gateway machine). ... Can you ping outside NUMERICAL IP address from your local net? ... To unsubscribe, ...
      (freebsd-stable)
    • Re: Ethernet printer
      ... and printing fails from it. ... I'd put the printer onto the local net and set ... its gateway to whatever the local net's gateway is. ... email to oshea dot j dot j at gmail dot com. ...
      (comp.sys.mac.misc)
    • Badly cut-up field
      ... some truly nasty ruts in my main in/out gateway (the fields not the ... Should I dig out and backfill with hardcore? ...
      (uk.business.agriculture)
    • Static IP Security
      ... my own web-page. ... Anticipate using the gateway of my local net for ...
      (comp.security.firewalls)