From owner-freebsd-net@FreeBSD.ORG Tue Feb 12 17:38:43 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E69AB55C; Tue, 12 Feb 2013 17:38:42 +0000 (UTC) (envelope-from lars@netapp.com) Received: from mx12.netapp.com (mx12.netapp.com [216.240.18.77]) by mx1.freebsd.org (Postfix) with ESMTP id 477A23E8; Tue, 12 Feb 2013 17:38:42 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.84,650,1355126400"; d="scan'208";a="19983793" Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx12-out.netapp.com with ESMTP; 12 Feb 2013 09:38:41 -0800 Received: from vmwexceht01-prd.hq.netapp.com (vmwexceht01-prd.hq.netapp.com [10.106.76.239]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id r1CHcfZ9025931; Tue, 12 Feb 2013 09:38:41 -0800 (PST) Received: from SACEXCMBX01-PRD.hq.netapp.com ([169.254.2.54]) by vmwexceht01-prd.hq.netapp.com ([10.106.76.239]) with mapi id 14.02.0328.009; Tue, 12 Feb 2013 09:38:41 -0800 From: "Eggert, Lars" To: Ivan Voras Subject: Re: Problems with two interfaces on the same subnet? Thread-Topic: Problems with two interfaces on the same subnet? Thread-Index: AQHOCUb6Tp99D1R3iECoMLZWzmGEXph3AyuA Date: Tue, 12 Feb 2013 17:38:40 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.106.53.51] Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2013 17:38:44 -0000 Hi, On Feb 12, 2013, at 9:32, Ivan Voras wrote: > I have a machine with two interfaces, igb2 and igb3 on the same subnet > but with different IP addresses, e.g. igb2 has 192.168.1.221, igb3 has > 192.168.1.222. Firstly, is there anything which would preclude this from > working? As I see it, these are two different MAC addresses and to the > outside world should look as two different hosts, right? depends on what you mean by "work". There will only be one default route ou= t of the box. > * With both NICs connected to different switches, everything appears to > work, BUT, if igb2 cable is disconnected, pings to igb3 simply stop, > even though its cable *is* still connected. This sounds like your default route is going via igb2. You can make this work with ipfw rules (and I guess also setfib, although I= have not tried that.) Lars