เครือข่าย IP ใช้ DHCP (Dynamic Host Configuration Protocol) เป็นโปรโตคอลมาตรฐาน ปลอดภัยและน่าเชื่อถือ ช่วยกำหนด IP Address แบบ Dynamic/Transparent/Reusable หากมี DHCP Server ตั้งค่าแล้ว Client ที่เปิด DHCP จะได้ IP และ Parameters อัตโนมัติทุกครั้งที่เริ่มต้น/เข้ารשת ลดเวลาตั้งค่าคอมพิวเตอร์ในเครือข่ายมาก
แต่บางครั้งอินเทอร์เน็ตต่อไม่ได้ ลอง Troubleshooting ทุกอย่าง แล้วเจอ Error 'DHCP is not enabled' หาก DHCP ไม่ได้เปิดใน Windows บทความนี้แนะนำวิธี เปิด/ปิด DHCP สำหรับ Ethernet, Wi-Fi, Local Area Connection ใน Windows 11/10/8/7
เปิด DHCP สำหรับ Ethernet หรือ Wi-Fi
เปิด Control Panel ค้นหา Network and Sharing Center Enter
คลิก Change Adapter Settings ใต้ Network and Sharing Center
Ethernet: คลิกขวา > Properties | Wi-Fi: คลิกขวา > Properties (เหมือนกัน)

ใน Properties หา Internet Protocol Version 4 (TCP/IPv4) ดับเบิลคลิก

Internet Protocol Version 4 Properties เปิด ติ๊ก Radio Buttons:
- Obtain an IP address automatically (บน General Screen)
- Obtain DNS server address automatically (ล่าง General Screen)

Windows 11/10 จะดึง IP จาก DHCP Server อัตโนมัติ ปิด DHCP: ยกเลิกติ๊ก 2 ตัวเลือกนี้
ยืนยัน DHCP เปิด/ปิด: รัน CMD:
ipconfig /all
จะเห็น DHCP Enabled … Yes/No
หายังมีปัญหา เช็ค Firewall Settings ให้แน่ใจว่าไม่ Block Internet Antivirus บางตัว Block Connection ไม่รู้จัก Default ให้ลอง Restore Windows Firewall Default Settings
อ่านเพิ่ม:
- DHCP Client Service gives Access Denied error
- Fix Network & Internet connection problems
