List Info

Thread: Dual nic on a server




Dual nic on a server
country flaguser name
Canada
2007-10-15 11:54:46
Hi,
 
If I have a Silicon Mechanics server with two NICs connected to different networks. When I send a packet to a remote host, it goes through my routing tables and sends the message out the correct interface with it's corresponding IP address as the source IP. Every now and then I see some packets go out on that same interface but with the IP address assigned to the other interface as the source IP.
 
My question is, how does the OS choose what IP address to use as the source IP? I thought that it was going to go through the routing tables, choose the interface and then put the IP associated with that interface as the source, but it looks like it is not always doing that. ANy ideas?
 
Thanks,
 
Luis Emilio Fernandez de Jáuregui
Sr. MSS GSM/UMTS Lab Infrastructure
Nortel
nortel.com">luisfnortel.com
Telephone (972) 684 1472 / ESN 444 1472
Fax (972) 684 3715
BUSINESS MADE SIMPLE15102007-27D9" align=baseline border=0>
 
View Original Image
Re: Dual nic on a server
user name
2007-10-15 13:53:01
Hi Luis, perhaps if you post your query on the YDL General list you could find persons with a wider skill set better able to respond.  As I understand it, the list where you originally posted your query is intended for absolute beginners in Linux.

On Oct 15, 2007, at 12:54 PM, Luis Fernandez De Jauregui wrote:

Hi,
 
If I have a Silicon Mechanics server with two NICs connected to different networks. When I send a packet to a remote host, it goes through my routing tables and sends the message out the correct interface with it's corresponding IP address as the source IP. Every now and then I see some packets go out on that same interface but with the IP address assigned to the other interface as the source IP.
 
My question is, how does the OS choose what IP address to use as the source IP? I thought that it was going to go through the routing tables, choose the interface and then put the IP associated with that interface as the source, but it looks like it is not always doing that. ANy ideas?
 
Thanks,
 
Luis Emilio Fernandez de Jáuregui
Sr. MSS GSM/UMTS Lab Infrastructure
Nortel
luisfnortel.com">luisfnortel.com
Telephone (972) 684 1472 / ESN 444 1472
Fax (972) 684 3715
<hyper_sig_nodes.gif>
 
<hyper_sig_nodes.gif>
_______________________________________________
yellowdog-newbie mailing list
yellowdog-newbielists.terrasoftsolutions.com">yellowdog-newbielists.terrasoftsolutions.com

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )