Re: Windows machine not pinging the outside world of a LAN

From: Vlad D. Markov (markov_at_monmouth.com)
Date: 08/07/04

  • Next message: wonder: "Re: Out of inodes"
    Date: Fri, 6 Aug 2004 22:53:46 -0400
    
    

    On Wed, 04 Aug 2004 20:07:00 -0400
    John Eggert <finarfinjge@hotmail.com> wrote:
    > Charles wrote:
    > > Yevgen Muntyan wrote:
    > >> Charles wrote:
    > >>> I have FreeBSD configured with NAT and PPPoE, and other computers
    > >>> in
    > >>> the LAN.
    > >>> I am on a machine that has dual boot: FreeBSD and WinXP.
    > >>> If I boot with FreeBSD, I have instant access to the Internet.
    > >>> If I boot with WinXP, I am unable to access the Internet, but I
    > >>> can
    > >>> ping the FreeBSD gateway, and the gateway can ping it as well.
    > >>
    > >> Problem with DNS? Did you configure it in windows? Try to ping
    > >> 216.239.57.99 (google.com).
    <snip>
    > >
    > > I was able to ping 216.239.57.99 but not www.google.com
    > > What I did was: I copied the DNS from the FreeBSD gateway to the
    > > WinXP client and it worked fine. I was able to ping google.com now.
    > > The "Get DNS automatically" option was greyed out in WinXP. How can
    > > I get automatically the DNS from the gateway? I use PPPoE to connect
    > > to the Internet. So far I'll have to copy/paste the DNS to the Win
    > > box every day...
    > > Any clue?
    > > Thanks,
    >
    > Yes. You need to specify the DNS server. XP doesn't seem to allow you
    > to use a particular IP for a PC without specifying the DNS server. As
    > soon as you specify a specific IP, it won't look to the DHCP server
    > for the DNS. (I could be wrong on the specifics, but the solution of
    > entering my ISP DNS server in the TCP/IP properties worked for me).
    >
    > This is the same DNS server your NAT box points to.
    <snip>
    If I understand you correctly there is a FreeBSD box acting as the
    gateway for your lan (box1). Box1 connects to you ISP using PPPoE. Given
    the preceding, box1 gets its address and DNS nameserver info via DHCP.
    Both are dynamic.

    Box2 is a dual boot FreeBSD/WinXP box on your home lan. Reality is that
    the nameservers given to box1 aren't going to change between
    connections. Easy/lazy solution is just put them in the Windows dialog
    with the proper netmask and be done with it. It sounds to me like you
    already did this on the FreeBSD half of box2.

    Difficult (and frankly a useless waste of time) method is to write a
    script attached to the connection event such that when box1 connects and
    gets its address/nameserver info, dhcpd.conf is changed to reflect the
    name servers received and then dhcpd is started. On the disconnect event
    shut down dhcpd. If and only if the Windows box is ALWAYS booted after
    box1 connects, then it can get the newly entered nameservers passed to
    box1 during the PPoE connection.

    I've got a similar situation as you do and the easy/lazy method has been
    fine for the past two months. Sysadmins don't like to change the IPs of
    their nameservers.


  • Next message: wonder: "Re: Out of inodes"

    Relevant Pages

    • Re: Glue is different from what parent servers report
      ... we had a dns server crash, so i had to install it from scratch again, ... the second network card the ip 192.168.0.15 and started importing the ... Remove the unwanted IP addresses from the Nameservers tab, ... How to Configure OEx for Internet News ...
      (microsoft.public.windows.server.dns)
    • Re: Using Microsoft DNS for Public domains
      ... I have a DMZ at my location. ... >> name I registered two nameservers at my registrar. ... >> the internal DMZ IP of the primary DNS server. ... or do I leave them as is with the private DMZ IP? ...
      (microsoft.public.windows.server.dns)
    • Re: My Linksys WRT54GS router is losing its DNS configuration ...
      ... free.fr may have other nameservers hidden behind ... DNS" nameserver but that apparently has to be on the LAN side, ... nameserver as the primary DNS server, ... >You say you are getting a command line interface in Linux. ...
      (alt.internet.wireless)
    • Re: Using Microsoft DNS for Public domains
      ... I have a DMZ at my location. ... > name I registered two nameservers at my registrar. ... > the internal DMZ IP of the primary DNS server. ... or do I leave them as is with the private DMZ IP? ...
      (microsoft.public.windows.server.dns)
    • Re: Not connecting to Domain
      ... Thank you for your reply and I apologise for the terrible grammar and ... All the machines are in active directory under 'computers'. ... AD-integrated) DNS server - if you have only one DC, specify that server's ...
      (microsoft.public.windowsxp.network_web)