Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - bradmck

#1
Hi All:

I'm relatively new to OPNsense so am maybe missing something.  I'd like to intentionally add packet loss to a traffic shaper pipe.  This is so I can do some testing and simulate a bad WAN connection.  I found this post from a few years ago which talks about it:  https://forum.opnsense.org/index.php?topic=7140.0

I see that the delay option to add latency is exposed in the GUI now but nothing for packet loss.  Ok, but I figured I could maybe just add it from the CLI.  Looking at the man page for ipfw I see the option is called loss-level.  Looking at ipfw.rules my existing pipe looks like this:
pipe 10002 config bw 1Mbit/s mask dst-ip 0xffffffff  type  wf2q+  delay 50
So I figured I could do this at the command line:
ipfw pipe 10002 config bw 1Mbit/s mask dst-ip 0xffffffff  type  wf2q+  delay 50 loss-level .1

But that gives an error:  ipfw: unrecognised option ``loss-level''

Is the IPFW that comes with OPNsense compiled without that option or something?  Any one know of a way to make this work?

Thank you,
Brad