Ciao a tutti,
dovrei bilanciare tramite PCC 2 ADSL ed, inoltre, fare in modo che uno o più indirizzi IP escano sempre tramite un'ADSL.
Ho applicato le seguenti regole:
add action=mark-connection chain=input in-interface=eth5-HLan new-connection-mark=ether5_conn passthrough=no
add action=mark-connection chain=input in-interface=eth4-ADSL new-connection-mark=ether4_conn passthrough=no
add action=mark-routing chain=output connection-mark=ether4_conn new-routing-mark=to_ether4 passthrough=yes
add action=mark-routing chain=output connection-mark=ether5_conn new-routing-mark=to_ether5 passthrough=yes
add action=accept chain=prerouting dst-address=192.168.0.0/24 in-interface=eth5-HLan
add action=accept chain=prerouting dst-address=192.168.1.0/24 in-interface=eth4-ADSL
add action=mark-connection chain=prerouting dst-address-type=!local in-interface=eth2-LAN new-connection-mark=ether4_conn passthrough=yes per-connection-classifier=both-addresses:2/1
add action=mark-connection chain=prerouting dst-address-type=!local in-interface=eth2-LAN new-connection-mark=ether5_conn passthrough=yes per-connection-classifier=both-addresses-and-ports:2/0
add action=mark-routing chain=prerouting connection-mark=ether5_conn in-interface=eth2-LAN new-routing-mark=to_ether5 passthrough=no
add action=mark-routing chain=prerouting connection-mark=ether4_conn in-interface=eth2-LAN new-routing-mark=to_ether4 passthrough=no
/ip firewall nat
add action=masquerade chain=srcnat comment="defconf: masquerade" disabled=yes \
ipsec-policy=out,none out-interface-list=WAN
add action=masquerade chain=srcnat out-interface=eth5-HLan
add action=masquerade chain=srcnat out-interface=eth4-ADSL
/ip route
add check-gateway=ping distance=1 gateway=192.168.1.1 routing-mark=to_ether4
add check-gateway=ping distance=1 gateway=192.168.0.1 routing-mark=to_ether5
add check-gateway=ping distance=1 gateway=eth5-HLan routing-mark=custom-route
add check-gateway=ping distance=1 gateway=192.168.1.1
add check-gateway=ping distance=2 gateway=192.168.0.1
Come faccio a fare in modo che un gruppo di IP escano sempre dalla eth5-HLan bypassando il PCC?