lenny109
July 27th 09, 12:51 PM
Hi,
Earlier I posted about a networking issue. I wanted to connect 2 computers
together using a cable but also have both computers using their idependent
wireless connections too so that they accessed the internet wirelessly. One
of the programs where the data is shared between the computers should be
shared via the cable and not via the wireless. I followed these instructions
from Alister (Copied Below). The problem that I am having now is the 2
computers connect to each other OK but they are both regularly loosing their
internet connections even though the connection says that it is connected
and I can ping the router but not any websites. Have I got a setting wrong
and what can I do to change this? It seems that the routing is going wrong
somewhere when they want to connect to the internet.
Below is how I have setup the network using a network hub and a couple of
cables between 2 PC's from Alister's post.
Any help would be appreciated.
Thanks
Lenny
You need to set the Wired network to a different subnet from the wireless,
and then add persistant routes to control traffic.
Example:
PC1 Wireless (default DHCP, probably 192.168.1.*)
PC1 Wired (assign fixed IP 192.168.50.1)
PC2 Wireless (default DHCP, probably 192.168.1.*)
PC2 Wired (assign fixed IP 192.168.50.2)
On both PC's add a persistant route:
Open command prompt, type the following for PC1
route add -p 192.168.50.0 mask 255.255.255.0 192.168.50.1
type the following in PC2
route add -p 192.168.50.0 mask 255.255.255.0 192.168.50.2
Earlier I posted about a networking issue. I wanted to connect 2 computers
together using a cable but also have both computers using their idependent
wireless connections too so that they accessed the internet wirelessly. One
of the programs where the data is shared between the computers should be
shared via the cable and not via the wireless. I followed these instructions
from Alister (Copied Below). The problem that I am having now is the 2
computers connect to each other OK but they are both regularly loosing their
internet connections even though the connection says that it is connected
and I can ping the router but not any websites. Have I got a setting wrong
and what can I do to change this? It seems that the routing is going wrong
somewhere when they want to connect to the internet.
Below is how I have setup the network using a network hub and a couple of
cables between 2 PC's from Alister's post.
Any help would be appreciated.
Thanks
Lenny
You need to set the Wired network to a different subnet from the wireless,
and then add persistant routes to control traffic.
Example:
PC1 Wireless (default DHCP, probably 192.168.1.*)
PC1 Wired (assign fixed IP 192.168.50.1)
PC2 Wireless (default DHCP, probably 192.168.1.*)
PC2 Wired (assign fixed IP 192.168.50.2)
On both PC's add a persistant route:
Open command prompt, type the following for PC1
route add -p 192.168.50.0 mask 255.255.255.0 192.168.50.1
type the following in PC2
route add -p 192.168.50.0 mask 255.255.255.0 192.168.50.2