From owner-freebsd-questions Mon Aug 7 22: 2:14 2000 Delivered-To: freebsd-questions@freebsd.org Received: from wilsonandhorton.co.nz (fw2.wilsonandhorton.co.nz [203.99.66.4]) by hub.freebsd.org (Postfix) with ESMTP id 9FAD937B5EE for ; Mon, 7 Aug 2000 22:02:11 -0700 (PDT) (envelope-from jonc@itouch.co.nz) Received: (from jonc@localhost) by wilsonandhorton.co.nz (8.9.3/8.9.3) id RAA58708; Tue, 8 Aug 2000 17:01:32 +1200 (NZST) (envelope-from jonc) Date: Tue, 8 Aug 2000 17:01:32 +1200 From: Jonathan Chen To: "Rocky Lau ( Hong Kong Logistics Co Ltd )" Cc: questions@FreeBSD.ORG Subject: Re: Help please Message-ID: <20000808170132.A57713@jonc.ntdns.wilsonandhorton.co.n> References: <002101c000eb$6d3b6ee0$daba82ca@hklogis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <002101c000eb$6d3b6ee0$daba82ca@hklogis.com>; from rocky@hklogis.com on Tue, Aug 08, 2000 at 11:47:50AM +0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [Use a better Subject: for better response times] On Tue, Aug 08, 2000 at 11:47:50AM +0800, Rocky Lau ( Hong Kong Logistics Co Ltd ) wrote: > Dear sir. > > After I read the handbook in FreeBSD, I still have a problem that I can fix > for a long time. > The point is, I have a FreeBSD machine which is running the WEB server and > the mail server. > I put 2 network card in the box and try to bind the WEB server in one nic > and the mail server in another. > In this way, I can check the traffic of both services by the MRTG. > But, after I setup the nic and config the rc.conf, I got many errors. > > Ex. /kernel: arp: 202.130.186.200 is on rl0 but got reply from > 00:00:1c:d9:4a:9f on xl0 > and some error for my router. > Well. That will happen if you do what you did. You can have only one NIC per network that you're dealing with. You'd be better off using ipfw to count the packets that come into/out of port 25 for mail and port 80 for web services for MRTG consumption. -- Jonathan Chen ---------------------------------------------------------------------- "If you wish your merit to be known, acknowledge that of other people" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message