MikroTik

1. logo 1 dhcp 1 lanDHCP to LAN

1. เลือก 1 port รับ DHCP ที่สามารถออกอินเทอร์เน็ตได้

2. get DHCP Client

2. สร้าง DHCP ให้กับเครื่องลูกข่าย

3. DHCP Server

3. NAT ให้ DHCP ที่กำหนดออกอินเทอร์เน็ตได้

4. NAT


การประกาศใช้คลื่นไร้สาย Wireless Access Point

5. AP

ประเภทสำหรับการใช้คลื่นไร้สาย

Modes

Depending on the router model, different Quickset modes might be available from the Quickset dropdown menu:

  • CAP: Controlled Access Point, an AP device, that will be managed by a centralised CAPsMAN server. Only use if you have already set up a CAPsMAN server.
  • = CAP: โหมดที่อุปกรณ์ AP ที่จะจัดการโดยเซิร์ฟเวอร์ CAPsMAN ส่วนกลาง โดยใช้ผ่านการตั้งค่าเซิร์ฟเวอร์ CAPsMAN
  • CPE: Client device, which will connect to an Access Point (AP) device. Provides option to scan for AP devices in your area.
  • = CPE: โหมดที่ระบบการเชื่อมต่อ ระหว่าง Access Point เครื่องหนึ่ง ไปยัง Access Point ส่วนกลาง โดยการสแกนเข้าหากันอัตโนมัติ
  • HomeAP: The default Access Point config page for most home users. Provides less options and simplified terminology.
  • = HomeAP โหมดที่ใช้สำหรับบ้านเรือนที่อยู่อาศัย ประกาศการใช้อย่างง่ายแต่ละคำศัพท์เน้นการใช้งานง่าย
  • HomeAP dual: Dual band devices (2GHz/5GHz). The default Access Point config page for most home users. Provides less options and simplified terminology.
  • = HomeAP dual โหมดที่เหมือนกับ HomeAP เพียงแต่บริหารจัดการทั้งสองคลื่นคือ 2.4 กับ 5 GHz
  • Home Mesh: Made for making bigger WiFi networks. Enables the CAPsMAN server in the router, and places the local WiFi interfaces under CAPsMAN control. Just boot other MikroTik WiFi APs with the reset button pressed, and they will join this HomeMesh network (see their Quick guide for details)
  • = Home Mesh โหมดที่ Advance กว่า HomeAP dual เพราะสามารถใช้ร่วมกับ CAP ได้
  • PTP Bridge AP: When you need to transparently interconnect two remote locations together in the same network, set one device to this mode, and the other device to the next (PTP Bridge CPE) mode.
  • = PTP Bridgh AP โหมดที่เชื่อมต่อ Access Point 2 ตัวขึ้นไปเข้าด้วยกัน
  • PTP Bridge CPE: When you need to transparently interconnect two remote locations together in the same network, set one device to this mode, and the other device to the previous (PTP Bridge AP) mode.
  • = PTP Bridge CPE โหมดที่เหมือนกับ PTP Bridgh AP แต่สามารถสแกนระบบเข้าส่วนกลางได้
  • WISP AP: Similar to the HomeAP mode, but provides more advanced options and uses industry standard terminology, like SSID and WPA.
  • = WISP AP คล้ายกับโหมด HomeAP แต่มีตัวเลือกขั้นสูงและใช้คำศัพท์มาตรฐานอุตสาหกรรม เช่น SSID และ WPA

การกำหนดค่าความเร็วของการให้บริการอินเทอร์เน็ต Bandwidth Management

6. Queue


ฝั่ง Site สร้าง L2TP client connection เพื่อเชื่อม vpn ไปยัง HQ

1. Winbox > เมนู PPP > แท็ป Interface ทำการเพิ่ม ” + ”
กำหนด ชื่อ ddns ฝั่ง HQ, user+pass และ Secret ของฝั่ง HQ ให้ถูกต้อง

2. หลังจากกดเชื่อมต่อ ถ้าถูกต้อง จะขึ้นสถานะ connected พร้อมได้รับ Local Address, Remote Address

3. ฝั่ง Site สร้าง Route เพิ่ม เพื่อกำหนดว่า client ที่จะเข้าไปยัง IP ฝั่ง HQ ให้ออกไปทางไหน

– Winbox > เมนู IP > Route กดเพิ่ม ” + ”
Dst. Address : ใส่ Network IP ของฝั่ง HQ
Gateway : ใส่ IP ที่ได้จากการเชื่อมต่อ VPN ข้อ3 (Remote Address)
* ความหมายคือ ถ้าในฝั่ง site ถ้า client ใดๆก็ตามที่เรียก IP ฝั่ง HQ ก็จะชี้ให้ออกไปผ่าน IP ดังกล่าวอัตโนมัติ

4. ฝั่ง Site ทดสอบเชื่อมต่อไปยัง HQ

– ผ่าน Terminal บน Mikrotik (Site) ไปหาฝั่ง HQ