|Home||Reviews||Tools||Forums||FAQs||Find Service||ISP News||Maps||About|
how-to block ads
This set of instructions is for Slackware Linux but may work on other distributions.
Once you have your distribution installed (be sure you configured the network) you need to make a few minor changes to setup your router. First make sure you can use both NIC cards. Login as root and at the command line type:
ifconfigThis should show you what network devices are configured and what those settings are including IP addresses.
If you do not see an eth0 and/or an eth1 and you have 2 NICs installed we need to make some changes.
First you will need to know the brand and model of both NICs then you will need to look up the drivers for each. If you do not see an eth0 then the first thing you want to do is run your network configuration. At the command line type:
netconfigThis will allow you to setup your eth0 interface if you didn't during install. Use a static IP unless you have a DHCP server on your network. You will be using eth0 on the LAN side of your router and eth1 on the WAN side. Once you have eth0 setup and configured test to see that it works. Ping it from one of your PC’s.
To setup eth1 you will need to edit this file: /etc/rc.d/rc.inet1
Start the editor you prefer and open this file. Go to the bottom of the file and any where above the end of file line type:
ifconfig eth1 0.0.0.0 mtu 1452Note: if you have a static IP assigned by your ISP then replace the 0.0.0.0 with that IP.
Save the file. Reboot you system and login. Now you should be able to see both eth0 and eth1 when you type ifconfig.
Verify that you have both eth0 and eth1 configured and you are ready to move onto setting up the firewall. Slackware has a nice default firewall that really doesn't require any more configuring unless you have some special reasons to do so. For that I recommend you read up on IPChains.
If your ISP uses PPPoE then you will need to install a PPPoE client. I recommend that you simply follow the instructions for setting up the client you chose. You should now be able to access the Internet via your new router.