用Windows 7和XPMode搭建网络

Standard

目的是两方可以互访网络资源。比如website,databaseserver。

以SQL Server举例:

环境:Windows7安装SQL Server2005,希望在XP MODE中的xp能访问SQL Server,而Windows7中能访问Xp中的website。

设置:

首先Windows7安装Microsoft Loopback Adapter,设置其IP,如:1.1.1.1,掩码:255.255.255.0

XP Mode的 Virtual Pc的网络设置到Microsoft Loopback Adapter上,并将IP设置为1.1.1.2掩码为255.255.255.0

此时还是当向访问,处理办法是Windows7中将Microsoft Loopback Adapter的网关设置为xp mode网卡的IP即1.1.1.2.然后将双发防火墙关闭,这样xp就能访问windows7的database,windows7中也能访问sp中的website。



 

Leave a Reply

Your email address will not be published. Required fields are marked *