19.08.2020 0:17, Ryan Stone wrote:

> I'd like to dump all of this and just implement a packet loss rate,
> which would simplify all this immensely.  Is anybody using ng_pipe
> with a non-zero BER who would object to this?  Given this litany of
> issues I doubt it, but I thought that I'd be sure.

Take a look at dummynet(4):

kldload dummynet

# adds (optional) queueing delay plus 10 ms additional delay
ipfw pipe 1 config bw 100Mbit/s delay 10

# add packet drop probability
ipfw add 3000 prob 0.05 deny ip from any to any in

# apply bandwidth limit/delay
ipfw add 3010 pipe 1 ip from any to any in

_______________________________________________
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to