虚拟机改IP,设成与其他虚拟机在一个网段
Log in as root user;Open /etc/sysconfig/network-scripts/ifcfg-eth0 file;Replace BOOTPROTO=dhcp with BOOTPROTO=noneAdd the following lines:IPADDR=<IP address of the appliance>PREFIX=<CIDR pref
·
Log in as root user;
Open /etc/sysconfig/network-scripts/ifcfg-eth0 file;
Replace BOOTPROTO=dhcp with BOOTPROTO=none
Add the following lines:
IPADDR=<IP address of the appliance>
PREFIX=<CIDR prefix>
GATEWAY=<gateway IP address>
DNS1=<DNS server IP address>
更多推荐
已为社区贡献9条内容
所有评论(0)