Splitting Local and international traffic

Amida

Expert Member
Joined
Feb 7, 2007
Messages
1,318
Reaction score
0
HI Guys

I'm busy writing a script to split local and international traffic on my router and need some help.

I have found the following link in the forums: http://www.ipmaster.org/ranges.php?cc=ZA

The ranges are posted like this: 41.192.0.0 - 41.195.255.255

What I need is a easy way to put all the ranges in the following format without manually typing it out:

ip add route <ip address> <mask> interface <interface>

Any ideas?
 
Why not use RouteSentry?

btw what router are you using??
 
Why not use RouteSentry?

btw what router are you using??

If I use router sentry I loose most of my router capabilities and the router supports 2 PPPoE connections on the same VC so I might as well use it.

A Billion 7404VGO
 
HI Guys

I'm busy writing a script to split local and international traffic on my router and need some help.

I have found the following link in the forums: http://www.ipmaster.org/ranges.php?cc=ZA

The ranges are posted like this: 41.192.0.0 - 41.195.255.255

What I need is a easy way to put all the ranges in the following format without manually typing it out:

ip add route <ip address> <mask> interface <interface>

Any ideas?

Maybe this post link will give you what you looking for. RSnow did something similar:
Local Routes
 
Maybe this post link will give you what you looking for. RSnow did something similar:
Local Routes


THanks for the reply but I see that script is a Linux script and I'm using windows.

Can you maybe post the script here so I can have a look at it?
 
This link gives the list in router friendly format. It is a Linux script but it can be parsed to provide you with the networks and subnet masks. It is updated daily.

http://alm.za.net/ip/localroutes4.txt

If you get traffic splitting working on your billion router, please post the solution on this forum.

I'm intrigued to see how you would use windows to program a router.

There's no doubt that achieving the splitting on the router itself is a far superior solution to RouteSentry. Espeically on a network.
 
Last edited:
Top
Sign up to the MyBroadband newsletter
X