From owner-freebsd-net@FreeBSD.ORG Wed Jun 9 06:02:18 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 51F7716A4CE for ; Wed, 9 Jun 2004 06:02:18 +0000 (GMT) Received: from hanoi.cronyx.ru (hanoi.cronyx.ru [144.206.181.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B86E43D53 for ; Wed, 9 Jun 2004 06:02:15 +0000 (GMT) (envelope-from rik@cronyx.ru) Received: (from root@localhost) by hanoi.cronyx.ru id i595xE94021392 for freebsd-net@freebsd.org.checked; (8.12.8/vak/2.1) Wed, 9 Jun 2004 09:59:14 +0400 (MSD) (envelope-from rik@cronyx.ru) Received: from cronyx.ru (rik.cronyx.ru [172.22.4.1]) by hanoi.cronyx.ru with ESMTP id i595vZWY021293; (8.12.8/vak/2.1) Wed, 9 Jun 2004 09:57:36 +0400 (MSD) (envelope-from rik@cronyx.ru) Message-ID: <40C6A56A.5040105@cronyx.ru> Date: Wed, 09 Jun 2004 09:51:38 +0400 From: Roman Kurakin User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.2.1) Gecko/20030426 X-Accept-Language: ru-ru, en MIME-Version: 1.0 To: AL Chane References: <40C68254.7040501@issc.com.tw> In-Reply-To: <40C68254.7040501@issc.com.tw> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-net@freebsd.org Subject: Re: Two interfaces on the same network X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2004 06:02:18 -0000 AL Chane: >Hi, there: > > I have two interfaces on my linux PC in the same network: > > > >>ifconfig eth0 172.20.1.30 netmask 255.255.255.0 >>ifconfig eth1 172.20.1.31 netmask 255.255.255.0 >> >> > > Another Windows PC with IP 172.20.1.32 netmask 255.255.255.0 > > I found that in the same network, Linux PC only use one interface >eth0 for outbound/inbound traffics no matter what. Even if I use Windows >PC (172.20.1.32) to ping Linux PC's eth1 (172.20.1.31), Linux still use >eth0 to reply. That is, if I unplug eth0's wire, eth1 won't work too. > > Does anyone have the same issue on how to make two interfaces >work in the same network? I search 2003 archive, some said it can be >done by set second interface (eth1) netmask to 255.255.255.255, but >i tried and it doesn't work for me. > > Helps from you are highly appreciated! > Are they on the same wire? If so, why do you need such configuretion? rik > >Thanks > >AL > >_______________________________________________ >freebsd-net@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-net >To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > > >