본문 바로가기

정보공유/정보공유

esxi 관리용 ip ssh/cli로 변경하기

소통을 디자인하는 아이티 카이로스입니다^^

esxi 관리용 ip ssh/cli로 변경하는 방법입니다.

1) esxcli network ip interface list 명령어로 인터페이스 id 확인 (vmk0)

2) esxcli network ip interface ipv4 set -i vmk0 -I 192.168.4.202 -N 255.255.255.0 -t static

[root@localhost:/etc] esxcli network ip interface list
vmk0
Name: vmk0MAC Address: 6
Enabled: true
Portset: vSwitch0
Portgroup: Management Network
Netstack Instance: defaultTcpipStack
VDS Name: N/A
VDS UUID: N/A
VDS Port: N/A
VDS Connection: -1
Opaque Network ID: N/A
Opaque Network Type: N/A
External ID: N/A
MTU: 1500
TSO MSS: 65535
RXDispQueue Size: 1
Port ID: 33554442
[root@localhost:/etc] esxcli network ip interface ipv4 set -i vmk0 -I 192.168.5.202 -N 255.255.255.0 -t static

design the communication, itkairos.

 

 

https://docs.vmware.com/en/VMware-vSphere/6.7/com.vmware.vsphere.networking.doc/GUID-8BCBB25E-9A84-4322-94BC-C556DE9C2956.html

 

Configure the VMkernel Adapter Gateway by Using esxcli Commands

You can override the default gateway of a VMkernel adapter to provide a different gateway for vSphere vMotion by using esxcli commands.

docs.vmware.com