At the command line with root privileges :
To view your current IP and Netmask type:
esxcfg-vswif –l
To change your IP and Subnet Mask type:
esxcfg-vswif –i 172.30.38.20 –n 255.255.255.0 vswf0
Also you will need to change you defaul gateway and DNS :
use:
nano –w /etc/sysconfig/network
DNS nano –w /etc/resolv.conf
once you are finished restart network using:
services network restart
No comments:
Post a Comment