Re: using linux with windows internet connection sharing
From: Andy Baxter (news4_at_earthsong.null.free-online.co.uk)
Date: 09/16/04
- Next message: Alan Connor: "Re: Linux References Part I"
- Previous message: Paul Lutus: "Re: Linux Links Part I"
- In reply to: Dances With Crows: "Re: using linux with windows internet connection sharing"
- Next in thread: Dances With Crows: "Re: using linux with windows internet connection sharing"
- Reply: Dances With Crows: "Re: using linux with windows internet connection sharing"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 16 Sep 2004 20:41:16 +0100
Dances With Crows said:
> ["Followup-To:" header set to comp.os.linux.misc.]
> On Thu, 16 Sep 2004 19:29:40 +0100, Andy Baxter staggered into the Black
> Sun and said:
>> I'm setting up a linux machine on a small network that is using a
>> windows machine to connect the network to the internet via a usb DSL
>> modem.
>>
>> The linux machine is getting its IP address and gateway OK using DHCP,
>> and the windows machine seems to be working right as a DNS relay (it
>> returned an address for google)
>
> So you're saying that you can do "PING google.com" from a CMD window on
> the 'Doze machine and everything works OK. That's good.
The 'doze machine can browse web sites, so I assume all that's OK.
>> But when I ping google [from the Linux machine], nothing comes
>> back. Pinging the gateway machine (192.168.0.1) does work.
>
> So, what's in the Linux box's /etc/resolv.conf ?
nameserver 192.168.0.1
i.e. dhcp has set up the windows machine as a DNS relay. This does seem to
be working - it returned an address for www.google.com which included the
usual www.google.akadns.net alias, so it must have looked something up.
The problem is that pinging that address doesn't return anything.
> 'Doze ICS is supposed
> to set up a DHCP server on the 'Doze machine, and that DHCP server is
> supposed to provide information to its clients like "this is your IP,
> this is your netmask, these are your DNS servers". If there's nothing
> (or incorrect information) in your Linux machine's resolv.conf , then
> DNS won't work on the Linux box.
That bit is working afaik - the linux box was being given an IP address
and default route, and pinging the windows machine works OK.
-- http://www.niftybits.ukfsn.org/ remove 'n-u-l-l' to email me. html mail or attachments will go in the spam bin unless notified with [html] or [attachment] in the subject line.
- Next message: Alan Connor: "Re: Linux References Part I"
- Previous message: Paul Lutus: "Re: Linux Links Part I"
- In reply to: Dances With Crows: "Re: using linux with windows internet connection sharing"
- Next in thread: Dances With Crows: "Re: using linux with windows internet connection sharing"
- Reply: Dances With Crows: "Re: using linux with windows internet connection sharing"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|