Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932081AbWIOTN7 (ORCPT ); Fri, 15 Sep 2006 15:13:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751371AbWIOTN6 (ORCPT ); Fri, 15 Sep 2006 15:13:58 -0400 Received: from iriserv.iradimed.com ([69.44.168.233]:10966 "EHLO iradimed.com") by vger.kernel.org with ESMTP id S1751376AbWIOTN6 (ORCPT ); Fri, 15 Sep 2006 15:13:58 -0400 Message-ID: <450AFB8A.3070307@cfl.rr.com> Date: Fri, 15 Sep 2006 15:14:18 -0400 From: Phillip Susi User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: xixi lii CC: Jan Engelhardt , Sven-Haegar Koch , Linux-Kernel-Mailinglist Subject: Re: UDP question. References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 15 Sep 2006 19:14:07.0012 (UTC) FILETIME=[1D827E40:01C6D8FB] X-TM-AS-Product-Ver: SMEX-7.2.0.1122-3.6.1039-14694.000 X-TM-AS-Result: No--17.866900-5.000000-4 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 871 Lines: 21 It is a question of where you are sending the packets TO, not from. It is the destination address that is used to route the packet, not the source. If you were sending the packets to the same destination address, then they will go out the same interface since the routing table identifies that interface as the way to reach the destination address. xixi lii wrote: > My two adapters has two different IP address, and I bind one IP on one > socket, > do you mean that I alloc two socket and bind different IP is not > helpful? In fact, all the packet sent from two socket is go out by one > network adapter? > > xixi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/