I am using my mikrotik Router with 2 internetconnections and masquerading.
On a normal day i only use the main internet connection with this configuration:
Code: Select all
/interface list member
add comment="Main Internet" interface=ether1 list=WAN
add interface=vlan178_wan_backup list=WAN
/ip firewall nat
add action=masquerade chain=srcnat comment="defconf: masquerade" ipsec-policy=out,none \
out-interface-list=WAN
/ip route
add comment="Main Route (cable)" disabled=no distance=5 gateway=x.201.72.1
Code: Select all
/ip route
add comment="second Internet con" disabled=no distance=1 gateway=192.168.178.1
Both connections work pretty will with a decent speed.
Now i wanted to use the second internet connection for one host (192.168.1.100) only, all others should use the primary connection. So i disbaled the "backup Route" and added this:
Code: Select all
/ip route
add comment="second Internet con Routing Mask" distance=1 gateway=192.168.178.1 routing-mark=backup
/ip firewall mangle
add action=mark-connection chain=prerouting connection-state=new disabled=no dst-address-type=\
!local in-interface=bridge new-connection-mark=con_backup passthrough=yes src-address=\
192.168.1.100
add action=mark-routing chain=prerouting comment="OneHost over backup" connection-mark=con_backup \
disabled=no in-interface=bridge new-routing-mark=backup passthrough=yes
With the static route for the secondary internet connection i get 20Mbit Down, 10 MBit up, surfing is fast and easy.
With the routing mark route for the secondary internet connection the internet feels very slow.
Surfing web pages takes 10 times longer with the routing mark route. My feeling is that it takes a very long time to connect to a server. Often my browser shows up errors like "PR_END_OF_FILE_ERROR".When connection is established, the speed is ok (like with the static route).
What am i doing wrong here?
Br