From owner-freebsd-questions Thu Jan 10 15: 6:15 2002 Delivered-To: freebsd-questions@freebsd.org Received: from front2.mail.megapathdsl.net (front2.mail.megapathdsl.net [66.80.60.30]) by hub.freebsd.org (Postfix) with ESMTP id 9C4AE37B6F2 for ; Thu, 10 Jan 2002 14:52:19 -0800 (PST) Received: from [64.32.190.75] (HELO dns2) by front2.mail.megapathdsl.net (CommuniGate Pro SMTP 3.5.1) with SMTP id 16484577; Thu, 10 Jan 2002 14:50:44 -0800 Message-ID: <000d01c19a29$6ce8fe70$ec09000a@dns2> From: To: "Joe & Fhe Barbish" Cc: "FBSD Questions" References: Subject: Re: Network Issue Date: Thu, 10 Jan 2002 14:52:01 -0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000A_01C199E6.5CA2B760" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_000A_01C199E6.5CA2B760 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable The 10baseT hub is builtin to the Efficient router, guess I should have = explained that originally. The reason I use two nics is the fact that the Efficient only supports = 10mb, and I want 100mb on my LAN. So rl0 is my outside interface, = running at 10mb. The internal interface, rl1 is running at 100mb and = connected to my 2 windows machines via a 3com 100mb ONLY hub. As you = can see I am somewhat limited in my hubs, a 10mb only hub and a 100mb = only hub.. :) so that is the reason I have the setup I do. If I had = better hubs, I suppose I could just alias the two addresses, but none = the less. I do have two nic cards installed, two realtek type cards (don't have = specific models) rl0 (outside) 216.36.73.6 rl1 (inside) 216.36.71.1 win98 box 216.36.71.2 winXP box 216.36.71.3 216.36.71.x is my internal subnet 216.36.73.6 is part of a /30 block, no other machines are on this = subnet, just the router. Apache originally was only setup to listen on rl0 (outside). I thought = I may have had some type of routing issue which was causing slow = performance. So I setup Apache to listen on the inside too.=20 My reasoning as to why it is not Apache but some type of OS = configuration issue would be that I get similiar bandwidth patterns via = FTP. Thank you for your response. Let me know what you think. -- Kevin ----- Original Message -----=20 From: Joe & Fhe Barbish=20 To: MegaPath=20 Cc: FBSD Questions=20 Sent: Thursday, January 10, 2002 12:12 PM Subject: RE: Network Issue This layout is to vague, fill in some details. See no reason for = hub(10baset) and should't FreeBDS1 need two nic cards, one for = connection to dsl line and one out to private network. Tell what = functions are running where. Where are the win boxes? Give address = ranges. =20 DSL line -> Efficient Router -> Hub (10baseT) -> FreeBSD1 (rl0) -> (routed) -> FreeBSD2 (rl1) -> Hub (100baseT) -> Local Machines =20 -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG = [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of MegaPath Sent: Thursday, January 10, 2002 2:35 PM To: freebsd-questions@freebsd.org Subject: Network Issue =20 I apologize if this message has been sent to the incorrect list. To anyone that may assist, I have an issue on a FreeBSD machine acting as a firewall/router = with 2 NICs. Here is my configuration Running 4.3-release Pentium 2 - 350mhz, 128mb RAM 6gb hard drive with less than 25% used on all slices 2 network cards, Realtek type, (rl0 and rl1) Routable IPs on both interfaces, using routed rl0 200.200.200.6, default gateway 200.200.200.5 rl1 200.200.201.1 2.3mb SDSL line IPFW is running, no queues enabled. Basic port blocking only Running Apache 1.3.20 on rl0 Physical setup: DSL line -> Efficient Router -> Hub (10baseT) -> FreeBSD (rl0) -> (routed) -> FreeBSD (rl1) -> Hub (100baseT) -> Local Machines Tests Win98 machine at 200.200.200.2, goes to internet server and downloads = file at full bandwidth. WinXP machine at 200.200.200.3, full bandwidth when going to popular download site on the net. Win98 machine to Apache server running on rl0, download 30-40k/sec = max. Win98 machine ftp to rl0, download 30-40k/sec max, upload 600-700k/sec WinXP machine to Apache server running on rl0, download 30-40k/sec = max. WinXP not tested on ftp to rl0. External machine (a friend) running Win98 to Apache server running on = rl0 via DSL, download 150+k/sec. So I am deducing there is a problem somewhere in the routing of data = between rl0 and rl1 to my internal Win98 machine since it is affecting not = only http but ftp traffic as well. I have tried removing all IPFW rules to see = if maybe they are clogging up the system, no change. I have asked a few other more experienced admins to see if they have = any ideas. Besides suspected hardware issues no ideas come up. Any ideas? I am dying here! :) Thank you for any response and again = I apologize if this was sent to the wrong list. -- Kevin ------=_NextPart_000_000A_01C199E6.5CA2B760 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
The 10baseT hub is builtin to the = Efficient router,=20 guess I should have explained that originally.
 
The reason I use two nics is the fact = that the=20 Efficient only supports 10mb, and I want 100mb on my LAN.  So rl0 = is my=20 outside interface, running at 10mb.  The internal interface, rl1 is = running=20 at 100mb and connected to my 2 windows machines via a 3com 100mb ONLY = hub. =20 As you can see I am somewhat limited = in my hubs,=20 a 10mb only hub and a 100mb only hub.. :) so that is the reason I have = the setup=20 I do.  If I had better hubs, I suppose I could just alias the two=20 addresses, but none the less.
 
I do have two nic cards installed, two = realtek type=20 cards (don't have specific models)
 
rl0 (outside) 216.36.73.6
rl1 (inside) 216.36.71.1
win98 box 216.36.71.2
winXP box 216.36.71.3
 
216.36.71.x is my internal = subnet
216.36.73.6 is part of a /30 = block, no other=20 machines are on this subnet, just the router.
 
Apache originally was only setup to = listen on rl0=20 (outside).  I thought I may have had some type of routing issue = which was=20 causing slow performance.  So I setup Apache to listen on the = inside=20 too. 
 
My reasoning as to why it is not Apache = but some=20 type of OS configuration issue would be that I get similiar bandwidth = patterns=20 via FTP.
 
Thank you for your response.  Let = me know what=20 you think.
 
-- Kevin
 
----- Original Message -----
From:=20 Joe=20 & Fhe Barbish
Sent: Thursday, January 10, = 2002 12:12=20 PM
Subject: RE: Network = Issue

This layout is = to vague,=20 fill in some details. See no reason for hub(10baset) and = should’t FreeBDS1=20 need two nic cards, one for connection to dsl line and one out to = private=20 network. Tell what functions are running where. Where are the win = boxes? Give=20 address ranges.

 

DSL line -> Efficient Router = -> Hub=20 (10baseT) -> FreeBSD1 (rl0) ->
(routed) -> FreeBSD2 (rl1) = ->=20 Hub (100baseT) -> Local Machines

 

-----Original=20 Message-----
From:=20 owner-freebsd-questions@FreeBSD.ORG=20 [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of = MegaPath
Sent: Thursday, January 10, = 2002 2:35=20 PM
To:=20 freebsd-questions@freebsd.org
Subject: Network = Issue

 

I = apologize if=20 this message has been sent to the incorrect list.

To anyone = that may=20 assist,
    I have an issue on a FreeBSD machine = acting as a=20 firewall/router with 2
NICs.  Here is my = configuration

Running=20 4.3-release
Pentium 2 - 350mhz, 128mb RAM
6gb hard drive with = less than=20 25% used on all slices
2 network cards, Realtek type, (rl0 and=20 rl1)
Routable IPs on both interfaces, using routed
rl0 = 200.200.200.6,=20 default gateway 200.200.200.5
rl1 200.200.201.1
2.3mb SDSL = line
IPFW=20 is running, no queues enabled.  Basic port blocking = only
Running=20 Apache 1.3.20 on rl0

Physical setup:
DSL line -> = Efficient Router=20 -> Hub (10baseT) -> FreeBSD (rl0) ->
(routed) -> = FreeBSD (rl1)=20 -> Hub (100baseT) -> Local Machines

Tests
Win98 = machine at=20 200.200.200.2, goes to internet server and downloads file
at full=20 bandwidth.
WinXP machine at 200.200.200.3, full bandwidth when = going to=20 popular
download site on the net.

Win98 machine to Apache = server=20 running on rl0, download 30-40k/sec max.
Win98 machine ftp to rl0, = download=20 30-40k/sec max, upload 600-700k/sec
WinXP machine to Apache server = running=20 on rl0, download 30-40k/sec max.
WinXP not tested on ftp to=20 rl0.

External machine (a friend) running Win98 to Apache server = running=20 on rl0
via DSL, download 150+k/sec.

So I am deducing there = is a=20 problem somewhere in the routing of data between
rl0 and rl1 to my = internal=20 Win98 machine since it is affecting not only http
but ftp traffic = as=20 well.  I have tried removing all IPFW rules to see if
maybe = they are=20 clogging up the system, no change.

I have asked a few other = more=20 experienced admins to see if they have any
ideas.  Besides = suspected=20 hardware issues no ideas come up.

Any ideas?  I am dying = here!=20 :)  Thank you for any response and again I
apologize if this = was sent=20 to the wrong list.

-- Kevin

------=_NextPart_000_000A_01C199E6.5CA2B760-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message