Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-05-2012, 11:42 PM   #1
LQ Newbie
Registered: Jan 2012
Posts: 10

Rep: Reputation: 0
Question routing tables, multiple NICs...

Need help determining what NIC has default traffic coming in/going out. Example, looking at a machine that has a public IP on eth0 and a private IP on eth1, by looking at the routing table I need to know what traffic arrives/departs on what NIC.

Any suggestions on where to look would be greatly appreciated.
Old 01-06-2012, 12:03 AM   #2
LQ Newbie
Registered: Jan 2012
Posts: 3

Rep: Reputation: Disabled
[root@RHEL6A ~]# netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface * U 0 0 0 eth0 * U 0 0 0 eth1 * U 0 0 0 virbr0
link-local * U 0 0 0 eth0
link-local * U 0 0 0 eth1
default UG 0 0 0 eth0
[root@RHEL6A ~]#


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
TC slice with multiple routing tables netguy2000 Linux - Networking 0 10-21-2008 07:39 AM
API for using multiple routing tables on Linux Shakesh Linux - Networking 0 08-29-2005 05:45 PM
IP tables routing of multiple IP addresses 2buck56 Linux - Security 4 05-11-2005 05:06 PM
Routing issues with multiple nics on ClarkConnect 2.2 (RedHat 9) Killbot_5000 Linux - Networking 1 01-13-2005 10:58 AM
routing/forwarding between multiple (3+) nics sublime Linux - Networking 2 07-26-2004 02:22 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:13 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration