Community discussions

MikroTik App
 
salmanbd
just joined
Topic Author
Posts: 22
Joined: Tue Feb 08, 2011 9:53 pm

wan

Wed Feb 09, 2011 9:41 pm

hi.i have a qustion about my router config.
My question is, i have 3Adsl line from same isp.then i want to share these 4 adsl lines to my all cliants through my mikrotik Rb750g router at a same time without loadbalance configure...i mean ip 192.168.10.2-192.168.10.100=will use adsl1...ip 192.168.10.101-192.168.10.200 will use adsl2..ip 192.168.10.201-192.168.10.254 will use adsl3..so how can i configure that?
Plz anybody answer my question...kindly..i need help ..plz
 
inibir
Member Candidate
Member Candidate
Posts: 116
Joined: Thu Nov 25, 2010 2:25 pm
Location: lebanon
Contact:

Re: wan

Tue Feb 22, 2011 3:38 am

/ip firewall nat add chain=srcnat src-address=192.168.10.0/24 action masquerade

/ip firewall mangle add chain=prerouting src-address=192.168.10.2-192.168.10.100 action=mark-routing new-routing--mark=ISP1

/ip firewall mangle add chain=prerouting src-address=192.168.10.101-192.168.10.200 action=mark-routing new-routing--mark=ISP2

/ip firewall mangle add chain=prerouting src-address=192.168.10.201-192.168.10.254 action=mark-routing new-routing--mark=ISP3

/ip route add gateway=x.x.x.x routingmark=ISP1

/ip route add gateway=x.x.x.y routingmark=ISP2

/ip route add gateway=x.x.x.z routingmark=ISP3