Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Aug 2000 17:01:32 +1200
From:      Jonathan Chen <jonathan.chen@itouch.co.nz>
To:        "Rocky Lau ( Hong Kong Logistics Co Ltd )" <rocky@hklogis.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Help please
Message-ID:  <20000808170132.A57713@jonc.ntdns.wilsonandhorton.co.n>
In-Reply-To: <002101c000eb$6d3b6ee0$daba82ca@hklogis.com>; from rocky@hklogis.com on Tue, Aug 08, 2000 at 11:47:50AM %2B0800
References:  <002101c000eb$6d3b6ee0$daba82ca@hklogis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
[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 <jonathan.chen@itouch.co.nz>
----------------------------------------------------------------------
"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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000808170132.A57713>