LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-06-2003, 04:31 PM   #1
hempi
LQ Newbie
 
Registered: Jul 2003
Posts: 2

Rep: Reputation: 0
Question 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
 
Old 07-06-2003, 04:46 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
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).
 
Old 07-06-2003, 09:49 PM   #3
hempi
LQ Newbie
 
Registered: Jul 2003
Posts: 2

Original Poster
Rep: Reputation: 0
(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?
 
Old 07-07-2003, 04:32 AM   #4
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
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

Last edited by Looking_Lost; 07-07-2003 at 04:36 AM.
 
Old 07-07-2003, 06:09 AM   #5
cyph3r7
Member
 
Registered: Apr 2003
Location: Silicon Valley East, Northern Virginia
Distribution: FreeBSD,Debian, RH, ok well most of em...
Posts: 238

Rep: Reputation: 30
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.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora C2 - Wireless network drivers? Broadcom 802.11g Network Adapter FragTek Linux - Wireless Networking 7 01-22-2010 12:10 AM
Slackware 10 network configuration. Problem with 8139 network card drivers ! Padmakiran Linux - Networking 8 03-27-2007 06:48 AM
3c905C network card in docking station. Cannot activate network device eth0. pathelms Linux - Networking 4 04-12-2006 02:55 PM
Xandros mount point for Windows Network & NFS Network jaagut Linux - Distributions 1 09-14-2005 07:21 AM
Newbie wanna setup up a linux network on existing home network... marvc Linux - Networking 3 03-19-2003 09:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration