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. |
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 Ryan |
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 Next, edit the udev rule. Code:
jed /etc/udev/rules.d/network-devices.rules Save the file and reboot. If you did that correctly, the nic's will always be assigned the same name (eth0,eth1,etc.) |
All times are GMT -5. The time now is 07:44 AM. |