Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Oct 2001 09:41:33 +0200
From:      "Patrick O'Reilly" <patrick@mip.co.za>
To:        "Bezerker" <bezerker@bezerker.org>, <questions@FreeBSD.ORG>
Subject:   RE: Lil help with dummynet please?
Message-ID:  <NDBBIMKICMDGDMNOOCAIAEAFDMAA.patrick@mip.co.za>
In-Reply-To: <001b01c15bfc$a2866f10$0101a8c0@bezerker>

next in thread | previous in thread | raw e-mail | index | archive | help
>
> Im trying to setup bandwith limiting so my fathers machine dont
> soak all the
> bandwith on my itty 56k.
>
> so.. i do the dummynet stuff and do this
> ipfw add 1 ip from any to 192.168.1.5 via tun0
> ipfw pipe 1 config bw 3Kbytes/s
> All looks well

No, not so well.

Your pipe config looks fine:
> ipfw pipe 1 config bw 3Kbytes/s

But, to use the pipe, your ipfw rule should be:
> ipfw add 1 pipe 1 ip from any to 192.168.1.5 via tun0

In fact, the rule as you gave it above has invalid syntax as far as I can
tell, so it might not be active at all.  Check with "ipfw list".

Regards,
Patrick.


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?NDBBIMKICMDGDMNOOCAIAEAFDMAA.patrick>