Networking Forums

Networking Forums > Wireless Networking > Wireless Networks > Sharing internet connection in Vista

Reply
Thread Tools Display Modes

Sharing internet connection in Vista

 
 
Rafał Zięba
Guest
Posts: n/a

 
      05-13-2007, 11:40 AM
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ł

 
Reply With Quote
 
 
 
 
Jack \(MVP-Networking\).
Guest
Posts: n/a

 
      05-13-2007, 03:01 PM
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/Window....mspx?mfr=true
Jack (MVP-Networking).

"Rafał Zięba" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>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ł



 
Reply With Quote
 
Rafał Zięba
Guest
Posts: n/a

 
      05-13-2007, 05:27 PM
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/Window....mspx?mfr=true
> Jack (MVP-Networking).
>
> "Rafał Zięba" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>>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ł

>
>


 
Reply With Quote
 
Rafał Zięba
Guest
Posts: n/a

 
      05-13-2007, 07:34 PM
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.

>> 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/Window....mspx?mfr=true
>>> Jack (MVP-Networking).
>>>
>>> "Rafał Zięba" <(E-Mail Removed)> wrote in message
>>> news:(E-Mail Removed)...
>>>>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ł
>>>
>>>

>>

>
>


 
Reply With Quote
 
Lem
Guest
Posts: n/a

 
      05-13-2007, 09:10 PM
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.
>
> 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/Window....mspx?mfr=true
>>
>> Jack (MVP-Networking).
>>
>> "Rafał Zięba" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>> 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
 
Reply With Quote
 
Rafał Zięba
Guest
Posts: n/a

 
      05-13-2007, 10:58 PM
>> 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.

 
Reply With Quote
 
Lem
Guest
Posts: n/a

 
      05-14-2007, 02:45 PM
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
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh through vista connection sharing not working, delayed acks fromclent. Cacadril Linux Networking 1 11-16-2008 10:41 AM
Have Internet Connection, but Vista says Not Ken Triebold Wireless Networks 16 08-20-2008 04:36 PM
PPTP VPN on Server 2003, connects fine via Vista, but hosted ftp and www services fail after connection (on Vista) markm75 Windows Networking 2 12-07-2006 02:03 AM
Internet Gateway device created in Network Connections when I removed Internet Connection Sharing Martin Underwood Home Networking 2 04-07-2005 12:56 PM
Re: how to enable Internet Connection Sharing (ICS) to share the dial-up connection Steve Winograd [MVP] Windows Networking 0 08-08-2003 07:27 AM



1 2 3 4 5 6 7 8 9 10 11