Tuesday, November 29, 2011

再Parallel Desktop中配置静态IP

host: (Mac OS)

host-only: 网络名vnic1,可以使用ifconfig查看 10.37.129.2

bridge: 网络名vnic0,可以使用ifconfig查看 10.211.55.2

guest: (CentOS)

eth0

shell下修改:vi /etc/sysconfig/network-scripts/ifcfg-eth0
修改方法很简单
比如
# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
DEVICE=eth0
BOOTPROTO=none
BROADCAST=192.168.1.255
HWADDR=00:0C:29:31:54:29
IPADDR=192.168.1.105
NETMASK=255.255.255.0
NETWORK=192.168.1.0
ONBOOT=yes
GATEWAY=192.168.1.1
TYPE=Ethernet

----------------------------------

默认情况下是动态IP,如何给guest设置静态IP?

Make sure that in Guest OS the netmask is 255.255.255.0 and gateway is 10.211.55.1

If this won't help and you are running Windows, post here the output of the "ipconfig /all" command.

No comments:

Post a Comment