ข้ามไปที่เนื้อหาหลัก

การทำ LoadBalance PCC 2 WAN (2 DHCP) to LAN and Failover



/ip firewall mangle
add action=accept chain=prerouting in-interface=ether1
add action=accept chain=prerouting in-interface=ether2
add action=mark-connection chain=prerouting dst-address-type=!local \
    new-connection-mark=wan1_conn passthrough=yes per-connection-classifier=\
    both-addresses-and-ports:3/0 src-address=192.168.2.0/24
add action=mark-connection chain=prerouting dst-address-type=!local \
    new-connection-mark=wan2_conn passthrough=yes per-connection-classifier=\
    both-addresses-and-ports:3/1 src-address=192.168.2.0/24
add action=mark-connection chain=prerouting dst-address-type=!local \
    new-connection-mark=wan2_conn passthrough=yes per-connection-classifier=\
    both-addresses-and-ports:3/1 src-address=192.168.2.0/24
add action=mark-routing chain=prerouting connection-mark=wan1_conn \
    new-routing-mark=to_wan1 passthrough=yes src-address=192.168.2.0/24
add action=mark-routing chain=prerouting connection-mark=wan2_conn \
    new-routing-mark=to_wan2 passthrough=yes src-address=192.168.2.0/24
add action=mark-connection chain=prerouting dst-address-type=!local \

/ip firewall nat
add action=masquerade chain=srcnat dst-address-type=!local out-interface=\
    ether1
add action=masquerade chain=srcnat dst-address-type=!local out-interface=\
    ether2

/ip route
add check-gateway=ping distance=1 gateway=192.168.0.1 routing-mark=to_wan1
add check-gateway=ping distance=2 gateway=192.168.1.1 routing-mark=to_wan2
add check-gateway=ping distance=1 gateway=192.168.0.1
add check-gateway=ping distance=2 gateway=192.168.1.1

ความคิดเห็น

โพสต์ยอดนิยมจากบล็อกนี้

วิธีแก้ Canon MP287 ขึ้น E05

สำหรับวันนี้เรามีวิธีแนะนำเครื่องปริ้นเตอร์ Canon Pixma MP287 ขึ้น E05 อาการนี้เกิดจากตลับหมึกแต่อย่าพึ่งซื้อหัวใหม่นะ แต่เราหาวิธีแก้ได้แล้วครับสำหรับอาการ E05

วิธีเคลียร์ซับหมึก Canon ip2770

สำหรับเครื่องปริ้นเตอร์ รุ่น ip2770 ที่มีอาการไฟส้มกระพริบ 8 ครั้ง และ เขียว 1 ครั้ง นั้นแสดงว่าเครื่องปริ้นซับหมีกเต็ม เรามีวิธีมาแนะนำกัน สำหรับขั้นตอนแรกต้องเข้า Services mode ip2770 ให้ได้ก่อนก่อนครับ จะมีมีวิธีการดังนี้

วิธีเคลียร์ซับหมึก Brother MFC-J430w

วิธีเคลียร์ซับหมึก Brother MFC-J430w หรือ หน้าจอเครืองพิมพ์โชว์ว่า Ink Absorber Full  กดปุ่ม start ปุ่มเขียว (ปุ่มถ่ายเอกสารสี) กดค้างไว้ แล้วเสียบปลั๊ก รอจนเครื่องพิมพ์จอโชว์ว่า MAINTENANCE  เมื่อขึ้น MAINTENANCE ให้ทำการกดลูกศรเลื่อนขึ้น ลง จนตัวเลขเป็น 80 แล้ว กดปุ่ม OK  กดลูกศรขึ้น ลง ทำการเลือนหา PURGE: แล้วทำการกดตัวเลข 2783 แล้วดูว่า ค่าเป็น 0 แล้วหรือยัง  กดปุ่ม STOP/EXIT 1 ครั้ง เพื่อออกจาก maintenance mode ที่มา   refreshcartridges.co.uk