คือตอนนี้ผมมี WAN 2 เส้น ที่สามารถออกเน็ตได้ อยากทำ Load balance เพื่อรวมความเร็วอะครับ
Docsis 50/5 ( Static IP )
Airnet 15/5 ( Static IP )
รวมเน็ตเป็น 65/10Mbps
ใช้ Mikrotik RB2011UAS-2HND-IN อยู่ครับ ผมอยากได้แบบนี้อะครับ
LAN 1 : Docsis
LAN 2 : Admin Config
LAN 3 : Airnet
LAN 4 : AP Hotspot
LAN 5 : Hotspot
LAN 6 : Hotspot
LAN 7 : Hotspot
LAN 8 : Hotspot
LAN 9 : Hotspot
LAN 10 : Hotspot
WLan : Hotspot
ตอนนี้ผมทำ Hotspot อะไรไว้หมดแล้ว เหลือแค่ไม่รุว่าจะรวมเน็ตสองเส้นยังไง
ทำได้ไหมครับ ยากไหมอะ
ถ้าเป็น dhcp เข้ามา ต้องโมฯใน script ที่อยู่ใน webboard ครับ เปลี่ยน interface จาก pppoe-out เป็น ether1 กับ 3 แทน
ตามนี้ถูกปะครับ
/ ip firewall mangle
add chain=input in-interface=ether1 action=mark-connection new-connection-mark=wan1_conn
add chain=input in-interface=ether3 action=mark-connection new-connection-mark=wan2_conn
add chain=output connection-mark=wan1_conn action=mark-routing new-routing-mark=to_wan1
add chain=output connection-mark=wan2_conn action=mark-routing new-routing-mark=to_wan2
add chain=prerouting dst-address-type=!local in-interface=bridge1 per-connection-classifier=both-addresses-and-ports:2/0 \
action=mark-connection new-connection-mark=wan1_conn passthrough=yes
add chain=prerouting dst-address-type=!local in-interface=bridge1 per-connection-classifier=both-addresses-and-ports:2/1 \
action=mark-connection new-connection-mark=wan2_conn passthrough=yes
add chain=prerouting connection-mark=wan1_conn in-interface=bridge1 action=mark-routing new-routing-mark=to_wan1
add chain=prerouting connection-mark=wan2_conn in-interface=bridge1 action=mark-routing new-routing-mark=to_wan2
/ ip route
add dst-address=0.0.0.0/0 gateway=ether1 routing-mark=to_wan1 check-gateway=ping
add dst-address=0.0.0.0/0 gateway=ether3 routing-mark=to_wan2 check-gateway=ping
add dst-address=0.0.0.0/0 gateway=ether1 distance=1 check-gateway=ping
add dst-address=0.0.0.0/0 gateway=ether3 distance=2 check-gateway=ping
/ ip firewall nat
add chain=srcnat out-interface=ether1 action=masquerade
add chain=srcnat out-interface=ether3 action=masquerade
ใช่แล้วครับ
อย่าลืมเปิด dhcp client ที่ port1 และ port3 นะครับ และเอา port 3 ออกจากสมาชิกของ bridge1 ครับ