- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
07-20-2017 01:39 AM
Hey!
is it possible with a PA-3020 and OS 7.1.7 to set a bandwith limit for a complete subnet / Sub-Interface?
No matter which application etc.
Thanks!
07-20-2017 03:02 AM
Hi @MPI-AE,
It is possible yes. Please check the product info here :
https://www.paloaltonetworks.com/products/product-comparison.html?chosen=pa-3020
The QoS section more specifically :
QoS | |
Number of QoS policies | 1,000 |
Physical interfaces supporting QoS | 6 |
Clear text nodes per physical interface | 31 |
DSCP marking by policy | Yes |
Subinterfaces supported | System limit |
System limit means that there is no defined hard limit. It is driven by system capacity.
Compared to a 5020 where it is NOT supported :
https://www.paloaltonetworks.com/products/product-comparison.html?chosen=pa-5020
QoS | |
Number of QoS policies | 1,000 |
Physical interfaces supporting QoS | 12 |
Clear text nodes per physical interface | 63 |
DSCP marking by policy | Yes |
Subinterfaces supported | NA |
Hope it helps !
-Kiwi
07-20-2017 03:04 AM - edited 07-20-2017 03:58 AM
But when I want to add an interface under Network -> QoS, it only shows me my physical interfaces.
But that doesn't matter. I can switch the subinterfaces to physical interfaces.
The more important question is: Can I apply a maximum bandwith to all hosts in a subnet for all traffic?
For example guest users.
07-20-2017 04:10 AM - edited 07-20-2017 04:10 AM
Hi @MPI-AE,
QoS needs to be enabled per physical interface but you can define subinterfaces in the configuration :
Cheers,
-Kiwi.
07-20-2017 04:40 AM
Hi @kiwi
will be very nice if you guide me through the configuration. That's very complex imo.
- Do I need a QOS profile with classes?
- Do I need a QOS Policy Rule where I define ssl and web-browsing and refer it to a class?
Questions over questions..
My subinterface is ae1.140 . That's the interface where all guest hosts are connected and I want to set a bandwith limit of 50Mbps to this subinterface for the complete internet download traffic.
Could you please help me with that?
07-20-2017 04:55 AM
Hi @MPI-AE,
I suggest you start out here :
https://live.paloaltonetworks.com/t5/Featured-Articles/Getting-Started-Quality-of-Service/ta-p/68633
The above artice is an excellent resource explaining how to configure QoS.
Cheers !
-Kiwi.
07-20-2017 05:06 AM - edited 07-20-2017 05:11 AM
Hi @kiwi
that means when I set up a Qos policy rule with the guest zone only and in the Qos interface rule I only mention ae1.140, the bandwith limitation is only applied to the ae1.140 subinterface?
Because there are 30 more subinterfaces beneath ae1.
That would be very dreadful if the limitation is applied to all ae1 subinterfaces.
And I'm afraid about the default profile:
07-20-2017 07:12 AM
The default profile is going to apply to the interface but unless you are actually utilizing QoS policies all traffic is just going to map to class4 which is the default on the Palo Alto.
If you are worried about effecting production traffic I would contact your SE and ask for a time to walk through this with him to make sure that you actually configure everything correctly and you aren't going to be applying bandwidth constraints where you don't want to.
07-21-2017 05:52 AM
You would need to actually enable QoS on that interface but otherwise if your intention is to simply limit the egress bandwidth then this would function fine.
07-21-2017 10:04 AM
I enabled it on the interface, but unfortunately traffic from the guest network isn't limited.
When I download a file, I have a download rate of 200Mbit/s.
But it want it to be 50 Mbit/s.
When I take a look on the QoS Interface Statistics, I observe that the download rate increases at the default-group, not in the guest group:
What is wrong?
07-21-2017 10:38 AM
Not knowing how your network is setup I just want to verify that we are talking about egress traffic here right. In this scenario where you are downloading a file this is ingress traffic right; because egress is traffic leaving the subinterface. Downloading a file is going to have the subinterface as the ingress interface.
So say for example I look at this 1.1 gig file I just downloaded. The Egress interface is ethernet1/2 which is my untrust/outside interface, this means that my ingress interface is ae2 or my trust/inside network. The reason this isn't working is because you have egress max setup for the ingress interface when it comes to downloading.
07-21-2017 10:39 AM
That has a good explination of how to go about limiting downloads, although it's not the focus of the document you can get a good understanding of it from there.
07-21-2017 11:05 AM - edited 07-21-2017 11:06 AM
now I'm confused!
Please take a look at that link:
My external interface is 1/20. My internal interface is ae1. The Guest Network is a subinterface of ae1. (-> ae1.140)
So when I download a file, the packets come in at 1/20, and leave the firewall at ae1.140 to my client.
So in my opinion, the egress interface is ae1.
"For example, in an enterprise network, if you are limiting employees’ download traffic from a specific website, the egress interface in the QoS configuration is the firewall’s internal interface, as the traffic flow is from the Internet, through the firewall, and to your company network. "
07-21-2017 11:22 AM
Queary the traffic in your threat logs and see what the firewall itself is labeling as the Egress/Ingress interface. On the traffic log you can search '(addr in 10.191.16.61) and ( bytes geq 180000000 )' replacing the IP address obviously with whatever the machines IP address was. This will catch the 200mb file you downloaded.
In your column options you will need to likely check Egress I/F and Ingress I/F so that it's actually displayed. This will tell you exactly what your Ingress and Egress were recorded as. My guess would be that you'll see what I have laid out below, where your Ingress will be your subinterface and your Egress is going to be your 1/20 interface.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!