2

i am new with networking. I have problem with the internet connection between the host system and guest os.(workstation 8)

I have laptop with win 7, which needs to have the static public IP(already working, internet connection OK). Guest OS is win server 2008 r2 sp1. I need to set static IP with the internet connection.(here is the problem i can't get it.)

i tried to set the NAT to share the host IP address, but the guest ip is always obtained from DHCP(but it must be static for example 192.168.1.22). When i set the same IP on the both machines, it will resolve to the IP conflict.

The problem can by that host ip is : 195.x.x.x(public) and guest ip is 192.x.x.x.

I appreciate any advice.

Thank you for your time.

S.

4

1 回答 1

0

您需要将 VM 的网络接口设置为“桥接”模式,这样 VM 就会像您的计算机旁边的网络机器一样工作。

然后,在虚拟化操作系统中,您需要使用您想要的地址将网络接口设置为“静态 IP 模式”。

这样它应该可以工作。(ping 是您诊断的朋友)

注意:仍然要小心您的访客防火墙。可能会觉得奇怪的是,来自另一台机器的数据包从您的机器发出并阻止它们(我见过)。在这种情况下,请与 WireShark 联系。

于 2012-10-17T14:44:24.500 回答