ปัญหานี้ผมก็เพิ่งเคยเจอบน VCSA 6.5 ไม่สามารถเปลี่ยน IPv4 บนหน้า DCUI ( Direct Console User Interface ) ที่เวลาจะเข้าต้องกด ALT + F2 ถ้าเป็น ESXi 6.5 สามารถเปลี่ยน IPv4 ได้ปกติ
Configuration
- ให้ SSH เพื่อไปแก้ไข Configuration
# /opt/vmware/share/vami/vami_config_net
- จะเข้าสู่ Main Menu ให้เลือกเมนูที่ 6 แล้วแก้ไขเฉพาะ IPv4 ที่เราต้องการ
Main Menu
0) Show Current Configuration (scroll with Shift-PgUp/PgDown)
1) Exit this program
2) Default Gateway
3) Hostname
4) DNS
5) Proxy Server
6) IP Address Allocation for eth0
Enter a menu number [0]: 6
Type Ctrl-C to go back to the Main Menu
Configure an IPv6 address for eth0? y/n [n]: n
Configure an IPv4 address for eth0? y/n [n]: y
Use a DHCPv4 Server instead of a static IPv4 address? y/n [n]: n
IPv4 Address [192.168.0.1]: 10.10.10.10
Netmask [255.255.255.0]: 255.255.255.0
IPv4 Address: 10.10.10.10
Netmask: 255.255.255.0
Is this correct? y/n [y]: y
Reconfiguring eth0...
- หากเสร็จเรียบร้อย Connection จะหลุดไป เราก็ลองมาเข้า IP ที่เราตั้งค่าไว้
Leave a Reply