is it possible to traffic shape between devices

Started by clutchmaster, October 29, 2024, 01:04:27 PM

Previous topic - Next topic
been running a bare metal for a while now and been great no more buffer bloat and ping and packet loss has been minimal but my isp decided to up my speeds from 300/10 to 500/10 (me with no bufferbloat is 240/10 but with the way my network is setup i cannot take advantage of that without making everyone go to a crawl or deadlocked

i could never figure out how or even if u can traffic shape bridged lan ports like an off the shelf router
heres some images of my current setup

https://imgur.com/N7VH4dI
https://imgur.com/PRJjROW


You can put the Shaper on any interface you want.

Same as you did to shape the on the WAN, you can Shape on the LAN.

If you already have a Shaper on LAN with BW 240/10. Just increase the BW values on the Pipe that will take advantage of the newly upgraded circuit throughput.

Regards,
S.
Networking is love. You may hate it, but in the end, you always come back to it.

OPNSense HW
APU2D2 - deceased
N5105 - i226-V | Patriot 2x8G 3200 DDR4 | L 790 512G - VM HA(SOON)
N100   - i226-V | Crucial 16G  4800 DDR5 | S 980 500G - PROD

Quote from: Seimus on October 29, 2024, 01:51:34 PM
You can put the Shaper on any interface you want.

Same as you did to shape the on the WAN, you can Shape on the LAN.

If you already have a Shaper on LAN with BW 240/10. Just increase the BW values on the Pipe that will take advantage of the newly upgraded circuit throughput.

Regards,
S.

some time ago i tried doing the same steps i did to create the shaper on the WAN to bridge/LAN for each device(https://imgur.com/N7VH4dI) but it wasnt doing anything, wasnt limiting my speed even when i set it to 1mbit/s as if i didnt even create the pipe so i gave up. im gonna try it again later once i update

would it be because all ports are sharing an ip pool?


this is an abit separate issue(https://imgur.com/PRJjROW) but this is what i had to do to get my network stable for gaming since theres 4pc's, 6 hand helds, 2 consoles and phones and if someone's downloading a game update and while im gaming packet loss becomes an issue and the nighthawk's data rate is quite bursty on the upload

It most likely didn't work due to possible wrong configuration of the rules for the Shaper.

In the Rule configuration of the Shaper you can assign 2 interfaces, if you do that, the matching will be based to/from Interface 1  <>  to /from Interface 2. But dont use that mostly you just need to specify single interface which will match the traffic hitting on this specific Interface.

Also dont forget there is a relationship between Pipe(scheduler), Queue and Rule:

Rule > Queue > Pipe

You need to have proper rules assigned to proper Queues and proper Queues to proper Pipes. And Rules specified for the Queues needs to be set in proper Direction IN or OUT.

Regards,
S.
Networking is love. You may hate it, but in the end, you always come back to it.

OPNSense HW
APU2D2 - deceased
N5105 - i226-V | Patriot 2x8G 3200 DDR4 | L 790 512G - VM HA(SOON)
N100   - i226-V | Crucial 16G  4800 DDR5 | S 980 500G - PROD

Quote from: Seimus on October 29, 2024, 03:05:52 PM
It most likely didn't work due to possible wrong configuration of the rules for the Shaper.

In the Rule configuration of the Shaper you can assign 2 interfaces, if you do that, the matching will be based to/from Interface 1  <>  to /from Interface 2. But dont use that mostly you just need to specify single interface which will match the traffic hitting on this specific Interface.

Also dont forget there is a relationship between Pipe(scheduler), Queue and Rule:

Rule > Queue > Pipe

You need to have proper rules assigned to proper Queues and proper Queues to proper Pipes. And Rules specified for the Queues needs to be set in proper Direction IN or OUT.

Regards,
S.

thanks for the info buut this is me atm lol

***GOT REQUEST TO UPGRADE***
Currently running OPNsense 24.1.10_8 at Tue Oct 29 14:37:48 UTC 2024
Fetching packages-24.7-amd64.tar: ...


ok now on the latest version but repeated what i did before i gave up and still not doing a thing
image provided

You are not really trying to shape traffic on the SAME interface, are you? Sure looks like it since you only have OPT3 enabled.

In case I am right, read this, point 1.
Intel N100, 4 x I226-V, 16 GByte, 256 GByte NVME, ZTE F6005

1100 down / 770 up, Bufferbloat A

Quote from: meyergru on October 29, 2024, 09:58:12 PM
You are not really trying to shape traffic on the SAME interface, are you? Sure looks like it since you only have OPT3 enabled.

In case I am right, read this, point 1.

doing it this way so i dont mess with the rest of the house confirming before deploying

out of all my search's this step was not among them
        "Select the tunable net.link.bridge.pfil_bridge and set the value to 1 & restart"

is it possible to live change the speed during a download or do i need to reset something or restart to apply

Quote from: clutchmaster on October 29, 2024, 11:16:14 PM
Quote from: meyergru on October 29, 2024, 09:58:12 PM
You are not really trying to shape traffic on the SAME interface, are you? Sure looks like it since you only have OPT3 enabled.

In case I am right, read this, point 1.

doing it this way so i dont mess with the rest of the house confirming before deploying

out of all my search's this step was not among them
        "Select the tunable net.link.bridge.pfil_bridge and set the value to 1 & restart"

is it possible to live change the speed during a download or do i need to reset something or restart to apply

ya i still cant figure this out what am i doing wrong

essentially what im trying to do is when someone starts an uncapped steam download i want to see it get dynammically throttle when others on the network are watching youtube and or playing multi player games making sure theres no packet loss do to resends or clogging

is this even possible with bridged lan port am i gonna have to seperate all ports into there own dhcp pool???

Just follow the instructions from the documentation.

Use the "WAN" interface and your LAN subnet as parameters. Keep the limits a little below your actual limits. Make sure you use the correct values for the up/down pipe/queues and rules like depicted in the instructions.
Intel N100, 4 x I226-V, 16 GByte, 256 GByte NVME, ZTE F6005

1100 down / 770 up, Bufferbloat A

Quote from: meyergru on October 30, 2024, 12:24:10 PM
Just follow the instructions from the documentation.

Use the "WAN" interface and your LAN subnet as parameters. Keep the limits a little below your actual limits. Make sure you use the correct values for the up/down pipe/queues and rules like depicted in the instructions.

ok from the looks of it i cant just set the rule for the interface but have ot use the ip of my device???

ya folowed that gues what still blowing right past the set limit