Re: Windows machine not pinging the outside world of a LAN
From: Vlad D. Markov (markov_at_monmouth.com)
Date: 08/07/04
- Previous message: John Cholewa: "Re: "route show" command on freebsd"
- In reply to:(deleted message) John Eggert: "Re: Windows machine not pinging the outside world of a LAN"
- Next in thread: Björn König: "Re: Windows machine not pinging the outside world of a LAN"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message: John Cholewa: "Re: "route show" command on freebsd"
- In reply to:(deleted message) John Eggert: "Re: Windows machine not pinging the outside world of a LAN"
- Next in thread: Björn König: "Re: Windows machine not pinging the outside world of a LAN"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|