LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   is this network possible (https://www.linuxquestions.org/questions/linux-networking-3/is-this-network-possible-70547/)

hempi 07-06-2003 04:31 PM

is this network possible
 
i have Linux 9 on pc1 and winxp on pc2

pc1 and pc2 are linked via a 10/100 hub - works OK

pc2 also has wireless usb device to wireless switch to cable modem for internet access - works OK

i want to be able to get to the internet from pc1 (Linux) through pc2 (winxp) but am unable to make the connection work.

what is necessary to allow pc2 to to let pc1 pass through and use it's wireless connection to the internet?

pc1 - 192.168.1.n
pc2 - 192.168.2.n

help please
thanx
hempi

Mara 07-06-2003 04:46 PM

Both machines should be rather in the same sibnetwork (192.168.1.x, for example).

What you need to do is set pc2 the default gateway for pc1. Plus you need to turn off connection sharing on pc2 (I don't know how to do this).

hempi 07-06-2003 09:49 PM

(2) nics in the same pc on the same net does not seem to work correctly for me, i also do not use connection sharing.

i wanted to route traffic like this;

pc2's NIC (winxp 192.168.1.253) -> 10/100 hub
pc1's NIC (linux 192.168.1.254) -> 10/100 hub

pc2 (winxp 192.168.2.251 wireless NIC) -> wireless router
(192.168.2.1)

wireless router -> cable modem

i want pc1 to access the internet through ps2's 192.168.1.253 NIC which then uses pc2's wireless NIC 192.168.2.251 to go out through the wireless router

can this be done?

Looking_Lost 07-07-2003 04:32 AM

You're going to need to use some sort of NAT like windows ICS or a proxy, wondering what the point of the hub is but it's there and overall shouldn't make any difference.

Windows ICS uses 192.168.0.x range as far as I'm aware

If the two computers can ping each other, for quick web access try downloading analogx or another proxy, it should work as a stop gap for the moment.

Also you can bridge your two cards in windows quite easily, not sure what the overall effect would be, just interested :)

cyph3r7 07-07-2003 06:09 AM

Quote:

Originally posted by hempi
(2) nics in the same pc on the same net does not seem to work correctly for me, i also do not use connection sharing.

You will need to turn ON internet connection sharing (ICS). Read the description of it, self explainatory. You will be prompted to change your network ip to a default for ICS. You will need to make sure you linux box is in the same network by changing the IP if necessary.


All times are GMT -5. The time now is 10:35 AM.