PCC vs Nth
Posted: Wed Jan 30, 2013 8:52 pm
Hello everybody , I know I am asking you too much , but I tried a lot of solution to make my networks works and there are always problems that comes usually up .
I Have Mikrotik RB1200 I am using it as a hotspot with dual wan connection " DHCP Connection "
I tried PCC and I couldn,t make it work to load balance or combine thow two line together .
when I tired Nth it worked beautifully as load balance with mark routing as odd and even like it is mentioned here
http://wiki.mikrotik.com/wiki/NTH_load_ ... masquerade
but in this method they have this code
/ ip route
add dst-address=0.0.0.0/0 gateway=10.111.0.1 scope=255 target-scope=10 routing-mark=odd
add dst-address=0.0.0.0/0 gateway=10.112.0.1 scope=255 target-scope=10 routing-mark=even
add dst-address=0.0.0.0/0 gateway=10.111.0.1 scope=255 target-scope=10 distance=1
add dst-address=0.0.0.0/0 gateway=10.112.0.1 scope=255 target-scope=10 distance=1
when I try to use the name of the interface instead of IP address I can get the login page and when it redirects me the requied page it times out . when i change them back to IP address it works right away .
I need to make this two rule dynamic cause those IPs are assigned dynamically by ISP and we don,t know when ISP will change those IP thats why I am trying with interface name instead of IP .
is there any solution to that problem ???????
I Have Mikrotik RB1200 I am using it as a hotspot with dual wan connection " DHCP Connection "
I tried PCC and I couldn,t make it work to load balance or combine thow two line together .
when I tired Nth it worked beautifully as load balance with mark routing as odd and even like it is mentioned here
http://wiki.mikrotik.com/wiki/NTH_load_ ... masquerade
but in this method they have this code
/ ip route
add dst-address=0.0.0.0/0 gateway=10.111.0.1 scope=255 target-scope=10 routing-mark=odd
add dst-address=0.0.0.0/0 gateway=10.112.0.1 scope=255 target-scope=10 routing-mark=even
add dst-address=0.0.0.0/0 gateway=10.111.0.1 scope=255 target-scope=10 distance=1
add dst-address=0.0.0.0/0 gateway=10.112.0.1 scope=255 target-scope=10 distance=1
when I try to use the name of the interface instead of IP address I can get the login page and when it redirects me the requied page it times out . when i change them back to IP address it works right away .
I need to make this two rule dynamic cause those IPs are assigned dynamically by ISP and we don,t know when ISP will change those IP thats why I am trying with interface name instead of IP .
is there any solution to that problem ???????