LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 11-13-2005, 02:08 PM   #1
mailavj
LQ Newbie
 
Registered: Apr 2005
Location: India
Posts: 24

Rep: Reputation: 15
How to enable 2 NICs and share internet to a windows PC using Opensuse 10.0 OSS


hey help
i hve opensuse 10.0 up nd running
i also hve a windoze box.
at a time my machine can activate only one NIC
how can i enable 2 cards at a time..
i have 2 cards ( one for cable modem and one for my internal n/w)
how can i enable internet connection sharin for my windows PC
help plz
 
Old 11-14-2005, 04:41 AM   #2
karpi
Member
 
Registered: Oct 2005
Location: Germany
Distribution: Suse
Posts: 134

Rep: Reputation: 15
Hello,

you can enable both nics with yast.

To provide Internetaccess for your windows box you have to set the (Standard)Gateway to your linux-box (internal net) and to enable routing for your linux-box (with yast)
 
Old 11-14-2005, 10:20 AM   #3
mailavj
LQ Newbie
 
Registered: Apr 2005
Location: India
Posts: 24

Original Poster
Rep: Reputation: 15
hey more helppp

i setup default gateway in my windoze box..
and my ip for linux box is 192.168.0.1
and for windoze box is 192.168.0.2
plz help me on configuring routin on my machine..
its urgent (
 
Old 11-14-2005, 10:53 AM   #4
karpi
Member
 
Registered: Oct 2005
Location: Germany
Distribution: Suse
Posts: 134

Rep: Reputation: 15
Hello,

ok.
I assume you have Internet-Access for the Linux-Box

Linux-Box:
1. Start Yast
2. Choose Network (devices?)
-- Yast should find both NICs. If Yast finds only one, you have to install the driver for the NIC.
3. Choose Routing
4. Enable IP-Forwarding.

For the XP-Box
Set the default-Gateway to "192.168.0.1" (The Linux-Box)
You must also configure the Nameservers (Get the necessary IPs from your ISP - normaly two Nameserver entrys)
--You can also install squid on your Linux-Box (Basic installation is working) and set the Proxy in IE with port 3128 then you don't have to hassle with changing Nameserver IPs.

HTH
 
Old 11-14-2005, 10:54 AM   #5
karpi
Member
 
Registered: Oct 2005
Location: Germany
Distribution: Suse
Posts: 134

Rep: Reputation: 15
Forgot something.
On the Linux-Box set the default gateway to 192.168.0.1
 
Old 11-15-2005, 08:23 PM   #6
mailavj
LQ Newbie
 
Registered: Apr 2005
Location: India
Posts: 24

Original Poster
Rep: Reputation: 15
Same prob

hey i enabled routin on yast..
but i dono nameservers of my ISP..
is there any way to know tht.
i can ping my 192.168.0.1 and my external NIC frm my windows box
since my ISP don allow to share connection ( the y will charge Extra).. i don wanna let them know abt this
 
Old 11-16-2005, 12:36 AM   #7
karpi
Member
 
Registered: Oct 2005
Location: Germany
Distribution: Suse
Posts: 134

Rep: Reputation: 15
Hi,

sometimes ISPs provide a configurations page with the nameservers.

As I said, install squid on your linux-box and in the connections-settings of the browsers on your windows-box set 192.168.0.1 as http and ftp proxy. This means your linux-box forwards the http/ftp requests and does the name resolving.
BTW no configuration, just install.

Maybe check your provider information in the dsl setup.

HTH
 
Old 11-16-2005, 12:23 PM   #8
mailavj
LQ Newbie
 
Registered: Apr 2005
Location: India
Posts: 24

Original Poster
Rep: Reputation: 15
No hope

hey
i installed squid..
and set the proxy on windowz brwser for HTTP on port 80 as 192.168.0.1
but when i tried to conect to a webpage it said..
proxy refused to connect.
(
 
Old 11-16-2005, 01:06 PM   #9
karpi
Member
 
Registered: Oct 2005
Location: Germany
Distribution: Suse
Posts: 134

Rep: Reputation: 15
hi,

try port 3128; this is the standard port.
 
  


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
Share Internet w/ 2 NICs Optimistic Linux - Networking 16 11-26-2005 10:20 AM
openSUSE: eval or oss? pdeman2 SUSE / openSUSE 16 10-18-2005 04:29 AM
Share Internet from Windows XP box?? general2000vn Linux - Networking 3 04-18-2005 06:58 PM
How do you enable OSS? xushi Slackware 2 10-05-2004 07:54 AM
share internet connection windows fedora woodshop Linux - Networking 1 07-27-2004 03:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 03:24 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
Open Source Consulting | Domain Registration