• Breaking News

    Tuesday 2 February 2016

    42. Mikrotik Load Balancing 2 Connection with the same Gateway (NTH Method)


    /ip address
    add address=10.1.101.18/24 interface=ether1
    add address=10.1.101.10/24 interface=ether2
    add address=192.168.1.1/24 interface=Local
    add address=192.168.2.1/24 interface=Local

    /ip firewall nat
    add action=masquerade chain=srcnat out-interface=ether1
    add action=masquerade chain=srcnat out-interface=ether2

    /ip firewall mangle
    add action=mark-routing chain=prerouting src-address=192.168.1.0/24 new-routing-mark=first
    add action=mark-routing chain=prerouting src-address=192.168.2.0/24 new-routing-mark=other


    /ip route
    add gateway=10.1.101.1
    add gateway=10.1.101.1%ether1 routing-mark=first
    add gateway=10.1.101.1%ether2 routing-mark=other

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel