Hi, I have a fortigate 81F, this fortigate has 40 vlans, 1 vlan per office (per company)…
- User
Hi, I have a fortigate 81F, this fortigate has 40 vlans, 1 vlan per office (per company) for security purpose ! ISP internet bandwith is 1 Gbps... today, when someone goes to the internet and download it takes all the bandwith, how would you handle this situation ?
Assistant
You're facing a bandwidth contention issue on your FortiGate 81F where one user (or office) downloading large files can consume the entire 1 Gbps internet bandwidth, causing poor performance for other offices (VLANs). Since you have 40 VLANs (one per company) and want to maintain strict security separation, you need a solution that:
- Preserves VLAN-based isolation
- Ensures fair or controlled bandwidth distribution
- Prevents any single office from monopolizing bandwidth
✅ Recommended Solution: Traffic Shaping + Policies
FortiOS supports traffic shaping, which allows you to control and limit bandwidth usage based on policies. Here's how to implement it effectively:
🔧 Step-by-Step Plan
1. Create Traffic Shaping Profiles
Go to:
Policy & Objects > Objects > Traffic ShaperFor each VLAN (company), create a traffic shaping profile with:
- Guaranteed Bandwidth: e.g., 20 Mbps
- Maximum Bandwidth: e.g., 50 Mbps (can be bursted if unused by others)
- Optionally set priority (high/medium/low)
Example: Create
Shaper_VLAN10,Shaper_VLAN20, etc.
2. Assign Shapers to Outbound Internet Policies
Edit each firewall policy that allows internet access for a VLAN:
Go to:
Policy & Objects > Firewall PolicyFor each VLAN's internet policy:
- Set Outgoing Interface as your WAN interface (e.g.,
wan1) - Enable Traffic Shaping and select the corresponding shaper (
Shaper_VLAN10, etc.)
Ensure policies are ordered correctly and do not overlap.
3. Optionally Use Class-Based Weighted Fair Queuing (CBWFQ)
If you want dynamic sharing of unused bandwidth:
- Use shared traffic shapers with per-policy guarantees
- This allows unused bandwidth from one VLAN to be temporarily used by others
Example:
- Shared global shaper of 1 Gbps
- Each policy has guaranteed and max limits
This is more advanced but allows better utilization.
4. Monitor Bandwidth Usage
Use FortiGate’s built-in tools to monitor:
- Real-time bandwidth usage per policy
- Historical data
- Top users/consumers
Go to:
Dashboard > NetworkOr use FortiAnalyzer if available for centralized reporting.
📌 Optional Enhancements
A. Application Control + QoS
- Use Application Control to identify and rate-limit specific applications (like YouTube, Netflix, torrents).
- Combine with DSCP markings to prioritize business-critical apps.
B. User-Based Traffic Shaping (if using Authentication)
If users authenticate via FortiGate (using FSSO, LDAP, etc.), you can apply shaping per user instead of just per VLAN.
📈 Bandwidth Allocation Strategy
Here's an example allocation for 1 Gbps:
Number of VLANs Guaranteed per VLAN Max per VLAN Total 40 VLANs 20 Mbps 50 Mbps 800 Mbps guaranteed (with bursts up to 2 Gbps) Adjust based on actual needs (some companies may need more than others).
🛡️ Security Reminder
Since each VLAN represents a different company:
- Ensure inter-VLAN routing is blocked
- Keep firewall policies strict
- Avoid shared policies unless necessary
🧰 CLI Alternative (for bulk creation)
If you're comfortable with CLI and want to automate shaping profiles:
config firewall shaper traffic-shaper edit "Shaper_VLAN10" set guaranteed-bandwidth 20000 ! in Kbps = 20 Mbps set maximum-bandwidth 50000 ! 50 Mbps set priority medium next edit "Shaper_VLAN20" set guaranteed-bandwidth 20000 set maximum-bandwidth 50000 next endThen assign to policies accordingly.
✅ Summary
To prevent one VLAN/company from consuming all 1 Gbps bandwidth:
- Create traffic shaping profiles per VLAN
- Assign them to outbound firewall policies
- Set guaranteed and max limits
- Optionally allow unused bandwidth to be shared
- Monitor usage regularly
Let me know if you'd like help generating all the shaping profiles or policies automatically!
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.