Page 1 of 1

how do i keep 2 internet source in the same base station

Posted: Thu Jan 21, 2010 8:24 pm
by daitea
i have two source of internet at the same base station and are connected to the same rb.
i want to pass them to different client radios.
how do i do that.

ie client A group has ip 10.1.45.0/24 with internet gateway 192.168.1.1
client B group has ip 10.1.46.0/24 with internet gateway 10.0.97.2

Pls how do i get the sources to their respective client ip by route?

Re: how do i keep 2 internet source in the same base station

Posted: Thu Jan 21, 2010 8:29 pm
by netrat

Re: how do i keep 2 internet source in the same base station

Posted: Thu Jan 21, 2010 8:59 pm
by daitea
this policy is fine but what i am looking for is for 2 different internet source going to two different client who connect to the same base station

Re: how do i keep 2 internet source in the same base station

Posted: Thu Jan 21, 2010 9:10 pm
by netrat
First you need to make an effort to figure things out on your own. I guess you are looking for someone to paste a configuration for you....


This should work, but I haven't tested it. Also make sure you have the proper NAT rules in place.
/ip route
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.1.1 \
    routing-mark=groupa scope=30 target-scope=10
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=10.0.97.2 \
    routing-mark=groupb scope=30 target-scope=10
/ip route rule
add action=lookup comment="" disabled=no src-address=\
    10.1.45.0/24 table=groupa
add action=lookup comment="" disabled=no src-address=\
    10.1.46.0/24 table=groupb