请高手指教
这样做负载均衡有问题吗?请高手指教/ip address
add address=10.255.6.1/28 broadcast=\
10.255.6.15 comment="" disabled=no \
interface=LAN network=10.255.6.0
add address=122.200.79.2/30 broadcast=\
122.200.79.3 comment="" disabled=no \
interface=hjsz network=122.200.79.0
add address=221.122.28.2/29 broadcast=\
221.122.28.0 comment="" disabled=no \
interface=xyht network=221.122.28.3
/ip route
add comment="" disabled=yes distance=1 \
dst-address=0.0.0.0/0 gateway=\
122.200.79.1 routing-mark=1 scope=30 \
target-scope=10
add comment="" disabled=yes distance=1 \
dst-address=0.0.0.0/0 gateway=221.122.28.1 \
routing-mark=2 scope=30 target-scope=10
/interface ethernet
set 0 arp=enabled auto-negotiation=yes \
cable-settings=default comment="" \
disable-running-check=yes disabled=no \
full-duplex=yes mac-address=\
90:E6:BA:1A:9A:56 mtu=1500 name=LAN speed=\
100Mbps
set 1 arp=enabled auto-negotiation=yes \
cable-settings=default comment="" \
disable-running-check=yes disabled=no \
full-duplex=yes mac-address=\
00:02:B3:B3:8E:75 mtu=1500 name=wan2 \
speed=100Mbps
set 2 arp=enabled auto-negotiation=yes \
cable-settings=default comment=\
"\D0\C5\D3\AF\BA\E3\CC\A9" \
disable-running-check=yes disabled=no \
full-duplex=yes mac-address=\
1C:AF:F7:64:51:86 mtu=1500 name=wan1 \
speed=100Mbps
/ip firewall nat
add action=src-nat chain=srcnat comment=1 \
connection-mark=1 disabled=yes \
to-addresses=122.200.79.2
add action=src-nat chain=srcnat comment=2 \
connection-mark=2 disabled=yes \
to-addresses=221.122.28.2
/ip firewall mangle
add action=mark-connection chain=prerouting \
comment=1 connection-state=new disabled=\
yes in-interface=LAN new-connection-mark=1 \
nth=1,0 passthrough=yes
add action=mark-routing chain=prerouting \
comment="" connection-mark=1 disabled=yes \
in-interface=LAN new-routing-mark=1 \
passthrough=yes
add action=mark-connection chain=prerouting \
comment=2 connection-state=new disabled=\
yes in-interface=LAN new-connection-mark=2 \
nth=1,1 passthrough=yes
add action=mark-routing chain=prerouting \
comment="" connection-mark=2 disabled=yes \
in-interface=LAN new-routing-mark=2 \
passthrough=yes
add action=change-mss chain=forward comment="" \
disabled=yes new-mss=1480 protocol=tcp \
tcp-flags=syn
add action=accept chain=prerouting comment="" \
disabled=yes
回复 freeskyre 的帖子
我两条带宽 一条60M 一条30M 这样设置会有问题吗
页:
[1]