Community discussions

MikroTik App
 
msty19
newbie
Topic Author
Posts: 35
Joined: Thu Oct 27, 2011 12:52 am

dual wan-dual lan conf.

Tue Nov 29, 2011 2:19 am

i need help

i have;
wan1= statics ip 192.168.0.1
wan2= statics ip 192.168.1.1

lan1=statics ip 10.10.10.1
lan2=statics ip 10.0.0.1

i need route wan1-lan1 and wan2-lan2
i dont need load balance or fail-over.
Please help me have can i do it.
Thanks
 
rigan123
just joined
Posts: 13
Joined: Mon Nov 28, 2011 12:50 pm

Re: dual wan-dual lan conf.

Tue Nov 29, 2011 3:03 pm

Use Mark Routing.

IP >Firewall>Mangle and add 2 rules.

chain=prerouting action=mark-routing new-routing-mark=LAN1 Clients
passthrough=no src-address=10.10.10.1

chain=prerouting action=mark-routing new-routing-mark=LAN2 Clients
passthrough=no src-address=10.0.0.1

Now got to IP>Route

Add destination=0.0.0.0/0 gateway=192.168.0.1 check-gateway=ping distance=1 Routing-Mark=LAN1 Clients;
Add destination=0.0.0.0/0 gateway=192.168.1.1 check-gateway=ping distance=1 Routing-Mark=LAN2 Clients

also add default route:

add destination=0.0.0.0/0 gateway=Your preferable gateway.

Cheers !!

Best Regards,
Rigan
MCSA,ITILV3F
 
msty19
newbie
Topic Author
Posts: 35
Joined: Thu Oct 27, 2011 12:52 am

Re: dual wan-dual lan conf.

Tue Nov 29, 2011 5:19 pm

i made your suggestion but dont work correctly screenshot are below what is the problem
You do not have the required permissions to view the files attached to this post.
 
msty19
newbie
Topic Author
Posts: 35
Joined: Thu Oct 27, 2011 12:52 am

Re: dual wan-dual lan conf.

Tue Nov 29, 2011 5:19 pm

i made your suggestion but dont work correctly screenshot are below what is the problem
You do not have the required permissions to view the files attached to this post.
 
Feklar
Forum Guru
Forum Guru
Posts: 1724
Joined: Tue Dec 01, 2009 11:46 pm

Re: dual wan-dual lan conf.

Tue Nov 29, 2011 5:32 pm

Mark-routing rules sometimes need to be narrowed down for them to work properly, include the in-interface and it should start to work.
 
msty19
newbie
Topic Author
Posts: 35
Joined: Thu Oct 27, 2011 12:52 am

Re: dual wan-dual lan conf.

Tue Nov 29, 2011 8:20 pm

i cant understand help me please!!!!!
 
msty19
newbie
Topic Author
Posts: 35
Joined: Thu Oct 27, 2011 12:52 am

Re: dual wan-dual lan conf.

Wed Nov 30, 2011 5:42 pm

Do not have no one to help?

Who is online

Users browsing this forum: GoogleOther [Bot], oskarsk and 35 guests