Networking Forums

Networking Forums > Computer Networking > Windows Networking > How to network home wire and wireless lan?

Reply
Thread Tools Display Modes

How to network home wire and wireless lan?

 
 
Zordiac
Guest
Posts: n/a

 
      08-16-2003, 10:51 AM
Have the following setup:

PC 1 - a desktop PC with wire lan card
PC 2 - a laptop PC with wire lan card and wireless lan card
PC 3 - a laptop PC with wire lan card

So:
PC1 and PC2 connect using wire lan
PC2 and PC3 connect using wireless peer to peer

How can PC1 and PC3 see each other?

Had PC1 and PC2 connected using tcp -
addresses 10.10.10.1 and 10.10.10.2 (255.255.255.0)

The same approach works for PC2 and PC3 without PC1 connected.

I thought I could use the same subnet 255.255.255.0 :
PC1 10.10.10.1 PC2 10.10.10.2
PC2 10.10.10.3 PC3 10.10.10.4
but PC1 does not see PC3 and vice-versa

Then tried - here I dont know what I am doing :
PC1 10.10.10.1 PC2 10.10.10.2 subnet 255.255.254.0
PC2 10.10.10.2 PC3 10.10.10.4 subnet 255.255.255.0

PC1 sees PC2 until I put the wlan card into PC2 and then
PC1 does not see PC2 ie pings time out
PC2 sees PC3

Any help would be appreciated especially as I intend to use PC2 to
connect to the internet and share this.
 
Reply With Quote
 
 
 
 
Richard G. Harper [MVP Win9x]
Guest
Posts: n/a

 
      08-16-2003, 11:14 AM
http://www.wown.com/
http://www.practicallynetworked.com/

Tutorials can be found at these sites.

--
Richard G. Harper (MVP Win9x) (E-Mail Removed)
* PLEASE post all messages and replies to the newsgroup so all may
* benefit from the discussion. Private mail is usually not replied to.
Help US help YOU ... http://www.dts-l.org/goodpost.htm


"Zordiac" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) om...
> Have the following setup:
>
> PC 1 - a desktop PC with wire lan card
> PC 2 - a laptop PC with wire lan card and wireless lan card
> PC 3 - a laptop PC with wire lan card
>
> So:
> PC1 and PC2 connect using wire lan
> PC2 and PC3 connect using wireless peer to peer
>
> How can PC1 and PC3 see each other?
>
> Had PC1 and PC2 connected using tcp -
> addresses 10.10.10.1 and 10.10.10.2 (255.255.255.0)
>
> The same approach works for PC2 and PC3 without PC1 connected.
>
> I thought I could use the same subnet 255.255.255.0 :
> PC1 10.10.10.1 PC2 10.10.10.2
> PC2 10.10.10.3 PC3 10.10.10.4
> but PC1 does not see PC3 and vice-versa
>
> Then tried - here I dont know what I am doing :
> PC1 10.10.10.1 PC2 10.10.10.2 subnet 255.255.254.0
> PC2 10.10.10.2 PC3 10.10.10.4 subnet 255.255.255.0
>
> PC1 sees PC2 until I put the wlan card into PC2 and then
> PC1 does not see PC2 ie pings time out
> PC2 sees PC3
>
> Any help would be appreciated especially as I intend to use PC2 to
> connect to the internet and share this.



 
Reply With Quote
 
James Egan
Guest
Posts: n/a

 
      08-16-2003, 12:11 PM
On 16 Aug 2003 03:51:01 -0700, (E-Mail Removed) (Zordiac) wrote:

>I thought I could use the same subnet


Use different subnets.

For 1 use 10.10.10.1 255.255.255.0

For 2 use 10.10.10.2 255.255.255.0
10.10.11.2 255.255.255.0

For 3 use 10.10.11.1 255.255.255.0

Enable routing on machine 2 by this registry hack

(if it's win9x)

System Key:
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Servic es\VxD\MSTCP]
Value Name: EnableRouting = 1
Data Type: (string value)
Value Data: (0 = disabled, 1 = enabled)

(for winxp/2k/NT)

System Key:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Tcpip\Parameters]
Value Name: IPEnableRouter
Data Type: REG_DWORD (DWORD Value)
Value Data: (0 = disabled, 1 = enabled)


On machine 1 use a default gateway 10.10.10.2
On machine 3 use a default gateway 10.10.11.2

If you have an Internet connection somewhere on this network then you
might need different gateways and/or need to set up static routes.

All in all, it would be easier for you to get a cheap hub and put them
all on the same subnet.


Jim.

 
Reply With Quote
 
Zordiac
Guest
Posts: n/a

 
      08-18-2003, 08:29 AM
James Egan <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>. ..
> On 16 Aug 2003 03:51:01 -0700, (E-Mail Removed) (Zordiac) wrote:

<SNIP>
> Use different subnets.
>
> For 1 use 10.10.10.1 255.255.255.0
>
> For 2 use 10.10.10.2 255.255.255.0
> 10.10.11.2 255.255.255.0
>
> For 3 use 10.10.11.1 255.255.255.0
>
> Enable routing on machine 2 by this registry hack
>
> (if it's win9x)

</SNIP>

Jim,

First thank you very much, this worked and has been working a treat.
But having said that it seemed to have stopped working this morning :
after rebooting all PCs, PC 2 could talk to PC 1 and PC3 but PC1 and
PC3 were not on speaking terms ie could not ping. Maybe its just that
they are grumpy in the morning. The gateways were still set ok. I will
look into it later. Oh one other thing I dont suppose you know of a
proxy server that you can use vpn with? Thanks again.
 
Reply With Quote
 
James Egan
Guest
Posts: n/a

 
      08-18-2003, 11:10 AM
On 18 Aug 2003 01:29:26 -0700, (E-Mail Removed) (Zordiac) wrote:

>
>First thank you very much, this worked and has been working a treat.
>But having said that it seemed to have stopped working this morning :
>after rebooting all PCs, PC 2 could talk to PC 1 and PC3 but PC1 and
>PC3 were not on speaking terms ie could not ping. Maybe its just that
>they are grumpy in the morning. The gateways were still set ok. I will


Have you been fiddling with internet connection sharing? The win9x
version of ics will screw your static addressing configuration without
as much as a "please may I screw your addressing configuration".

>look into it later. Oh one other thing I dont suppose you know of a
>proxy server that you can use vpn with? Thanks again.


None that I can recommend as a user.


Jim.

 
Reply With Quote
 
Zordiac
Guest
Posts: n/a

 
      08-18-2003, 06:42 PM
James Egan <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>. ..
> On 18 Aug 2003 01:29:26 -0700, (E-Mail Removed) (Zordiac) wrote:
>
> >
> >First thank you very much, this worked and has been working a treat.
> >But having said that it seemed to have stopped working this morning :
> >after rebooting all PCs, PC 2 could talk to PC 1 and PC3 but PC1 and
> >PC3 were not on speaking terms ie could not ping. Maybe its just that
> >they are grumpy in the morning. The gateways were still set ok. I will

>
> Have you been fiddling with internet connection sharing? The win9x
> version of ics will screw your static addressing configuration without
> as much as a "please may I screw your addressing configuration".
>
> >look into it later. Oh one other thing I dont suppose you know of a
> >proxy server that you can use vpn with? Thanks again.

>
> None that I can recommend as a user.
>
>
> Jim.


Found the problem - when PC1 connects to the internet then PC1 no
longer sees PC3 and vice-versa! I have no idea why this happens.

winipcfg shows ppp adapter to have :
subnet mask 255.0.0.0
ip addr = gateway
dhcp server = 255.255.255.255

Connect using a usb adsl modem.

If PC2 is used to connect then no problem. I just lied - for PC1 and 3
to share the connection I use analog proxy but in an open state ie
should bind to an adapter / ip address. Analog state you should bind
to an address as otherwise it is a big security risk. Any ideas Jim?
 
Reply With Quote
 
James Egan
Guest
Posts: n/a

 
      08-18-2003, 09:47 PM
On 18 Aug 2003 11:42:42 -0700, (E-Mail Removed) (Zordiac) wrote:

>Found the problem - when PC1 connects to the internet then PC1 no
>longer sees PC3 and vice-versa! I have no idea why this happens.
>


It's because the default gateway is changed to the Internet connection
and the metric raised on the old default gateway so effectively it
won't be used. The solution is to set a static route to point to the
local subnet (by using a batch file in the startup folder)

For example on machine 1

route add 10.10.11.0 mask 255.255.255.0 10.10.10.2

and on machine 3

route add 10.10.10.0 mask 255.255.255.0 10.10.11.2

> If PC2 is used to connect then no problem. I just lied - for PC1 and 3
>to share the connection I use analog proxy but in an open state ie
>should bind to an adapter / ip address. Analog state you should bind
>to an address as otherwise it is a big security risk. Any ideas Jim?


So you can't let both of your subnet machines use it without letting
everyone on the Internet use it?

It looks like you'll have to use something else or use the analogx
proxy with a firewall (like zonealarm) to block connections from
outside your local network.


Jim.

 
Reply With Quote
 
James Egan
Guest
Posts: n/a

 
      08-19-2003, 09:22 AM
On 19 Aug 2003 01:09:57 -0700, (E-Mail Removed) (Zordiac) wrote:

>
>Yes you are right a route print showed 2 default routes the first to
>my isp and the second to 10.10.11.2. How is it decided which is used?
>I see metric refers to the "cost" and "number of hops" but is it also
>a priority?


Yes, the one with the least hops should be used first. As far as
windows is concerned it means the one with the higher metric will
never be used.

> Anyway, on PC 1 I tried the route add 10.10.11.0 mask
>255.255.255.0 10.10.10.2 and it worked! I then went to PC3 and saw
>that it was now pinging successfully and I did not need the second
>route add. But I dont understand why not.
>


It's because your Internet connection (causing 2 default routes) is
currently on machine 1. As soon as you connect directly from machine 3
you will get 2 default routes on that and therefore need the other
static route.


>This is good news in that I can now run the analogx proxy in a closed
>state on PC1 or PC3. But I guess you are also right I should run a
>firewall as well.
>


I'm not sure what you are trying to do. Don't you want to connect to
the Internet with all three computers at the same time?

If you do, your best bet is to connect via machine 2 and use zonealarm
(which is program oriented) to control the missing features from
analogx proxy ie. restrict access from outside. That way all three can
connect at the same time.


Jim.

 
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
Wire intranet to wireless network with seamless communication with all PCs Eric L. Wireless Internet 2 08-21-2006 08:37 PM
conecting to wire network while out of town Wireless Networks 1 02-16-2005 06:44 PM
Windows XP SP2 and Network problems (Wireless and wire) SK Wireless Internet 2 07-03-2004 10:53 AM
Wireless - Newby Questions 2 Wire home network Don Wireless Internet 2 05-11-2004 08:20 PM
need a suggestion to a home network (wire or wireless) behind a Linux firewall Jun Linux Networking 1 07-28-2003 11:51 PM



1 2 3 4 5 6 7 8 9 10 11