Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jan 2003 05:49:35 -0800 (PST)
From:      Avleen Vig <lists-freebsd@silverwraith.com>
To:        master <master@zebus.org>
Cc:        "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: dummynet and ipfw
Message-ID:  <20030105054547.A61391@guava.silverwraith.com>
In-Reply-To: <01a401c2b4a6$163491f0$0201a8c0@sebxp>
References:  <01a401c2b4a6$163491f0$0201a8c0@sebxp>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 5 Jan 2003, master wrote:

> Hi all i have a little problem with ipfw
> i have try the following command :
> ipfw add 100 pipe 1 ip from 192.168.1.5 to any
> and i have no more network then i try a ping and get
> ping : sendto : No buffer space invalide
> any idea how can i fix this?

Yes, you need to configure the pipe to *do* something.. otherwise it's a
pipe that just collects packets :-)
you can do it in two commands like this:

  ipfw add 100 pipe 1 ip from 192.168.1.5 to any
  ipfw config pipe 1 bw 0

'bw 0' means tuse unlimited bandwidth (ie, all your availible bandwidth).
You can change this to a different amount, eg to limit to 5Kbytes/s:

  ipfw add 100 pipe 1 ip from 192.168.1.5 to any
  ipfw config pipe 1 bw 5KBytes/s

Packets should then flow through naturally.

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?20030105054547.A61391>