Need help on 2 gateway

hii…
I have 2 router as gateway 192.168.2.1 and 192.168.3.1, and i want to setup new router that will act as new gateway use microtik routerOS.

New router PC with 3 interface
192.168.2.2 as wlan1 gateway 192.168.2.1
192.168.3.2 as wlan2 gateway 192.168.3.1
192.168.10.1 as new lan gateway.

I’d read and just follow wiki’s article about routing > ‘load balancing’, and now i can ping a public ip address from router itself (means routing works fine in router PC, right?)

Then when i test with another pc connected to pc router with ip 192.168.10.x (x = 2-254), i can ping public ip but this test pc can’t resolve host name. ex :
ping 202.43.161.117 <<< work fine
ping http://www.ragnarok.co.id <<<< error
Test pc was a windowsXP client.

Please help me, searching entire forums still didn’t solve this problems.

Thanks..

try to setup dns server …

dns is the service that translate http://www.google.com (for example) to
some IP number …

so you must ask your ISP (internet provider) for that information ..

i hope this help..

Thanks to trtmrt, setup dns make everything work fine now.

Now, i want to setup router so when client browse to some ip it will use gateway A, otherwise it will use gateway B, for example, when client will use gateway A only when connect to 202.0.0.0/8 and 203.0.0.0/8.

Thanks..

:slight_smile: i use winbox … lame … but fast :slight_smile:

winbox → IP → Routes

first we want to add defualt route where all the traffic go …


  • Destination → 0.0.0.0
    Gateway → ip of gateway B

next we want to add route for class 202.0.0.0/8


  • Destination → 202.0.0.0/8
    Gateway: ip of gw A

and for the 203.0.0.0/8 same …


  • Destination → 203.0.0.0/8
    Gateway: ip of gw A


    :slight_smile:… i hope this help .. and sry for my bad english :slight_smile:

thanks for very fast response trtmt :smiley:

thanks…

is it workig …kewl … it was from the head :slight_smile:
error is very possible :slight_smile: