일반적인 기능을 제외한 특수기능 (라우딩, 로드발랜싱, 다중WAN)등은
정말 정말 어렵네요..
현재
WAN1~3번까지로 설정 WAN2, WAN3만 로드 발랜싱을 하였습니다.
하기만 하면 인터넷이 안되더군요..
해결해야 할 부분이..
매뉴얼을 보면 wan의 IP대역과 IP route에서 설정시 wan의 게이트웨이 주소를 적는데
자동으로 인식하게 할순 없나요??
지금 연습으로 인터넷선 하나에 공유기 꼽고 거기에 다시 공유기를 3개 꼽아서
각각 다른대역으로 wan과 연결하였습니다.
/ip pool
add name=dhcp_pool1 ranges=192.168.210.100-192.168.210.200
/ip dhcp-server
add address-pool=dhcp_pool1 disabled=no interface=bridge-LAN name=dhcp1
/interface bridge port
add bridge=bridge-LAN interface=ether1
add bridge=bridge-LAN interface=ether2
add bridge=bridge-LAN interface=ether3
add bridge=bridge-LAN interface=ether4
add bridge=bridge-LAN interface=ether5
add bridge=bridge-LAN interface=ether6
/ip address
add address=192.168.210.1/24 interface=bridge-LAN
/ip dhcp-client
add default-route-distance=0 disabled=no interface=WAN1
add default-route-distance=0 disabled=no interface=WAN2
add default-route-distance=0 disabled=no interface=WAN3
/ip dhcp-server network
add address=192.168.210.0/24 dns-server=168.126.63.1 gateway=192.168.210.1
/ip firewall filter
add chain=input comment="default configuration" protocol=icmp
add chain=input comment=" default configuration" connection-state=\
established
add chain=input comment=" default configuration" connection-state=related
add action=drop chain=input comment=" default configuration" in-interface=\
WAN1
add action=drop chain=input comment=" default configuration" in-interface=\
WAN2
add action=drop chain=input comment=" default configuration" in-interface=\
WAN3
add chain=forward comment=" default configuration" connection-state=\
established
add chain=forward comment=" default configuration" connection-state=related
/ip firewall mangle
add action=mark-connection chain=prerouting in-interface=bridge-LAN \
new-connection-mark=odd src-address-list=odd
add action=mark-routing chain=prerouting in-interface=bridge-LAN \
new-routing-mark=odd passthrough=no src-address-list=odd
add action=mark-connection chain=prerouting in-interface=bridge-LAN \
new-connection-mark=even src-address-list=even
add action=mark-connection chain=prerouting connection-state=new \
in-interface=bridge-LAN new-connection-mark=odd nth=2,1
add action=add-src-to-address-list address-list=odd address-list-timeout=1d \
chain=prerouting connection-mark=odd in-interface=bridge-LAN
add action=mark-routing chain=prerouting connection-mark=odd in-interface=\
bridge-LAN new-routing-mark=odd passthrough=no
add action=mark-connection chain=prerouting connection-state=new \
in-interface=bridge-LAN new-connection-mark=even nth=2,2
add action=add-src-to-address-list address-list=even address-list-timeout=1d \
chain=prerouting connection-mark=even in-interface=bridge-LAN
add action=mark-routing chain=prerouting connection-mark=even in-interface=\
bridge-LAN new-routing-mark=even passthrough=no
/ip firewall nat
add action=masquerade chain=srcnat out-interface=WAN1
add action=masquerade chain=srcnat out-interface=WAN3
add action=masquerade chain=srcnat out-interface=WAN2
/ip route
add distance=1 gateway=192.168.254.1 routing-mark=odd scope=255
add distance=1 gateway=192.168.140.1 routing-mark=even scope=255
add distance=1 gateway=192.168.140.1 scope=255
/routing bfd interface
add interface=WAN2
add interface=WAN3
어디가 문제인건지....
어느부분을 참조해야 할지 어렵네요.
힌트좀 주세요.
À¯Åõºêµ¿¿µ»ó ³ª¿Í¿ä ±×°Å ¾î´ÀÁ¤µµ º¸°í µû¶óÇϽǼöµµ ^^
wan2, ¿Í wan3´Â À¯µ¿ÀÔ´Ï´Ù.
À¯Æ©ºê¿¡¼´Â °íÁ¤À¸·Î ¶ó¿ìÆ®¿¡ °ÔÀÌÆ®¿þÀÌ °ªÀ» ÀÔ·ÂÇϴµ¥ Àú´Â À¯µ¿À¸·Î
wan Æ÷Æ®¿¡ ²ÅÀ»¶§¸¶´Ù °¨ÁöÇؼ Àâµµ·Ï ÇÏ°í ½Í¾î¼¿ä...
firewall mangle Å×À̺íÀÇ ±ÔÄ¢ ¼ø¼°¡ Á¶±Ý ÀÌ»óÇÑ °Í °°½À´Ï´Ù. ¾Æ¸¶ Âü°íÇϼ̴ø ¿¹Á¦ ¹®¼ÇÏ°í ºñ±³Çصµ ¾à°£ ´Ù¸¥ °Í °°±âµµ Çѵ¥ ¿ì¼± ±× ¼ø¼ºÎÅÍ ´Ù½Ã Á¤¸®Çغ¸½Ã´Â °Ô ÁÁÀ» µí ÇÕ´Ï´Ù.