LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-24-2004, 02:18 AM   #1
ikm19
LQ Newbie
 
Registered: Dec 2003
Location: Mumbai, India
Distribution: SUSE, Knoopix, Windows XP.
Posts: 7

Rep: Reputation: 0
Internet Connection Sharing In SUSE 9.1 Personal with SIngle NIC


HI,
I am extremely Sorry if i am posting this again, But i searched everywhere for its solution but could'nt find it anywhere...
Heres a bit configration about mine computer and how does it connect to the internet.
I had just installed SUSE 9.1 The internet over mine machine works great. I Get net Connection Through LAN ie. I have a static IP address The ISP gives me a RJ45 Connection which i put directly to mine Hub. From Hub there are 2 Machine Connected 1st one is Mine and other one is Windows Xp. First i had wingate installed in machine (WINXP) it was working fine but now i need to share mine internet connection through SUSE. I have still winxp Installed but i want to make suse as mine default OS (Great Happy with its performance). Mine machine details are as below:
Mine Machine.
OS: Windows XP and SUSE 9.1 Personal.
Internet: IP address: 172.16.17.2, Gateway: 172.16.1.1.
Second Machine:
OS Windows XP
IP Address: 172.16.17.11, Gateway 172.16.17.2.

I don't know if this question has been asked before but i would really apriciate if any one could get me a solution. I am completly a newbie which has just started to runn Linux. I dont want to quit linux because of the something which i Cant do.
Waiting For Reply.
Imtiaz Maredia
 
Old 06-24-2004, 04:58 AM   #2
ikm19
LQ Newbie
 
Registered: Dec 2003
Location: Mumbai, India
Distribution: SUSE, Knoopix, Windows XP.
Posts: 7

Original Poster
Rep: Reputation: 0
Hello Is there any solution for this ??
 
Old 06-24-2004, 05:12 AM   #3
okmyx
Member
 
Registered: May 2004
Location: Cornwall, UK
Distribution: Ubuntu 8.04
Posts: 464

Rep: Reputation: 31
If your running a network with a default gateway theres no need to share the network connection through the pc what ever os your running. Just set all of your computers default gateways to the same ip address.

Although its not entirely clear from your description, i'm guessing that 172.16.1.1 is your gateway address, simply set the gateway address of your second machine to 172.16.1.1 and it should work.
 
Old 06-24-2004, 06:09 AM   #4
ikm19
LQ Newbie
 
Registered: Dec 2003
Location: Mumbai, India
Distribution: SUSE, Knoopix, Windows XP.
Posts: 7

Original Poster
Rep: Reputation: 0
Not it wont work as The mine isp has a home page which i have to login to get access to Internet. Isp tracks its users from Its MAC address. So i change gateway of mine other machine to 172.16.1.1. The login page of mine isp will open even if i enter other webaddress. So i use to login from mine 172.16.17.2 machine and than set another machine to use internet from 172.16.17.2 Machine. In simple words i want to share internet whoes cable directly goes to hub ratter than in mine pc.
 
Old 06-24-2004, 11:25 AM   #5
andrewdodsworth
Member
 
Registered: Oct 2003
Location: United Kingdom
Distribution: SuSE 10.0 - 11.4
Posts: 347

Rep: Reputation: 30
Wingate is a proxy server - therefore use the linux equivalent which is squid. Depending on your distro squid will usually be shipped with it so all you will need is to install it, read the docs and then set it up.Once up and running all you do is change your windows machine browser to use a proxy. eg if your linux machine IP address is 192.168.1.1 then the default squid proxy address will be 192.168.1.1:3128.

{edit}
Just noticed that you've got SuSE 9.1 - squid is in the distro and also webmin so it's just a case of getting busy with YaST. Read the docs first and if stuck come back. The only potential issue is in what squid will proxy - it initially was only http but may have some other stuff now - you need to check what you need in terms of internet access and make sure that squid will do it all.

If this won't do what you want then probably the simplest solution to sharing DSL is to buy a DSL router. This has one port for your DSL modem and 4 ports (or whatever) for your LAN. When you set it up with the one machine it clones your PC's MAC address and saves it and from then on your ISP thinks only that machine is connecting. Once that's up and running you can then connect other machines to the other ports.

Good luck

Last edited by andrewdodsworth; 06-24-2004 at 11:34 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Internet connection sharing on SuSe 9.1 personal ? yesfixit SUSE / openSUSE 7 03-03-2005 02:00 PM
SuSE 9.0: Internet connection sharing vbraca Linux - Networking 6 03-17-2004 09:04 AM
SUSE 8.2 Internet connection sharing Genjix Linux - Networking 1 01-09-2004 09:11 AM
Suse 8.0 Internet Connection Sharing ? cmisip Linux - General 0 11-04-2002 06:05 PM
internet connection sharing with SuSE 8.1 marsonist Linux - Networking 4 10-30-2002 12:06 PM

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

All times are GMT -5. The time now is 12:13 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration