LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-19-2006, 08:26 PM   #1
dc_eros
Member
 
Registered: Nov 2006
Distribution: Slackware
Posts: 294

Rep: Reputation: 39
2 Network Card Configuration (for routing)


I have installed Slackware 11.0 with 2 LAN card. One for the internet connection from the server, and one for my internal network.

What i want to do is to connect my internal network to the internet
through my box, which is connected to our company internet server
which provides internet connection.

I know about routing, but the problem is that
i don't know what utils to use to configure this
I'm also a SuSE user, and i like their YAST
i used slackware's netconfig, but i think its not enough. i noticed
it only configures one LAN card.

Thank you reading my post. Waiting for your reply.
 
Old 12-19-2006, 09:02 PM   #2
ryanoa
Member
 
Registered: Jan 2006
Location: Santa Cruz, CA
Distribution: Slack 10.2 and 11.0
Posts: 102

Rep: Reputation: 15
You can manually edit /etc/rc.d/rc.inet1.conf to configure any network card. After you make your changes you will have to restart the cards
Code:
/etc/rc.d/rc.inet1 restart
Regards,
Ryan
 
Old 12-19-2006, 09:17 PM   #3
granth
Member
 
Registered: Jul 2004
Location: USA
Distribution: Slackware64
Posts: 212

Rep: Reputation: 55
First and foremost, you need to assign each nic a static name via a udev rule.

You must be root to do the following.

First, determine the mac addresses for you nic cards.

Code:
ifconfig|grep HWaddr
That will show you the current assigned nic names and their corresponding MAC address.

Next, edit the udev rule.
Code:
jed /etc/udev/rules.d/network-devices.rules
Remove the comments (#) in front of KERNEL==.

Save the file and reboot.

If you did that correctly, the nic's will always be assigned the same name (eth0,eth1,etc.)
 
  


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
Slackware 10 network configuration. Problem with 8139 network card drivers ! Padmakiran Linux - Networking 8 03-27-2007 06:48 AM
Network Configuration in Debian (laptop network card) legendaryhwk Linux - Networking 6 04-06-2006 03:59 AM
Network Routing Configuration pjlewis Linux - Networking 2 01-21-2006 11:05 PM
Cant get my routing network card to be active! im_not_jose Linux - Networking 9 07-25-2003 12:28 PM
Network card configuration JoeySlack Slackware 6 12-20-2002 12:35 AM

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

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