LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 12-02-2003, 08:02 AM   #1
phekno
Member
 
Registered: May 2003
Distribution: Gentoo, Slackware
Posts: 75

Rep: Reputation: 15
2 NIC's...No Internet


I got sick of running RedHat 9 on a machine that I use for masquerading and firewalling so I installed Slackware 9.1 (maybe this should be in the Slackware forum?) Anyway, in this machine I have 2 NIC's. One should be the external one (i.e. the Internet), the other should be an internal one. I have managed to get to the point where I can ping all of the other machines on my internal network (from the masqing machine) and they can ping the masqing machine. Now I just need to get the masqing box to connect to the internet through my cable modem using DHCP and I guess I'm kinda lost. When I had RedHat all I had to do was start GNOME (which I hate) and use redhat-config-network to do it. Anyway, I'm at work right now and don't have access to my home machines so if you have any suggestions that would be great.

Thanks,
Phekno
 
Old 12-02-2003, 03:47 PM   #2
eyewittness
Member
 
Registered: Dec 2003
Location: Netherlands
Distribution: SuSe 9.0
Posts: 44

Rep: Reputation: 15
slackware

Hey dude i can help you out i use slackware too...

But i have a problem too maybe you could help me 2 its easy...

i have a old slackware distro that way i have a old 3com nic driver.
The driver is full of bugs so im looking for the slackware 9.0 driver
otherwise my network hangs... :S

the driver is located in the
/usr/src/linux-2.4.18/drivers/net/3c59x.c
/usr/src/linux-2.4.18/drivers/net/3c59x.o
/usr/src/linux-2.4.18/drivers/net/3c59x.h

if not u can find it with: locate 3c59x.c

would u like to sent that 3 files to my e-mail adress: maikel_psv_rulezzz@hotmail.com

dude i have a nice tutorial for u written by myselve including a firewall its all u need

man i found the man who could help me and the man wo need my help
Let's deal :P

like to hear from you soon!

bye

Last edited by eyewittness; 12-02-2003 at 04:06 PM.
 
Old 12-03-2003, 11:49 PM   #3
zaphodiv
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 388

Rep: Reputation: 30
>Now I just need to get the masqing box to connect to the internet through my cable modem using DHCP

You need;
a working module loaded to drive the second network card
to run dhcp client on the interface
maybe to set your isp's nameservers in /etc/resolv.conf
Once you have got internet access from the machine to work
enable NAT for the rest of the machines.

you probably want the /etc/rc.d/rc.inet1or /etc/rc.d/rc.inet2 set to use
dhcp on the second network card.
 
  


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
2 NIC's help troycus Linux - Networking 18 04-07-2005 08:01 PM
TWO NIC's bhughesiii Linux - Networking 8 09-23-2004 09:48 AM
Pinging the internet uses the wrong one of Two NIC's poshphil Linux - Networking 3 09-19-2003 03:00 PM
2 NIC's plisken Linux - Networking 1 04-19-2003 03:32 PM
NIC's sscharbo Linux - Networking 1 01-11-2001 08:34 AM


All times are GMT -5. The time now is 12:53 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration