From owner-freebsd-ipfw@FreeBSD.ORG Thu Oct 11 14:34:42 2007 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50DBB16A41B for ; Thu, 11 Oct 2007 14:34:42 +0000 (UTC) (envelope-from skhozaima@yahoo.com) Received: from web31806.mail.mud.yahoo.com (web31806.mail.mud.yahoo.com [68.142.207.69]) by mx1.freebsd.org (Postfix) with SMTP id 191D113C447 for ; Thu, 11 Oct 2007 14:34:42 +0000 (UTC) (envelope-from skhozaima@yahoo.com) Received: (qmail 18867 invoked by uid 60001); 11 Oct 2007 14:08:01 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=1+0H6RJ+K02Q96ONaUH6hADqN6Zdi5o0bgjMz6Dz6bRxCQn9DSUIQeaqZtYjgBUsXh3KLJKYRLXNFF/YrFBG7pQkr5jn/hVY7MTbj0VkLJxU0MC+5yf2O3wDPCVsmKqENMuC+HC0Re11Iv3ONVk+qheuDtK8KJydBqZMvgH9+6o=; X-YMail-OSG: wM3UalUVM1liCU8JlEwQkLYq6B3_oKz5HjYwI1E1Q0m8OTmpu.jgpA.r5.Zw3p8BrrNqYMJW6fixPrdughrjPOAMEq45ohbBa1k4IvWI9OzihbETIuRF6zgExIrSXA-- Received: from [209.5.112.210] by web31806.mail.mud.yahoo.com via HTTP; Thu, 11 Oct 2007 07:08:01 PDT X-Mailer: YahooMailRC/814.05 YahooMailWebService/0.7.134.12 Date: Thu, 11 Oct 2007 07:08:01 -0700 (PDT) From: Khozaima Shakir To: freebsd-ipfw@freebsd.org MIME-Version: 1.0 Message-ID: <255902.18454.qm@web31806.mail.mud.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Packet forwarding X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Oct 2007 14:34:42 -0000 Hello All, =0A=0AI am new to ipfw. Basically, on my box, i have 3 nics, 1 f= or external Internet usage and 2 for internal lan usage : re0, re1. I want = to sent ip traffic to re0, pass it on to ipfw to apply QoS on IP stream and= route it through re1 (and viceversa). I don;t need to have any external IP= traffic on re0 and re1. I tried bridging re0 and re1 which for some unknow= n reason, only worked for 1 ip flow, pipe if you will. Thinking, there migh= t be some bridging L2 and ip L3 issues, I am thinking for turning the box i= nto a router, just to forward packets between re0 and re1 and then apply Qo= S on it. I am using fixed internal IP addresses on re0 and re1. I have turn= ed on ip forwarding. =0A=0Are0: flags=3D8843 mtu 1500=0A options=3D18=0A = inet 20.20.20.20 netmask 0xffffff00 broadcast 20.20.20.255=0A ethe= r 00:12:17:55:a4:ec=0A media: Ethernet autoselect (none)=0A s= tatus: no carrier=0Are1: flags=3D8843 mtu 1500=0A options=3D18=0A inet = 20.20.20.22 netmask 0xffffff00 broadcast 20.20.20.255=0A ether 00:12= :17:55:a3:fa=0A media: Ethernet autoselect (none)=0A status: = no carrier=0A=0AI am don;t understand on how to proceed with set of rules I= should be using to forward ip traffic. Once I have a basic setup that can = forward ip, i can then think of rule set for QoS via pipe and queues. syste= m I will have at least 2 streams of IP traffic via a switch to the freeBSD = box. Any help would be greatly appreciated. =0A=0AThanks in advance, =0Akho= zaima=0A=0A=0A=0A=0A =0A_____________________________________________= _______________________________________=0AMoody friends. Drama queens. Your= life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games.= =0Ahttp://sims.yahoo.com/