Rafał Zięba wrote:
>>> You don't undertand what the problem is.
>>>
>>> Computer 1 (Vista) Internet connection is ok:
>>> LAN (ICS Host)
>>> IP address: 192.168.0.1
>>> subnet mask: 255.255.255.128
>>>
>>> WLAN
>>> IP address: 192.168.0.129
>>> subnet mask: 255.255.255.128
>>>
>>> Computer 2 (XP) Internet connection is ok:
>>> LAN (ICS Client)
>>> IP address: 192.168.0.2
>>> subnet mask: 255.255.255.128
>>> gateway: 192.168.0.1
>>>
>>> Computer 3 (XP) No internet connection:
>>> WLAN
>>> IP address: 192.168.0.132
>>> subnet mask: 255.255.255.128
>>> gateway: 192.168.0.129
>>>
>>> When there was Win XP on Computer 1 all I had to do was manualy
>>> seting up IP address of DNS server on Computer 3 and I had internet
>>> connetion there. Now it is no longer working. Why? I know I could set
>>> up a network bridge on Computer 1 but I don't want to.
>>>
>>> I can ping both Computer 1 and Computer 2 from Computer 3 but when
>>> I'm trying to ping something in the internet there is no answer.
>>>
>> I don't know why you have those odd subnet masks, but if you change
>> the gateway of computer 3 to 192.168.0.1 you probably will be able to
>> connect to the Internet.
>
> Those settings may be odd but they are correct. Changing gateway was a
> good idea but I'm still not able to connect to internet. I can ping any
> computer from any other so the problem is in settings of Computer 1,
> most likely in default settings of Vista which as I think are diffrent
> from those of XP. It seems like a routing problem to me but it's working
> for LAN subnetwork so I don't know why i wouldn't be working for WLAN as
> well. It's posible there is a firewall in place but it's not working
> even when I disable Windows Firewall.
>
> I think it would be better to decide if we answer on top or at the
> bottom of the message.
The reason why Internet access is working from the LAN but not from the
WLAN is because all of the LAN connections are on the same subnet
(192.168.0.1 through 192.168.0.127) as the default gateway
(192.168.0.1). The WLAN, however, is a different subnet (192.168.0.129
through 192.168.0.255), and thus cannot communicate with the gateway.
If setting the default gateway of your computer 3 WLAN adapter to
192.168.0.1 didn't work (and I can see why it might not), try setting
the default gateway of the WLAN adapter on computer 1 to 192.168.0.1.
If that doesn't work, there are 3 options:
- put everything on the same subnet
- bridge the WLAN and LAN adapters on computer 1
- create an appropriate entry in the routing table on computer 1
--
Lem MS MVP -- Networking
To the moon and back with 64 Kbits of RAM and 512 Kbits of ROM.
http://en.wikipedia.org/wiki/Apollo_Guidance_Computer