Date: Wed, 27 Feb 2002 11:05:13 +0000 From: Ceri <setantae@submonkey.net> To: Odhiambo Washington <wash@wananchi.com> Cc: FBSD-Q <freebsd-questions@freebsd.org> Subject: Re: IPFW/Dummynet - Internet Access Message-ID: <20020227110513.GA4011@rhadamanth> In-Reply-To: <20020227104755.GC23054@ns2.wananchi.com> References: <20020227104755.GC23054@ns2.wananchi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 27, 2002 at 01:47:55PM +0300, Odhiambo Washington wrote: Hey Wash, > I'd like to give Internet access to some residents of a building BUT I want > to have every user on their own private network (diff IP, no broadcast > traffic to the other) and also do bandwidth limiting. > > QUESTION 1: Is it possible that I can configure each port on switch as a unique vlan, > have the port that your FreeBSD box connects to pass all vlans, and then > setup 3 VLAN interfaces on the FreeBSD box, one for each VLAN/client? Yes, it's called a trunk port in Cisco. > My problem is that I don't want the clients/vlans to see one another. No problem - just don't route them to each other. > I am being told that this is not the way vlans work, that vlans will require > multiple switches, yes??? I don't believe that to be correct. You can use VLANs with just one switch. > QUESTION 2: I've already run IPFW on a FreeBSD box and while I am new to ipfw, I > see it's already running fine, bar for the tuning that it will require to achieve > the goal. If I want to do bandwidth limiting using dummynet, using the instructions > at www.mostgraveconcern.com/freebsd/ , at what point in rc.ipfw do I introduce the > dummynet rules, at the end??? Can't answer that one. Can't you just use pipes (or does that require dummynet) ? > QUESTION 3: I also want to control bandwidth for every client. Client 1 needs on 32K bandwidth > while Client 2 needs 64K. The total bandwidth available on the ooif of the FreeBSD > box is 256K (DSL). ipfw/dummynet will allow me to do this??? Definitely. Ceri -- keep a mild groove on To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020227110513.GA4011>