through which NIC card my packet is going out at that instance.
Hi
I am having 2 NIC cards in my linux box...and both are configured to communicate with internet.Both are configured with diff DNS & Gateway and every thing now I want to know through which NIC card my packet is going out at that instance.Is there any file to track the information or is there any tool. Please provide me the information |
it depends on your routing table, you could show us the output of route -n and we can give your more information.
|
hai
Thanks for your reply. This is not real scenario. I got a doubt that's it. I could not give you the out put of route -n . And I want know with out according to that scenario..how the packet will decide through which NIC it will go out when both NIC are free. And can we set the priority like that thing. I want to know through which NIC that packet went outside. where can I find that. I have done following
tcpdump -i etho > log1 tcpdump -i eth1 > log2 and 'ethereal' But that information is not clear. Thanks & regards Chaitanya Quote:
|
how packets leave a computer is defined in the routing table!
if you want to watch realtime you could take a look at iptraf, yet having a look at the routing table will let you know the route of the packets without needing to watch! |
Thanks for your information...it's really helpfull
Quote:
|
All times are GMT -5. The time now is 12:29 PM. |