From owner-freebsd-questions@FreeBSD.ORG Wed Oct 26 09:11:03 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F4D916A41F for ; Wed, 26 Oct 2005 09:11:03 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 914DD43D46 for ; Wed, 26 Oct 2005 09:11:02 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: by zproxy.gmail.com with SMTP id z31so62840nzd for ; Wed, 26 Oct 2005 02:11:02 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TgdNlLQyc7iSLrHYUzHkvN446Z0iUhvgrn/qsZ/N1MStbmO9+NBgTBLp5ID2d03UTeOjqvxufhNBmbXU+MbTdsEJ8QsKjuWstdP0jVEotnTwcuwPkID4SaXfECl5HmXRkSalNQ4ElwP9uIrtfaw4MKAxaT1vnc5Olsu9yAo85eo= Received: by 10.36.222.18 with SMTP id u18mr651047nzg; Wed, 26 Oct 2005 02:11:01 -0700 (PDT) Received: by 10.37.20.34 with HTTP; Wed, 26 Oct 2005 02:11:00 -0700 (PDT) Message-ID: Date: Wed, 26 Oct 2005 13:11:00 +0400 From: "Andrew P." To: Sasa Stupar In-Reply-To: <27FECDB04C733DBB84685DAD@192.168.10.249> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <8635E843F061BEE823D1B9EA@192.168.10.249> <27FECDB04C733DBB84685DAD@192.168.10.249> Cc: FreeBSD Q ML Subject: Re: Speed question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Oct 2005 09:11:03 -0000 On 10/26/05, Sasa Stupar wrote: > > > --On 26. oktober 2005 9:46 +0200 Sasa Stupar > wrote: > > > Hi! > > > > I have on my LAN a server FBSD 5.4 on DMZ. The router is made of linux > > (yes I'll change it to FBSD ASAP) with 3 NIC: eth0 (inet), eth1 (LAN), > > eth2 (DMZ). > > Strange thing is that when server is on DMZ and I access it from the LA= N > > with ftp client my transfer speed is 30 Mbit/s. The network itself is 1= 00 > > Mbit. BUT if I move server from LAN to DMZ I have the max speed arround > > 100 Mbit/s. > > BTW: server in DMZ is connected directly to the NIC on router and on th= e > > LAN side I have all users connected on one switch which is connected to > > the router. > > > > Is this normall for all kinds of routers (linux, bsd, etc.) with setup > > like mine to behave like this or is it just my router setup? > > > > Regards, > > Sasa > > Made a mistake in the post: > > "BUT if I move server from LAN to DMZ..." > should be > "BUT if I move server from DMZ to LAN...# > > > Sasa > > If you mean that bandwidth between 2 boxes on one switch is higher than that between 2 boxes connected to different NICs on some server, then that's absolutely normal and expected. No server can match the speed of a Cisco, and no Cisco can match the speed of a cheap unmanaged switch. If you mean that ftp client and ftp server are connected to different NICs on the router in both cases (30Mbit and 100Mbit transfers), it is explainable, because traffic from DMZ to LAN usually gets a closer look than that from LAN to LAN. You might or might not get better performance with FreeBSD as the router.