Date: Thu, 11 Oct 2007 07:08:01 -0700 (PDT) From: Khozaima Shakir <skhozaima@yahoo.com> To: freebsd-ipfw@freebsd.org Subject: Packet forwarding Message-ID: <255902.18454.qm@web31806.mail.mud.yahoo.com>
next in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,M= ULTICAST> mtu 1500=0A options=3D18<VLAN_MTU,VLAN_HWTAGGING>=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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAS= T> mtu 1500=0A options=3D18<VLAN_MTU,VLAN_HWTAGGING>=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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?255902.18454.qm>