Setting up Routing Table

xdarksoulxy

New Member
Joined
Nov 19, 2010
Messages
7
Reaction score
0
Hi im looking at the option to setup my D-Link 2500u modem so that it have 2 accounts to dial

first account is an uncapped account with horrible shaping and latency but good for general or all
internet use browsing/downloads etc. except for gaming

second account will be used for gaming it will only be a 2gb account that has a lot less latency but
would be wasted fast if used for browsing and downloading as well.

the way i figured is i need to somehow tell the little modem box that ip range xxx.xxx.xxx.xxx subnet mask xxx.xxx.xxx.xxx must be routed through account 2 for gaming.... that's easy but....

how do i apart from creating 50 other routes tell it to force the rest of the traffic through account 1
since i cant give it any ranges like 0.0.0.0 - 191.0.0.0 for instance, best you can do is say 196.0.0.0 with a subnet 255.0.0.0. and but that's a small range sins then i need to specify all 256 ranges about and i can only have a maximum of 2 entries.

any ideas would be appreciated

EDIT: i looked through the routing table of my modem and found an entry for 0.0.0.0
is this the entry for "all data" so to speak, that if it gets a request it forwards that
data to this fields gateway unless there is another field that specifies otherwise.
because then i just have to setup up the modem to forward 0.0.0.0 through account 1
and all my gaming ips through account 2
 
Last edited:
hey,

Have a look at this post of mine, as well as the rest of the thread, which was intended for "splitting traffic" on basically any router :)

I also have a D-Link DSL-2500U router, but I haven't done much routing on the router itself, since I have a MikroTik RB750 for that.
You're more than welcome to ask me if you're stuck one something specific.

The DSL-2500U supports half-bridge mode, so you can use something like my Traffic Splitter app to route the traffic from a Windows PC.

One thing that I haven't done with the D-Link DSL-2500U yet, was to do mangling, where you route traffic based on the destination port and not just based on the destination IP address.

If you have an interest in network stuff, then I would recommend that you get yourself a MikroTik RB750 for like R300 ex VAT. You can really do quite a lot of stuff with it and it costs considerably less than the Cisco routers.
 
Hi im looking at the option to setup my D-Link 2500u modem so that it have 2 accounts to dial

first account is an uncapped account with horrible shaping and latency but good for general or all
internet use browsing/downloads etc. except for gaming

second account will be used for gaming it will only be a 2gb account that has a lot less latency but
would be wasted fast if used for browsing and downloading as well.

the way i figured is i need to somehow tell the little modem box that ip range xxx.xxx.xxx.xxx subnet mask xxx.xxx.xxx.xxx must be routed through account 2 for gaming.... that's easy but....

how do i apart from creating 50 other routes tell it to force the rest of the traffic through account 1
since i cant give it any ranges like 0.0.0.0 - 191.0.0.0 for instance, best you can do is say 196.0.0.0 with a subnet 255.0.0.0. and but that's a small range sins then i need to specify all 256 ranges about and i can only have a maximum of 2 entries.

any ideas would be appreciated

EDIT: i looked through the routing table of my modem and found an entry for 0.0.0.0
is this the entry for "all data" so to speak, that if it gets a request it forwards that
data to this fields gateway unless there is another field that specifies otherwise.
because then i just have to setup up the modem to forward 0.0.0.0 through account 1
and all my gaming ips through account 2

Yup, you got it i.e. the default route that is...
I second Pada's Mikrotik suggestion, the MikroTik is cheap and has a very powerful
feature set.
 
Ok thanks alot. ill read through that post and maybe get me the mikrotik as well
depending on how technical your threat gets but ill ask again if i get stuck ill :).
Ill start fidgeting with the routes tonight

EDIT: ok i have read through the first 5 pages of that threat including your post, the majority of the
things that's going on there is splitting the local and international cap via the routing tables.

But i only want to split "all" my internet traffic from my gaming (to be more spesific World of WarCraft) traffic
between 2 accounts.

now this little piece of plastic i call my modem has firmware v1.3 i had problems with v1.58 (most current) so
i had to stick with v1.3 but its route commands suck. and i noticed that changing its default gateway to account1
( my uncapped wich i want it to use for all data) doesnt quite "force" all the traffic to account 1, i still see some
packets moving over account 2.

Now what i want to ask...

if i throw the d-link to my dog and get the mikrotik (buying it from scoopdistribution.co.za),
would you be able to help me split the ip range that wow uses from the rest of my traffic and
and configure the rb750 so that it sends all traffic over my uncapped (account 1) and only the
"wow ip range" over my unshaped (account 2), either via scripts or its http menu interface.

lol i know this is a bit out of the normal kinda request but i want to download and play games at a
decent latency but i cant do both on 1 account and i dont really wanna switch delete and retype accounts
every time i want to browse or play. so im in a pickle...

EDIT 2: i did some fiddling and what i did was changed the gateways so that account 1 is the default gateway
and that account 2 uses account 1's gateway. then added 5 entries for the wow server ranges to be routed
through account 2 and a entry to make sure i force my downloads from a spesific server to go through 1.

now i think that did it all traffic goes through account 1 so far, i tested browsing and the downloading it looked
liked it worked. wow is going through account 2 " the other packets i noticed going through account 2 was
actually also wow downloading "non-critical" updates in the background, and then there was some odd 100b
or something that also slipped through account 2 when nothing was suppose too but i can live with that :)

so i think wat i wanted to do is working. by setting the default gateway to account 1's gateway it only uses
account 1 because its gateway is the router on isp side that i connect to and through which all the data is sent then.
and even account 2 uses account 1's gateway for queries. so only the specific ranges that i placed in the routing
table now gets sent to account 2.

Thanks a lot for the info and threat it really helped my knowledge on routing tables was a bit limited to say the least.
Don't think i would have managed it with out this forum and your help.
I might still buy that RB750 cause it gives me 4 ports where my modem only have 1 and any modem with 4 ports costs R600+
then i can throw my 8-port switch out sins i only have 3 computers and sometimes 1 laptop that connects on the internet.
 
Last edited:
If you only want to route your WoW traffic via a secondary account, then the DSL-2500U should suffice.
Please note that the RB750/RB750G is an Ethernet only router and not an ADSL modem, so you will still need the DSL-2500U.

For WoW, you'll typically add your uncapped ADSL account as the default account and ensure that it is indeed the default gateway/route.
Then you add the secondary (hopefully unshaped) account, leaving the default gateway option unmarked and then you manually add static routes for the WoW server (so you'll need the WoW IP ranges) to use the secondary account.

The advantage of getting the RB750 will be that you can do proper QoS (quality of service), where you limit your non-WoW traffic to like 100kB/s while you're playing WoW.
That way you can leave your downloads on while playing WoW :)
 
Top
Sign up to the MyBroadband newsletter
X