Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Multiple IP's in shaper rule
« previous
next »
Print
Pages: [
1
]
Author
Topic: Multiple IP's in shaper rule (Read 4196 times)
bgkskyguy
Newbie
Posts: 6
Karma: 0
Multiple IP's in shaper rule
«
on:
August 10, 2017, 05:26:47 am »
So, I have an interface configured at 192.168.16.1/24... What I want to do is have a rule for a group of static addresses to go to one pipe in traffic shaper. IE - addresses 192.168.16.50 - 192.168.16.100 go to my desired pipe. Is it possible to enter a range of addresses in one rule as opposed to creating a rule for each address in that range? If so how?
Thanks in advance
Logged
Ciprian
Sr. Member
Posts: 284
Karma: 50
Re: Multiple IP's in shaper rule
«
Reply #1 on:
August 10, 2017, 12:25:45 pm »
Hello!
This is ”by the book”, if you follow the documentation you will get the exact answer for your situation. Please, be aware that I am NOT trying to be ”superior” with my lines, I only try to avoid repeating the documentation here, and again.
If there is something else you're looking for, and you can't achieve, then come back with required details.
Thank you!
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Multiple IP's in shaper rule
«
Reply #2 on:
August 10, 2017, 04:16:31 pm »
Hmm, not pointing to the documentation seems strange, there is duplication in pointing to the line where this is written down.
We support only (multiple) subnets or IPs at this point, the range is missing, I am unsure if ipfw supports it (but it should).
For now, all the IPs would have to be listed in the rule.
Best is to ask for the range feature via GitHub:
https://github.com/opnsense/core/issues
Thanks,
Franco
Logged
bgkskyguy
Newbie
Posts: 6
Karma: 0
Re: Multiple IP's in shaper rule
«
Reply #3 on:
August 13, 2017, 05:47:58 pm »
Thank you Franco.. I did search the docs for this and didn't find anything certain so I asked. Thank you for your reply. Is it possible to list multiple ip's in one rule then? if so what is the proper syntax.. could I have one rule that just has a large list.. ie 192.168.16.50 ; 192.168.16.51 ; 192.168.16.52 ; ect, ect. Thank you in advance for your time and patience as I learn this thing. I do try to read the documentation before I ask questions.
Logged
Ciprian
Sr. Member
Posts: 284
Karma: 50
Re: Multiple IP's in shaper rule
«
Reply #4 on:
August 16, 2017, 10:00:31 am »
Maybe sub-netting/ summarizing your range would be a temporary solution?!?!
So, if you have a range of IPs, lets say 16.50 -> 16.60 then you might try a setup for 192.168.16.48/28. Of course, you should manage this very carefully, it might impact your other settings, like interface rules and etc., but at least, in what concerns your post, it might be a solution, if you plan and manage it right.
I hope it helps.
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Multiple IP's in shaper rule
«
Reply #5 on:
August 16, 2017, 10:13:13 am »
The list is comma-separated, e.g. 23.43.43.34/24,10.0.0.1
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Multiple IP's in shaper rule