Our ISP's provide Internet access based on the amount of data that you want to access.
Though there are many many various packages, for this question's purposes you need to know the following:
You can purchase data cap according to two types of connections == that is "Local" and "International" traffic - local being any IP's that are allocated to our country and International is any IP's (including local). The cost for local traffic is less than a third of International cap pricing just in case you start wondering why I want to do this.
Now, when you pay for International traffic it includes your local traffic usage so you are paying three times it's true value...but what if I could force my users to use local cap when accessing local sites (80% of the time) and only utilise the EXPENSIVE International internet connection when they are connecting to international IP's.
It means I can save a lot on costs. So here is a drawing:
Code: Select all
Hotspot/LAN
l
l
ether1
/ \
/ \
/ \
/ \
ether2 ether3
PPPoE Int. PPPoE Local
l l
l l
l DSL Router with l
l PPPoE pass through l
l l
l l
.com/.eu Any local sites
.au/.tw with our country's
International IP range
sites / IP's
The trouble comes in where the two PPPoE connections have different gateway addresses. I have thought of using address lists and firewall rules to mark connections and packets and according to that assign it to a route. Does this sound even remotely on the right track...?
What do you guy's think could be a way of doing this...?
I know this is going to take some time (all good things do) and I would love to hear about any input on the matter.
Thanks and I hope this will tingle your soft spots