Quota on Guest Network

Report issues relating to bandwith monitoring, bandwidth quotas or QoS in this forum.

Moderator: Moderators

Post Reply
theone964
Posts: 7
Joined: Sat Mar 12, 2016 3:13 pm

Quota on Guest Network

Post by theone964 »

Hello everyone,

Just installed Gargoyle on my Buffalo WZR-HP-AG300H after having DD-WRT on it for over 4 years, gotta say i'm loving it.

I setup a guest network with nodogsplash and it force timeouts which is a major reason for my shift from dd-wrt.

I tried setting up quotas but can't get it to work sadly.

I put:
192.168.1.0/24 total limit 25GB
Others (Individual) download 100MB

My guest network is on 192.168.2.0/27, DCHP 192.168.2.2-192.168.2.30

I was able to get quotas working on the range 192.168.2.2-192.168.2.30 if i added the rule manually but it made it a combined rule and not individual like I need it to be.

Is there anyway to get individual quotas working on my 192.168.2.0 subnet?

User avatar
ericwong
Posts: 430
Joined: Sat Aug 25, 2012 6:15 am
Location: Melbourne, Australia
Contact:

Re: Quota on Guest Network

Post by ericwong »

theone964 wrote: I was able to get quotas working on the range 192.168.2.2-192.168.2.30 if i added the rule manually but it made it a combined rule and not individual like I need it to be.

Is there anyway to get individual quotas working on my 192.168.2.0 subnet?
What do you mean by "individual"?
You would need to set up the quota for every IP address if you aren't using the "combined individual" quota, i.e. one rule for every IP address in your IP address range.

I don't see any obvious problem in how gargoyle works from your configuration.
Eric Wong

PM me if you need to buy Gargoyle router in Australia/NZ, willing to pay me to help you on your Gargoyle configurations or build custom configured ROM with pre-installed app or try to fix your bricked router. Yes, I am looking for job/work.

theone964
Posts: 7
Joined: Sat Mar 12, 2016 3:13 pm

Re: Quota on Guest Network

Post by theone964 »

I mean that if I select the rule applies to: All individual hosts not explicitly xxx for the guest network(192.168.2.0/27) after applying the higher quota rule: 'These hosts' to my private network (192.168.1.0/24) then the quotas have no effect at all on the guest network.

It's like the quota system is only looking at the .1 subnet with the predefined selectable rules, unless you specify another subnet in the applies to these hosts rule, but by doing that it combines the quota for the the whole subnet

User avatar
ericwong
Posts: 430
Joined: Sat Aug 25, 2012 6:15 am
Location: Melbourne, Australia
Contact:

Re: Quota on Guest Network

Post by ericwong »

theone964 wrote: It's like the quota system is only looking at the .1 subnet with the predefined selectable rules, unless you specify another subnet in the applies to these hosts rule, but by doing that it combines the quota for the the whole subnet
This is the correct behaviour. Gargoyle is only designed to handle one subnet, you shouldn't be using two subnet in the first place.

Search the forum for previous discussion on Guest network. There is rather detail explanation/discussion on this topic when the Guest network feature was implemented.
Eric Wong

PM me if you need to buy Gargoyle router in Australia/NZ, willing to pay me to help you on your Gargoyle configurations or build custom configured ROM with pre-installed app or try to fix your bricked router. Yes, I am looking for job/work.

theone964
Posts: 7
Joined: Sat Mar 12, 2016 3:13 pm

Re: Quota on Guest Network

Post by theone964 »

I had to use separate subnet to allow nodogsplash to work correctly.

If I left my private and guest on the same network and setup nodogsplash gateway interface to that off the guest network it wouldn't work, traffic from guest network was routed to internet without seeing splash.

If I set the nodogsplash to br-lan (the default) then all traffic including private network was routed to nodogsplash regardless of the ip range nodogsplash was supposed to monitor.

Only solution I found was to separate the subnet of private and guest.

which files control the quotas? maybe if I could look through them I could find what I need to change to monitor more subnets

Lantis
Moderator
Posts: 7063
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Quota on Guest Network

Post by Lantis »

http://github.com/ericpaulbishop/gargoyle

It's an open source project, look away. :)
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

theone964
Posts: 7
Joined: Sat Mar 12, 2016 3:13 pm

Re: Quota on Guest Network

Post by theone964 »

thanks for that, not exactly what I was hoping for but useful nonetheless!

I mean isn't there a file I can ssh to and edit with vi?

please correct my simple thinking if its wrong.

the quota scans the subnet of the router, meaning that if I set the router IP to 192.168.10.1 than the quota for individual hosts will scan 192.168.10.0/24 for each individual host and apply whatever quota is set.

By this logic I'm thinking the quota file has to reference the router ip, if i could simply edit this to look at the subnet for the guest instead it would work.

Also if I am doing this the hard way would anyone please help me setup Guest WLAN with NoDogSplash, where people connecting from private network don't need to click splash.

Thank You

Post Reply