LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-10-2004, 01:11 AM   #1
bbenz3
Member
 
Registered: Feb 2002
Location: Orlando
Distribution: Whatever I feel like at the time I install.
Posts: 284

Rep: Reputation: 30
Multi-NIC router and routing tables


I have a scenario with a FC2 machine with 4 NICs in it. The networks are setup like this:

ETH0 - IP: 192.168.168.1
ETH1 - IP: DHCP via cable modem
ETH2 - IP: DHCP via cable modem
ETH3 - IP: DHCP via cable modem

I have an iptables script setup so that certain internal IPs are routed through eth1 or eth2 and then all the rest are dumped to eth3. I have done this before in the past and didn't have to modify my route tables, but I think that something was setup with them that I didn't do myself. My current route tables look like this:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.168.0 * 255.255.255.0 U 0 0 0 eth0
zz.yyy.xxx.0 * 255.255.248.0 U 0 0 0 eth1
zz.yyy.xxx.0 * 255.255.248.0 U 0 0 0 eth2
zz.yyy.xxx.0 * 255.255.248.0 U 0 0 0 eth3
169.254.0.0 * 255.255.0.0 U 0 0 0 eth3
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 1.xxx.yyyy.zz.cf 0.0.0.0 UG 0 0 0 eth1
default 192.168.168.1 0.0.0.0 UG 0 0 0 eth0

I think I need another route to make the internet work on the other two NICs eth2 and eth3. I tried to add additional default routes but that caused everything to stop working.

I can't seem to find anything on the internet that talks about a setup like this. I am not sure how it worked before but I know it can be done. Thanks in advance.
 
  


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
router issue - kernel routing tables? FliesLikeABrick Linux - Networking 2 11-02-2005 08:21 PM
how to configure multi-nic routing meping Linux - Networking 20 10-24-2005 01:29 PM
routing tables props666999 Linux - Networking 1 10-14-2005 08:27 PM
two routing tables fugzi Linux - Networking 7 12-03-2004 06:02 PM
Multi-NIC router whirlpool78 Linux - Networking 3 09-15-2004 01:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:54 AM.

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