Page 1 of 1

wan

Posted: Wed Feb 09, 2011 9:41 pm
by salmanbd
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

Re: wan

Posted: Tue Feb 22, 2011 3:38 am
by inibir
/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