From owner-freebsd-net@FreeBSD.ORG Wed Jun 9 17:24:57 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 8FC7516A4CE for ; Wed, 9 Jun 2004 17:24:57 +0000 (GMT) Received: from lists.sch.bme.hu (kaa.sch.bme.hu [152.66.208.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id C385E43D1D for ; Wed, 9 Jun 2004 17:24:56 +0000 (GMT) (envelope-from tamas@bazmag.hu) Received: by lists.sch.bme.hu (Postfix, from userid 102) id 0024F85853E; Wed, 9 Jun 2004 19:24:39 +0200 (CEST) Received: from [127.0.0.1] (ural14.sch.bme.hu [152.66.211.76]) by lists.sch.bme.hu (Postfix) with ESMTP id E71988582E6 for ; Wed, 9 Jun 2004 19:24:39 +0200 (CEST) Message-ID: <40C747D8.1030200@bazmag.hu> Date: Wed, 09 Jun 2004 19:24:40 +0200 From: Tamas MEZEI User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: two nics, same network, different topics 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 17:24:57 -0000 Hi, I'm having a quite same problem as Al Chane had (two interfaces on the same network) but with a completely different situation. So, the box looks like this: a gigabit 3com card (bge0) attached to a switch's span (mirror) port, and a fxp0 card for maintaining the traffic metering pc, accessing to Apache etc. Both ifaces have an ip address from the same network (x.x.x.3 is fxp0 and x.x.x.156 is the metering card), and have different hostnames. (Actually, this is/was an OpenBSD problem, but I'm trying to move the box to FreeBSD due to performance and software support.) Is it possible to route all the packets coming out of the box through the fxp0 card (I mean, saying "ok, we have a default route, but you, silly packet, you're always gonna use fxp0 to go out from the computer, and don't try to use bge0")? If it can be accessed via bridging, and if bridging doesn't affect the metering possibilities, please tell me. We're using Netramet and Nemac to get data from the flows. If the mirror iface has an ip address, Nemac cannot "poll" (or whatever it's called it does) data from Netramet and the bge0 card and saying something like no response from x.x.x.3 (it's the fxp0 card). (It's kinda strange, and kinda offtopic, but networking related.) If I say, ifconfig bge0 delete, it works again. The metering card has an IP address because tcpdump would complain (no IPv4 address) and maybe it affects it's capabilities. (I'm not so sure.) BTW, if anyone using Netramet, Nemac or other free traffic metering software, and would give me a hand, some advices whatever, please tell me, I have some questions, but, I think, it's completely offtopic here. Thanks, Tamas