Home All Groups Group Topic Archive Search About

Sharing internet connection in Vista

Author
13 May 2007 11:40 AM
Rafa³ Ziêba
I set up two networks in my house. One is LAN 192.168.0.0/25 the other is
WLAN 192.168.0.128/25. One of the computers (the only one with Vista) is
connected to both of them and is connected to internet using ADSL modem
connected to USB. Thing is I want to share internet connection with both of
those networks. When I was using Win XP I simply used ICS to share it on LAN
and manually set IP address, default gateway and DNS server address an all
computers using my WLAN network. Everything was working fine. Now there is a
problem. I've tried doing the same in Vista. ICS is working OK but no
computer is able connect to the internet using WLAN. When I ping something
in the internet using WLAN network there is no answer. Computers in both
networks see each other. An obvious solution is creation of network bridge
but I don't want to do it. Vista seems to be blocking something and I don't
know what.

Rafa³

Author
13 May 2007 1:42 PM
Robert L [MVP - Networking]
We nevermore information to help. Posting the result of ipconfig /all on both ICS host and client may help.

Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com
  "Rafa³ Ziêba" <rafal.zi***@wp.pl> wrote in message news:OpfvHOVlHHA.2272@TK2MSFTNGP02.phx.gbl...
  I set up two networks in my house. One is LAN 192.168.0.0/25 the other is
  WLAN 192.168.0.128/25. One of the computers (the only one with Vista) is
  connected to both of them and is connected to internet using ADSL modem
  connected to USB. Thing is I want to share internet connection with both of
  those networks. When I was using Win XP I simply used ICS to share it on LAN
  and manually set IP address, default gateway and DNS server address an all
  computers using my WLAN network. Everything was working fine. Now there is a
  problem. I've tried doing the same in Vista. ICS is working OK but no
  computer is able connect to the internet using WLAN. When I ping something
  in the internet using WLAN network there is no answer. Computers in both
  networks see each other. An obvious solution is creation of network bridge
  but I don't want to do it. Vista seems to be blocking something and I don't
  know what.

  Rafa³
Author
13 May 2007 3:01 PM
Jack (MVP-Networking).
Hi
Your statement of two Networks is not clear, in order to share Internet
connection the computers has to be on the same Network and use IPs that are
within ICS specs.
http://technet2.microsoft.com/WindowsVista/en/library/1720eb43-62cb-4327-9f26-8d7401d526531033.mspx?mfr=true
Jack (MVP-Networking).

Show quoteHide quote
"Rafa³ Ziêba" <rafal.zi***@wp.pl> wrote in message
news:OpfvHOVlHHA.2272@TK2MSFTNGP02.phx.gbl...
>I set up two networks in my house. One is LAN 192.168.0.0/25 the other is
>WLAN 192.168.0.128/25. One of the computers (the only one with Vista) is
>connected to both of them and is connected to internet using ADSL modem
>connected to USB. Thing is I want to share internet connection with both of
>those networks. When I was using Win XP I simply used ICS to share it on
>LAN and manually set IP address, default gateway and DNS server address an
>all computers using my WLAN network. Everything was working fine. Now there
>is a problem. I've tried doing the same in Vista. ICS is working OK but no
>computer is able connect to the internet using WLAN. When I ping something
>in the internet using WLAN network there is no answer. Computers in both
>networks see each other. An obvious solution is creation of network bridge
>but I don't want to do it. Vista seems to be blocking something and I don't
>know what.
>
> Rafa³
Author
13 May 2007 5:27 PM
Rafa³ Ziêba
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.

Rafa³

Show quoteHide quote
> Your statement of two Networks is not clear, in order to share Internet
> connection the computers has to be on the same Network and use IPs that
> are within ICS specs.
> http://technet2.microsoft.com/WindowsVista/en/library/1720eb43-62cb-4327-9f26-8d7401d526531033.mspx?mfr=true
> Jack (MVP-Networking).
>
> "Rafa³ Ziêba" <rafal.zi***@wp.pl> wrote in message
> news:OpfvHOVlHHA.2272@TK2MSFTNGP02.phx.gbl...
>>I set up two networks in my house. One is LAN 192.168.0.0/25 the other is
>>WLAN 192.168.0.128/25. One of the computers (the only one with Vista) is
>>connected to both of them and is connected to internet using ADSL modem
>>connected to USB. Thing is I want to share internet connection with both
>>of those networks. When I was using Win XP I simply used ICS to share it
>>on LAN and manually set IP address, default gateway and DNS server address
>>an all computers using my WLAN network. Everything was working fine. Now
>>there is a problem. I've tried doing the same in Vista. ICS is working OK
>>but no computer is able connect to the internet using WLAN. When I ping
>>something in the internet using WLAN network there is no answer. Computers
>>in both networks see each other. An obvious solution is creation of
>>network bridge but I don't want to do it. Vista seems to be blocking
>>something and I don't know what.
>>
>> Rafa³
>
>
Author
13 May 2007 7:20 PM
Jim
"Rafa³ Ziêba" <rafal.zi***@wp.pl> wrote in message
news:ejd75PYlHHA.1624@TK2MSFTNGP06.phx.gbl...
> You don't undertand what the problem is.
I don't see any address in this list which is routable.
If I understand your post:

The WLAN address for computer 1 of 192.168.0.129 is not routable.

The WLAN address for computer 3 of 192.168.0.132 is also not routable.

So, what connects your lan to the internet?  What is its address on the
internet?

Jim
Show quoteHide quote
>
> 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.
>
> Rafa³
>
>> Your statement of two Networks is not clear, in order to share Internet
>> connection the computers has to be on the same Network and use IPs that
>> are within ICS specs.
>> http://technet2.microsoft.com/WindowsVista/en/library/1720eb43-62cb-4327-9f26-8d7401d526531033.mspx?mfr=true
>> Jack (MVP-Networking).
>>
>> "Rafa³ Ziêba" <rafal.zi***@wp.pl> wrote in message
>> news:OpfvHOVlHHA.2272@TK2MSFTNGP02.phx.gbl...
>>>I set up two networks in my house. One is LAN 192.168.0.0/25 the other is
>>>WLAN 192.168.0.128/25. One of the computers (the only one with Vista) is
>>>connected to both of them and is connected to internet using ADSL modem
>>>connected to USB. Thing is I want to share internet connection with both
>>>of those networks. When I was using Win XP I simply used ICS to share it
>>>on LAN and manually set IP address, default gateway and DNS server
>>>address an all computers using my WLAN network. Everything was working
>>>fine. Now there is a problem. I've tried doing the same in Vista. ICS is
>>>working OK but no computer is able connect to the internet using WLAN.
>>>When I ping something in the internet using WLAN network there is no
>>>answer. Computers in both networks see each other. An obvious solution is
>>>creation of network bridge but I don't want to do it. Vista seems to be
>>>blocking something and I don't know what.
>>>
>>> Rafa³
>>
>>
>
Author
13 May 2007 7:34 PM
Rafa³ Ziêba
I have ADSL modem connected via USB to Computer 1. My IP address changes
every time I connect to the internet. Now it is 83.27.6.38. My point is such
configuration was working when I had Windows XP on Computer 1 - now it is
not.

Show quoteHide quote
>> You don't undertand what the problem is.
> I don't see any address in this list which is routable.
> If I understand your post:
>
> The WLAN address for computer 1 of 192.168.0.129 is not routable.
>
> The WLAN address for computer 3 of 192.168.0.132 is also not routable.
>
> So, what connects your lan to the internet?  What is its address on the
> internet?
>
> Jim
>>
>> 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.
>>
>> Rafa³
>>
>>> Your statement of two Networks is not clear, in order to share Internet
>>> connection the computers has to be on the same Network and use IPs that
>>> are within ICS specs.
>>> http://technet2.microsoft.com/WindowsVista/en/library/1720eb43-62cb-4327-9f26-8d7401d526531033.mspx?mfr=true
>>> Jack (MVP-Networking).
>>>
>>> "Rafa³ Ziêba" <rafal.zi***@wp.pl> wrote in message
>>> news:OpfvHOVlHHA.2272@TK2MSFTNGP02.phx.gbl...
>>>>I set up two networks in my house. One is LAN 192.168.0.0/25 the other
>>>>is WLAN 192.168.0.128/25. One of the computers (the only one with Vista)
>>>>is connected to both of them and is connected to internet using ADSL
>>>>modem connected to USB. Thing is I want to share internet connection
>>>>with both of those networks. When I was using Win XP I simply used ICS
>>>>to share it on LAN and manually set IP address, default gateway and DNS
>>>>server address an all computers using my WLAN network. Everything was
>>>>working fine. Now there is a problem. I've tried doing the same in
>>>>Vista. ICS is working OK but no computer is able connect to the internet
>>>>using WLAN. When I ping something in the internet using WLAN network
>>>>there is no answer. Computers in both networks see each other. An
>>>>obvious solution is creation of network bridge but I don't want to do
>>>>it. Vista seems to be blocking something and I don't know what.
>>>>
>>>> Rafa³
>>>
>>>
>>
>
>
Author
13 May 2007 9:10 PM
Lem
Rafa³ Ziêba wrote:
Show quoteHide quote
> 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.
>
> Rafa³
>
>> Your statement of two Networks is not clear, in order to share
>> Internet connection the computers has to be on the same Network and
>> use IPs that are within ICS specs.
>> http://technet2.microsoft.com/WindowsVista/en/library/1720eb43-62cb-4327-9f26-8d7401d526531033.mspx?mfr=true
>>
>> Jack (MVP-Networking).
>>
>> "Rafa³ Ziêba" <rafal.zi***@wp.pl> wrote in message
>> news:OpfvHOVlHHA.2272@TK2MSFTNGP02.phx.gbl...
>>> I set up two networks in my house. One is LAN 192.168.0.0/25 the
>>> other is WLAN 192.168.0.128/25. One of the computers (the only one
>>> with Vista) is connected to both of them and is connected to internet
>>> using ADSL modem connected to USB. Thing is I want to share internet
>>> connection with both of those networks. When I was using Win XP I
>>> simply used ICS to share it on LAN and manually set IP address,
>>> default gateway and DNS server address an all computers using my WLAN
>>> network. Everything was working fine. Now there is a problem. I've
>>> tried doing the same in Vista. ICS is working OK but no computer is
>>> able connect to the internet using WLAN. When I ping something in the
>>> internet using WLAN network there is no answer. Computers in both
>>> networks see each other. An obvious solution is creation of network
>>> bridge but I don't want to do it. Vista seems to be blocking
>>> something and I don't know what.
>>>
>>> Rafa³
>>
>>
>
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.

--
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
Author
13 May 2007 10:58 PM
Rafa³ Ziêba
Show quote Hide quote
>> 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.
Author
14 May 2007 2:45 PM
Lem
Rafa³ Ziêba wrote:
Show quoteHide quote
>>> 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