Routing Local And International Traffic on Vista

Munch

Well-Known Member
Joined
Aug 3, 2005
Messages
198
Reaction score
0
Goal:
Route local traffic through a local only adsl Telkom or IS connection,
Route international traffic through a normal Telkom or IS adsl connection
Do this on Vista
Using an adsl router capable of running in router mode as well as bridge/modem mode.

After several hours and some reading on these forums in particular this thread:
http://www.mybroadband.co.za/vb/showthread.php?t=52541&highlight=RasPPPoE+vista
I managed to split my local and international traffic across 2 connections.

You do not need raspppoe or RouteSentry or a separate box.

How:
1. Setup my router(Billion 5102) to connect to the local only connection. In my case a Webafrica Local Prepaid Telkom account.

2. Make sure the router is also set to allow bridge(modem) connections. Note I do not know if all routers can do this while also maintaining it's own seperate connection. My router has 2 seperate options, 1 where you Bridge Mode explicitly(I do not select this as this will not allow the router to create it's own PPPoE connection. The other option is Bridge Interface where I select activated.

3. Setup a PPPoE Connection in Windows Vista to connect to the international connection. In my case a Webafrica Prepaid Telkom Account.

4. Using the "route" command in windows vista I route all local IP addresses to my routers IP address. The syntax for this command is:
route -p add destination MASK ipmask routerip
Here is the first line of my batch file:
route -p add 129.227.206.0 MASK 255.255.255.0 192.168.1.254
You will have to create your own batch file because I have nowhere to host this file. For a list of Local IP Addresses and masks download http://faustodt.googlepages.com/Routes.zip and open LocalRoutes xls file. Unhide the Routes tab and you will see 2 columns: IP Address and Subnet Mask.
Create a batch file with a route command for each IP in that spreadsheet.

5. Run the batchfile. You may have to rightclick it and select Run as administrator.

6. If you mess up and need to delete a route just run: route delete ipaddress eg:
route delete 129.227.206.0
I created a similar batchfile to delete the routes created by the other batchfile. You may also run the add command without the -p switch that way the routes are not persistent and simply rebooting will delete them.

7. Your internet should work perfectly now. Though I have not tested this through telkom 24 hour resets yet. Also both the router and Vista must be connected. So you will have one dialup connection and one always on router connection. I just make it connect silently in windows startup.

FYI I did flash my router many months ago to Firmware Version 2.7.0.23(UE0.B1C)3.3.2.5
I am not sure if the old version will allow bridge interface and a connection simultaneously.

I hope this helps at least 1 person.
Note the xls in routes.xls is part of a different solution. I only used that file to get the local IP addresses. I did not run any macros in it. However should you wish to try that solution instead please visit and read the thread i referred to above first.
 
THANK YOU!!! I will try this over the weekend! Thanks a lot!:D
 
Very nice, this was one of the main reasons I have not switched back to Vista again..

Gaming performance, SAM Broadcaster issues and the route sentry.
 
Yeah, I expect this to work in XP, I just don't have a installed XP machine to test this on. But there are other easier alternatives to this for XP.
 
I have added a screenshot of my router setup to http://kirstenjg.googlepages.com
The important thing was that I activated Bridge Interface and not select bridge Mode up above. As you will see the Bridge mode above will not allow the router to make a PPPoE connection directly itself.
 
Thanks Munch, for not having many posts, but still helping everyone out ;)

I've got the 5102G as well, I don't have an IS account anymore, but when I do, will this scenario work?

I do what you said, but I've got 2 pc's connected to the router. I only need local access on one pc, but I want to use my SAIX account for international. Will pc #2 be unaffected and can I use as normal? (the router makes the PPPOE connection)
 
Thanks Munch, for not having many posts, but still helping everyone out ;)

I've got the 5102G as well, I don't have an IS account anymore, but when I do, will this scenario work?

I do what you said, but I've got 2 pc's connected to the router. I only need local access on one pc, but I want to use my SAIX account for international. Will pc #2 be unaffected and can I use as normal? (the router makes the PPPOE connection)

Thanks, but I really did most of my research here on this forum, so thought I owe something back.

I don't have the 5102G, just the normal 5102 4 port router. It's not wireless.

Personally I don't see why this scenario will not work with an IS account. As far as I can see all that would change is my username and password should I apply for an IS account.

Hmm, my method assumes that the local account will be loaded on the router, as the routing table will route local traffic there. This means that all pc's connected to the router will need to run the routing table scripts and create a international connection on the PC itself. If you don't run the script vista always seems to default to the PPPoE connection on the PC itself not the one on the router. So I don't see how it will be possible to make the international connection on the router and the local connection's on the respective pc's. Unless of course you modify the routing table to route international IP's to the router. But for that we need a list of international IP's

Anywone else have a better idea? But as far as I see it in summary:
1. Create local PPPoE connection on router
2. Create international PPPoE connection on each pc plugged into router
3. Running routing script to route local traffic to router on each machine plugged into router.

Hope that answers your question. But let us know what works.
 
I tried it and voila, it works 100%. Thanks a lot man, u me her0 :)
 
I cannot thank you enough for this, thanks a lot.
 
Can the Mega100WR do this?
Hmm, Sorry I have not heard of the modem before. But if it supports half bridge mode it should work.

Also great to hear this has worked for others as well.
 
Anywone else have a better idea? But as far as I see it in summary:
1. Create local PPPoE connection on router
2. Create international PPPoE connection on each pc plugged into router
3. Running routing script to route local traffic to router on each machine plugged into router.

Hope that answers your question. But let us know what works.

Thanks a lot for this, I'd also like to know if the Mega 100WR (Telkom/Marconi free router modem combo that comes with self install option) could work with this. I'm sure a lot of people have this modem now, could someone just check if it has a half bridge mode option? Vista or XP wouldn't matter.
 
Last edited:
wow dood, great work... I think the route tables aren't complete though? quite a few "local" sites don't get routed...
 
Top
Sign up to the MyBroadband newsletter
X