From owner-freebsd-questions Mon Mar 19 8:13:52 2001 Delivered-To: freebsd-questions@freebsd.org Received: from webmail.rzp.itesm.mx (webmail.rzp.itesm.mx [132.254.232.35]) by hub.freebsd.org (Postfix) with ESMTP id 6FFD037B71B for ; Mon, 19 Mar 2001 08:13:47 -0800 (PST) (envelope-from 00540562@academ01.maz.itesm.mx) Received: by webmail.rzp.itesm.mx (5.1.050) id 3A6F42110008CE00 for freebsd-questions@FreeBSD.ORG; Mon, 19 Mar 2001 10:13:41 -0600 Message-ID: <3A6F421300008E7F@webmail.rzp.itesm.mx> Date: Mon, 19 Mar 2001 10:13:40 -0600 From: 00540562@academ01.maz.itesm.mx Subject: dummynet and gif tunnel... To: freebsd-questions@FreeBSD.ORG MIME-Version: 1.0 Importance: Normal Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am planning to use dummynet but I have some questions regarding the imp= lementation. Here is a diagram of my network: Servers: x.x.1.0/24 (building A) Personal computers: x.x.2.0/24 (building B) Router (building A): interface eht1: x.x.1.1 (Servers) interface eth2: 192.168.1.1 interface wan: -- ISP router eth1 -- Servers router eth2 -- (fxp0) FreeBSD gt1 (fxp1) -- Microwaves, share fiber -- (f= xp1) FreeBSD gt2 (fxp0) -- personal computers FreeBSD boxes: gt1 fxp0 =3D 192.168.1.2 gt1 fxp1 =3D 172.16.1.2 gt2 fxp0 =3D x.x.2.1 gt2 fxp1 =3D 172.16.1.1 With this configuration I am securing the traffic between the router and the personal computers with an ipsec tunnel gif0. Everything works great (as usual with FreeBSD) but the bandwidth between both FreeBSD boxes (tun= nel gif0) is 10 Mbit/s. People are downloading mp3's, surfing, etc., and the problem is that connection to the servers slow down because the internet traffic and the intranet traffic use the same channel. I want the the FreeBSD boxes give priority to the network x.x.1.0/24, I am planning to use dummynet and assure a bandwidth of 4 Mbits to the x.x.= 1.0/24 and the rest for the Internet. As this boxes are acting as routers I need to use two pipes? or just one pipe for the conection between 172.16.1.1 and 172.16.1.2. How can I do this?, any Howto's?, examples? Thanks.. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message