LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-09-2003, 03:53 AM   #1
simonyue
LQ Newbie
 
Registered: Aug 2003
Posts: 1

Rep: Reputation: 0
Unhappy How to config 2 ethernet card


I am newbie to slackware.
I just install Slackware 9.0 to my PC which has 2 Realtek 8139C LAN card. However, netconfig only prompt me for configuration of one LAN card.
How can I config the other LAN card?
I want to use the PC as a router by using iptables.
Thanks for any help.
 
Old 08-09-2003, 04:09 AM   #2
nvn
Member
 
Registered: Apr 2003
Location: Sweden
Distribution: Slackware
Posts: 242

Rep: Reputation: 30
You may set up both cards by editing /etc/rc.d/rc.inet1. Also, make sure that IPV4_FORWARD is set to 1 in rc.inet2 (it is by default, so if you haven't been poking around already you probably don't have to edit it ). The tutorials linked to from netfilter.org should make masquerading a breeze. Good luck.

(I might as well mention that I ran a similar setup more than a year ago, but I don't anymore...so if my information is not up to date or something, that's why. )
 
  


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
Ethernet card on laptop: I installed my D-Link ethernet card into Redhat 9, not detec brighamr Linux - Hardware 0 05-18-2004 12:33 AM
how to set up SMC EZ Card 10/100 ethernet PCI network card mymojo Linux - Networking 2 12-16-2003 02:35 AM
2 ethernet cards config jonfa Linux - Networking 7 11-10-2003 04:06 PM
Ethernet card config problem rlfederico Linux - Networking 3 05-30-2003 06:12 PM
Insert scsi pcmcia card kills existing ethernet card lgetsche Linux - Hardware 0 11-12-2002 04:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:53 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