Sysnet Board คู่มือ การใช้งานอุปกรณ์ Network

การ Config อุปกรณ์ เครือข่าย Network Device => อุปกรณ์ Ruijie / Reyee (รุยเจี๋ย / รียี้) => หัวข้อที่ตั้งโดย: yod เมื่อ วันที่ 30 มิถุนายน 2021, 14:30:52

ชื่อ: คู่มือการ Config Reyee Gateway Cloud Authentication
โดย: yod เมื่อ วันที่ 30 มิถุนายน 2021, 14:30:52
คู่มือการ Config Reyee Gateway Cloud Authentication



อุปกรณ์ Reyee Gateway Router (https://sysnetcenter.com/reyee-gateway-router) รองรับการทำ Authenticate แบบ Sync Captive Portal รวมถึง Account ที่สร้างไว้บน Ruijie Cloud ครับ


(https://sysnetcenter.com/board/images/reyee-gateway-authen/reyee-gateway-cloud-authen-000.jpg)


จากตัวอย่าง

Reyee Gateway รุ่น
RG-EG210G-E (https://sysnetcenter.com/reyee-network/reyee-rg-eg210g-e-cloud-router-2-wan-vpn)
Managed Switch รุ่น
Reyee RG-NBS3100-8GT2SFP (https://sysnetcenter.com/reyee-network/reyee-rg-nbs3100-8gt2sfp-l2-cloud-managed-switch-8-port-gigabit) หรือ รุ่นประหยัด Reyee Cloud Managed Smart Switch (https://sysnetcenter.com/reyee-cloud-managed-smart-switch) ได้เช่นกันครับ
Access Point
Reyee RG-RAP2200(E) (https://sysnetcenter.com/reyee-network/reyee-rg-rap2200e-wireless-access-point-ac-wave-2-cloud-control)

VLAN
VLAN 10: IP 10.0.10.1/24
VLAN 20: IP 10.0.20.1/24

SSID
@Guest: VLAN 10 ถ้าเชื่อมต่อจะขึ้นหน้า Captive Portal ให้ Login เพื่อใช้งาน Internet
@Staff: VLAN 20



1. Add อุปกรณ์ขึ้น Ruijie Cloud ให้เรียบร้อย
คู่มือการ Config Access Point ใน Ruijie Cloud เบื้องต้น (https://sysnetcenter.com/board/index.php?topic=4859.0/)


(https://sysnetcenter.com/board/images/reyee-gateway-authen/reyee-gateway-cloud-authen-001.jpg)




2. สร้าง Captive Portal ใน Ruijie Cloud


*** ใน Ruijie Cloud V3.9 มีการเปลี่ยนแปลงเรื่องการสร้าง Account/Voucher จะอยู่ใน Link นี้ครับ
คู่มือการทำ Authentication ใน Ruije Cloud V3.9 (https://sysnetcenter.com/board/index.php?topic=4976.0/) ***



คู่มือการทำ Authentication / WIFI Security ใน Ruije Cloud (https://sysnetcenter.com/board/index.php?topic=4911.0/)



(https://sysnetcenter.com/board/images/reyee-gateway-authen/reyee-gateway-cloud-authen-002.jpg)




ปรับแต่งข้อความ, Backgroud, Logo เลือก Menu ภาษาได้ด้วยนะครับ


(https://sysnetcenter.com/board/images/reyee-gateway-authen/reyee-gateway-cloud-authen-003.jpg)


สร้าง Voucher รหัสสำหรับให้ User เข้าใช้งาน Internet



(https://sysnetcenter.com/board/images/reyee-gateway-authen/reyee-gateway-cloud-authen-013.jpg)




3. Set Reyee Gateway ให้ Sync กับ Captive Portal ใน Ruijie Cloud

Menu Monitoring --> Gateway --> Click [Serial Number]


(https://sysnetcenter.com/board/images/reyee-gateway-authen/reyee-gateway-cloud-authen-004.jpg)


Click [Clocu Portal Auth]


(https://sysnetcenter.com/board/images/reyee-gateway-authen/reyee-gateway-cloud-authen-005.jpg)

Auth: Enable
Portal Escape: Enable
Auth IP Range: 10.0.10.2 - 10.0.10.254 (VLAN 10)
Seamless Online: 1 Day (Online ไม่ต้อง Login ใหม่)
Click เลือก Captive Portal ที่สร้างไว้


(https://sysnetcenter.com/board/images/reyee-gateway-authen/reyee-gateway-cloud-authen-006.jpg)


Click [Save]



4. Login เข้า Web Config อุปกรณ์ Reyee Gateway

Default IP: 192.168.110.1
Password: Password จากที่สร้างใน Wizard


Menu Advanced --> Authen --> Cloud Auth

Authentication: จะถูก Enable อัตโนมัติหลังจาก Sync กับ Ruijie Cloud เรียบร้อยแล้ว


(https://sysnetcenter.com/board/images/reyee-gateway-authen/reyee-gateway-cloud-authen-007.jpg)



5. สร้าง VLAN

Menu Basic --> LAN

จากตัวอย่าง สร้าง VLAN 10 และ VLAN 20 กำหนด DHCP Server


(https://sysnetcenter.com/board/images/reyee-gateway-authen/reyee-gateway-cloud-authen-008.jpg)


6. กำหนด VLAN แต่ละ Port

Menu Basic --> Port VLAN

ขอเทียบกับการ Set VLAN ใน Switch นะครับ


ตัวอย่าง

Set Port 3 เป็น Access Port VLAN 10
เลือก แถว Default VLAN: Not Join
VLAN 10: UNTAG (เป็นการนำ Frame VLAN ID 10 ออกจาก Packet ก่อนส่งออกจาก Port 3)
VLAN 20: Not Join


Set Port 5 เป็น Trunk Port เพื่อต่อเข้ากับ Managed Switch

เลือก แถว Default VLAN: UnTAG เป็น Default VLAN ไม่ต้อง TAG ครับ
VLAN 10: TAG (ใส่ Frame VLAN ID 10 ลง Packet ก่อนส่งออกจาก Port 5)
VLAN 20: TAG (ใส่ Frame VLAN ID 20 ลง Packet ก่อนส่งออกจาก Port 5)


(https://sysnetcenter.com/board/images/reyee-gateway-authen/reyee-gateway-cloud-authen-009.jpg)



7. เข้า Ruijie Cloud

Config VLAN Manage Switch

Menu Monitoring --> Device --> Switch --> Click Serial No.

สร้าง VLAN 10, 20


(https://sysnetcenter.com/board/images/reyee-gateway-authen/reyee-gateway-cloud-authen-010.jpg)



กำหนด Port 8 ที่จะต่อเข้ากับ Reyee Gateway และ Port 1 ที่ต่อเข้ากับ Access Point เป็น Trunk


(https://sysnetcenter.com/board/images/reyee-gateway-authen/reyee-gateway-cloud-authen-011.jpg)



Config SSID VLAN Tagging ใน Access Point

Menu Configuration --> Wireless --> Basic


สร้าง SSID

@Guest, VLAN ID: 10 (ไม่ต้อง Enable Auth)
@Staff, VLAN ID 20


(https://sysnetcenter.com/board/images/reyee-gateway-authen/reyee-gateway-cloud-authen-012.jpg)



ทดสอบ

ใช้ Smartphone เชื่อมต่อ SSID @Guest จะขึ้นหน้า Captive Portal ให้ใส่ Code


(https://sysnetcenter.com/board/images/reyee-gateway-authen/reyee-gateway-cloud-authen-014.jpg)


ดู User ที่ Online ได้ใน Reyee Gateway ครับ


(https://sysnetcenter.com/board/images/reyee-gateway-authen/reyee-gateway-cloud-authen-015.jpg)


เรียบร้อยครับ