LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 01-06-2012, 12:42 AM   #1
linux_kung_fu
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, 01:03 AM   #2
askandstudy
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
192.168.15.0 * 255.255.255.0 U 0 0 0 eth0
197.150.222.0 * 255.255.255.0 U 0 0 0 eth1
192.168.122.0 * 255.255.255.0 U 0 0 0 virbr0
link-local * 255.255.0.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 0 0 0 eth1
default 192.168.15.2 0.0.0.0 UG 0 0 0 eth0
[root@RHEL6A ~]#
 
  


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


All times are GMT -5. The time now is 12:01 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration