บทนำ
IP and Bandwidth บน Sangfor Cloud Platform (SCP) ประกอบด้วยฟีเจอร์สำคัญ 4 ส่วน ได้แก่ Elastic IP Pool, Virtual IP, Shared Bandwidth และ IP Resource Statistics ซึ่งช่วยให้ผู้ดูแลระบบสามารถจัดการ public IP resource, จัดสรร bandwidth และตรวจสอบสถานะ IP ได้อย่างยืดหยุ่น
ข้อกำหนดเบื้องต้น
- สำหรับ Elastic IP Pool: หากใช้ operator line ต้องวางแผน line type ล่วงหน้า
- ต้องสร้าง elastic IP pool ก่อนที่ tenant จะสามารถใช้ IP pool ได้
ขั้นตอนการตั้งค่า
1. Elastic IP Pool
Elastic IP เป็น public IP resource อิสระที่สามารถ bind กับ device ต่างๆ เช่น virtual machine, router, ADC (Application Delivery Controller) และ SSL VPN ใน VPC ได้ สามารถ dynamically unbind เพื่อจัดการ public IP ได้อย่างยืดหยุ่น
- เข้าสู่ระบบ SCP ไปที่ Resources > Networking > Shared Service Network > Shared Services แล้วคลิก New (SCP 6.10.0 รองรับ IPv6 elastic IP pool)
- กรอกข้อมูล:
- Name และ Description
- Tenant - เลือก tenant ที่จะใช้
- Line Type - เลือกประเภทสาย
- Connected To - เลือก All หรือ Specified
- Bandwidth - กำหนด bandwidth ตาม ISP (Mbps)
- IP Range - เพิ่ม IP range พร้อม netmask และ default gateway
- หลังสร้าง elastic IP pool แล้ว platform administrator สามารถแก้ไขและลบได้
2. Virtual IP
SCP รองรับการเชื่อมโยง virtual IP (VIP) กับ virtual machine หลายเครื่อง แล้วทำ elastic IP association
- ไปที่ Resources > Networking > IP and Bandwidth เลือก Virtual IP
- คลิก New เพื่อสร้าง virtual IP โดยเลือก Tenant, Resource Pool, VPC, Subnet และเลือก virtual IP แบบ Random หรือ Specified แล้วคลิก OK
- คลิก Associate VM เพื่อเชื่อมโยงหรือยกเลิกการเชื่อมโยง virtual IP กับ VM
- คลิก More เพื่อเชื่อมโยง EIP หรือลบ virtual IP
ข้อจำกัด:
- Virtual IP ใช้ IP ของ subnet ของ tenant หากไม่มี IP ว่างใน network segment การสร้างจะล้มเหลว
- Virtual IP ที่เชื่อมโยงกับ VM แล้วไม่สามารถลบได้
- ไม่รองรับการตั้งค่า binding/unbinding สำหรับ application-type virtual IP ในรายการ virtual IP
3. Shared Bandwidth
Shared bandwidth ช่วยให้ elastic IP หลายตัวใช้ bandwidth ร่วมกัน โดย VM, router และ NFV instance ที่ bind กับ elastic IP ภายใต้ tenant เดียวกันจะแชร์ bandwidth resource เดียวกัน ช่วยเพิ่มอัตราการใช้ bandwidth
- เข้าสู่ระบบ SCP ไปที่ Network > IP and Bandwidth > Shared Bandwidth (SCP 6.10.0 รองรับ IPv6)
- เลือก shared bandwidth แล้วคลิก Edit เพื่อตั้งค่า name, line และ bandwidth (5 Mbps, 20 Mbps, 100 Mbps, 500 Mbps หรือกำหนดเอง)
- คลิก Delete เพื่อลบ shared bandwidth
ข้อจำกัด:
- Administrator สามารถตั้งค่าและลบ shared bandwidth ได้เท่านั้น แต่ tenant สามารถสร้าง shared bandwidth ที่ Tenant portal และ bind กับ elastic IP ได้
- หาก elastic IP ที่เชื่อมโยงกับ shared bandwidth ถูก bind กับ VM หรือ NFV device จะไม่สามารถลบ shared bandwidth ได้โดยตรง ต้อง unbind elastic IP จาก device ก่อน
4. IP Resource Statistics
ใช้สำหรับดูสถิติ IP resource รวมถึง physical machine, VM, NFV, router และ IP conflict
- เข้าสู่ระบบ SCP ไปที่ Networking > IP and Bandwidth > IP Resource Statistics
- เลือก resource pool เพื่อดูข้อมูล physical machine, VM, NFV, router IP address และ IP address status
- คลิก Settings แล้วคลิก Check Now เพื่อตรวจสอบการจัดสรรและการใช้งาน IP address ในช่วงที่กำหนด
ข้อจำกัด: สามารถตรวจสอบได้สูงสุด 255 IP address ต่อครั้ง
หมายเหตุ
- รองรับ binding หลาย elastic IP pool สำหรับ tenant
- รองรับการระบุ exit ที่แตกต่างกันสำหรับ elastic IP pool ของแต่ละ line
- Line type สามารถ customize ได้ แต่ built-in line type ของระบบไม่สามารถแก้ไขได้
- Elastic IP quota รองรับการตั้งค่า quota สำหรับ tenant ตาม line type
- Elastic IP pool ที่ได้จัดสรร quota แล้วไม่สามารถแก้ไข line type หรือลบ elastic IP ได้
- สำหรับ SCP ก่อน 6.7.0: elastic IP pool ต้องเชื่อมโยงกับ resource pool
- สำหรับ SCP 6.7.0 ขึ้นไป: elastic IP pool ต้องเชื่อมโยงกับ egress
ข้อคิดเห็น
0 ข้อคิดเห็น
โปรด ลงชื่อเข้าใช้ เพื่อแสดงข้อคิดเห็น