关于用虚拟机刷销量邀请换ip的一些问题

你的位置:→ → 正文
12345678910
12345678910
Windows服务器里面如何设置vmware/vps的IP? 一下文章仅供参考,并不适用所有的服务器。
After you have obtained your IP blocks,
you will now be able to configure networking on the Virtual Machine. If
you have not yet installed the Virtual Machine, configuration of your
public network block can be performed through the Operating System
installation process. This is the quickest method of configuring your
public network and is recommended. If you have already install the guest
Operating System, this guide does also provide instructions for
configuring your public network. All network configuration steps
provided will assume that the first network interface(eth0 or Local Area
Connection) will always be the private network and the second network
interface (eth1 or Local Area Connection 2) will be the public network.
Configuring your network is setup differently based on the OS
you have installed. This guide provides detailed information on
configuring your network for the following Operating Systems.& Operating
Systems grouped together share the same network configuration.
&Windows 2008 Server Core
&Windows 2003 Standard and
Enterprise
&Windows 2008 Web, Standard, Enterprise and Datacenter
Fedora and CentOS
&Ubuntu and Debian
Network configuration will require the following information
for both your Public and Private IP blocks. &
-IP Address
-Subnet Mask
--Subnet conversion
- 255.255.255.248
---/28 - 255.255.255.240
255.255.255.224
---/26 - 255.255.255.192
---/25 - 255.255.255.128
- 255.255.255.0
Windows 2008
Server Core
Windows 2008 Server Core edition does not provide a graphical
interface from which to configure the system network. Configuration will
need to be done manually via the command line. Below are the commands
you will need to run. The IP addresses used in this example will need to
be replaced with the correct IP addresses from your IP Blocks.& These
same commands should work with older versions of Windows Server that
include the netsh2 command.
Example public IP block & 192.0.2.0/29
&IP Address & 192.0.2.2
&Gateway & 192.0.2.1
&Subnet Mask
& 255.255.255.248
Example private IP block & 10.0.0.0/29
&IP Address & 10.0.0.2
&Gateway & 10.0.0.1
&Subnet Mask &
255.255.255.248
Public Network
This command will create the public network connecting your
server to the internet.
Netsh interface ip set address name=&Local Area Connection
2& static 192.0.2.2 255.255.255.248 192.0.2.1
These commands will create the DNS entries. If you are not
using the private network, you will need to replace these IP addresses
with working DNS servers
Netsh interface ip add dns &Local Area Connection 2&
10.0.80.11
Netsh interface ip add dns &Local Area Connection 2&
10.0.80.12
Private Network
The following 2 commands will configure the private network as
well as create the persistent route for the private network. The
persistent route will provide your private network access to the entire
private network which includes the DNS servers in the public network
configuration steps above. Please note, there is no gateway assigned to
the private network. This is handled via the route statement that is
provided below.
Netsh interface ip set address name=&Local Area Connection&
static 10.0.0.2 255.255.255.248
Route add 10.0.0.0 mask 255.0.0.0 10.0.0.1 -p
Windows 2003 Standard and Enterprise
Windows 2003 allows you configure networking using either the
command line or the graphical user interface. If you intend to use the
command line, please refer to the configuration instructions for Windows
2008 Server Core, as these instructions will work for 2003. The
instructions for using the graphical interface will be provided here.
The IP addresses used in this example will need to be replaced with the
correct IP addresses from your IP Blocks.
Example private IP block & 10.0.0.0/29
&IP Address & 10.0.0.2
&Gateway & 10.0.0.1
&Subnet Mask &
255.255.255.248
Open your network configurations
Start Menu -& Settings -& Control Panel
Open &Network Connections&
If you installed 2 network adaptors you will see &Local Area Connection& and &Local Area Connection 2&
Public Network
The following instructions will provide detailed steps on
configuring the public network through the windows graphical interface.
Right Click on &Local Area
Connection& -& Properties.
Select &Internet Protocol
(TCP/IP)& then click &Properties&.
On the General Tab
Select &Use the following IP
Enter your public IP Address, subnet mask and gateway.
Select &Use the following
DNS server addresses:&. If you will be configuring the private
network, use the following DNS Servers, if not, you will need to provide
DNS servers
Preferred DNS server: 10.0.80.11
Alternate DNS server: 10.0.80.12
-Click &OK&
Private Network
Right Click on &Local Area
Connection 2& -& Properties.
Select &Internet Protocol
(TCP/IP)& then click &Properties&.
On the General Tab
Select &Use the following IP
Enter your private IP Address and subnet mask.
Leave the gateway field empty
Click &OK&
Click &OK& again to close the network configuration window.
To provide access to the entire private network which includes
the DNS servers you will need to add a custom route to the server. This
is done in the next few steps.
&Start -& Run
&Enter the command &cmd& and press &OK&
t replace the gateway address (10.0.0.1) with your
private IP block gateway.
&route add 10.0.0.0 mask 255.0.0.0
10.0.0.1 &p&
Windows 2008 Web, Standard, Enterprise and
Datacenter
Windows 2008 allows you configure networking using either the
command line or the graphical user interface. If you intend to use the
command line, please refer to the configuration instructions for Windows
2008 Server Core, as these instructions will work for all 2008 servers.
The instructions for using the graphical interface will be provided
here. The IP addresses used in this example will need to be replaced
with the correct IP addresses from your IP Blocks.
Example private IP block & 10.0.0.0/29
&IP Address & 10.0.0.2
&Gateway & 10.0.0.1
&Subnet Mask &
255.255.255.248
Open your network configurations
&Start Menu -& Settings -& Control Panel
&Network and Sharing Center&
&Click &Manage network connections&
you installed 2 network adaptors you will see &Local Area Connection&
and &Local Area Connection 2&
Public Network
The following instructions will provide detailed steps on
configuring the public network through the windows graphical interface.
Right Click on &Local Area
Connection& -& Properties.
Select &Internet Protocol
Version 4 (TCP/IPv4)& then click &Properties&.
On the General Tab
Select &Use the following IP
Enter your public IP Address, subnet mask and gateway.
Select &Use the following
DNS server addresses:&. If you will be configuring the private
network, use the following DNS Servers, if not, you will need to provide
DNS servers
Preferred DNS server: 10.0.80.11
Alternate DNS server: 10.0.80.12
&Click &OK&
Private Network
Right Click on &Local Area
Connection 2& -& Properties.
Select &Internet Protocol
Version 4 (TCP/IPv4)& then click &Properties&.
On the General Tab
Select &Use the following IP
Enter your private IP Address and subnet mask.
Leave the gateway field empty
Click &OK&
Click &OK& again to
close the network configuration window.
To provide access to the entire private network which includes
the DNS servers you will need to add a custom route to the server. This
is done in the next few steps.
Start -& Run
Enter the command &cmd& and press &OK&
Run t replace the gateway address
(10.0.0.1) with your private IP block gateway.
route add 10.0.0.0
mask 255.0.0.0 10.0.0.1 &p
Redhat, Fedora and CentOS
Network configuration on RedHat, Fedora and CentOS is done
through manually editing configuration files. In order to manually edit
the files, you will need to be logged into the Virtual Machine as the
root used and will require a text editor.
Example public IP block & 192.0.2.0/29
&IP Address & 192.0.2.2
&Gateway & 192.0.2.1
&Subnet Mask
& 255.255.255.248
Example private IP block & 10.0.0.0/29
&IP Address & 10.0.0.2
&Gateway & 10.0.0.1
&Subnet Mask &
255.255.255.248
Public Network
The public network settings are contained in the following
file, you will need to edit this file with the information provided.
Replace the example IP addresses with the correct IP addresses form your
public IP block. Note, the file may not exist. If the file does not
exist, create the file. If it does exist, replace all data in the file
with the information provided below.
&/etc/sysconfig/network-scripts/ ifcfg-eth1
DEVICE=eth1
BOOTPROTO=static
BROADCAST=192.0.2.7
IPADDR=192.0.2.2
NETMASK=255.255.255.248
NETWORK=192.0.2.0
GATEWAY=192.0.2.1
ONBOOT=yes
Private Network
The private network settings are contained in the following
file, you will need to edit this file with the information provided.
Replace the example IP addresses with the correct IP addresses from your
Private IP block. Note, the file may not exist. If the file does not
exist create it, if the file does exist, replace all data in the file
with the information provided below.& The private network WILL NOT have a default route, so the GATEWAY
will not be defined.
&/etc/sysconfig/network-scripts/ ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
IPADDR=10.0.0.2
NETMASK=255.255.255.248
ONBOOT=yes
Finally, a new route will be required to provide private access
to the entire private network including the DNS server. This is done by
editing the following file. This fill will not exist and will need to
be created.
&/etc/sysconfig/network-scripts/route-eth0
10.0.0.0/8 via 10.0.0.1
DNS Configuration
The primary and secondary DNS configuration is contained this fill will need to be edited with the following
information. If this Virtual Machine does not have access to the private
network, you will need to replace the server IP&s with the IP addresses
of the DNS servers you plan to use.
&/etc/resolv.conf
nameserver
10.0.80.11
nameserver 10.0.80.12
In order for these changes to take effect, you will need to
restart networking on the server. This can be done by running the
following command
service network restart
Ubuntu and Debian
Ubuntu and Debian network configuration is done through a
single configuration file. This file will need to be manually edited. To
edit this file you will need to have root access to the server. The
base install of Ubuntu does not provide a root login, however the user
created in the installation process has access to sudo. You will need to
use the sudo command to edit the file if you are running on ubuntu.
Example public IP block & 192.0.2.0/29
&IP Address & 192.0.2.2
&Gateway & 192.0.2.1
&Subnet Mask
& 255.255.255.248
Example private IP block & 10.0.0.0/29
&IP Address & 10.0.0.2
&Gateway & 10.0.0.1
&Subnet Mask &
255.255.255.248
Public and Private Network
Edit the following file with any text editor. Replace example
IP addresses with the correct IP&s from your Public and Private IP
&/etc/network/interfaces
iface lo inet loopback
##Public Network
iface eth1 inet static
address 192.0.2.2
255.255.255.248
gateway 192.0.2.1
##Private Network
iface eth0 inet static
address 10.0.0.2
255.255.255.248
#Static route for backend service network
route add -net 10.0.0.0/8 gw 10.0.0.1
DNS Configuration
The primary and secondary DNS configuration is contained this fill will need to be edited with the following
information. If this Virtual Machine does not have access to the private
network, you will need to replace the server IP&s with the IP addresses
of the DNS servers you plan to use.
&/etc/resolv.conf
nameserver
10.0.80.11
nameserver 10.0.80.12
In order for these changes to take effect, you will want to
restart networking on the server. This can be done by running the
following command:
/etc/init.d/network
Note: 192.0.2.0/24 is used as Public IP Documentation as per RFC1166
and RFC5737.&
You will not use these IP addresses on your servers at any point in
time. 点这里复制本页地址发送给您QQ/MSN上的好友虚拟机换IP_百度知道
虚拟机换IP
虚拟机IP的更换不影响物理机的正常使用。3。要求可能有点难度。2:1.虚拟机的IP跟物理机的IP不一样虚拟机换IP要求.虚拟机在物理机不断网的情况下更换IP,希望高手们指教指教小弟
提问者采纳
hiphotos.hiphotos.baidu:///zhidao/wh%3D450%2C600/sign=1f95caa6a09ab2fcb7d0a20cf431ad54dca5804b36acaf2edd9879://h.com/zhidao/wh%3D600%2C800/sign=1dbfd1f365caa3c007ed0a20cf431ad54dca5804b36acaf2edd9879.网桥直接连接到物理网络.jpg" esrc="http。这样你的虚拟机在局域网里有一个单独的IP:///zhidao/pic/item/b3b7d0a20cf431ad54dca5804b36acaf2edd9879,而不是和你的主机共用一个IP地址<img class="ikqb_img" src="http
其他类似问题
4人觉得有用
虚拟机的相关知识
您可能关注的推广
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁您好,看您属于高手。我想问一个VM虚拟机的问题,我在虚拟机中使用VPN改变IP地址_百度知道
您好,看您属于高手。我想问一个VM虚拟机的问题,我在虚拟机中使用VPN改变IP地址
在这个过程中建议你使用二级服务器,然后再由这个服务器进入internet,通过其他服务器的站点给你分配可上网的代理IP,这样吧,这样倒是可以保证你不会被查到,第三方如果要查,你的VPN在设置的过程中只是在虚拟机中使用,有一种掩耳盗铃的感觉,你的意思我理解了,在自己的物理机系统上搭建VPN,并通过代理进入到其他服务器,它所设定的范围是在物理机PC和你系统上的虚拟机vpc搭建成功,也就是从一个服务器,你所更改的IP是在虚拟机上但是主要识别的IP依然是你的宽带也就是PC上的物理地址,进入到下一个服务器,改变MAC映射是可以的,依然是可以查到你的,但是电信分给你的IP是固定!你自己在VPC上修改的IP只是在PC机和VPC这个局域虚拟内网上实施的。做法。如果你真的不想第三方察觉,同时保证48小时不会被第三方察觉你干了什么关于这个问题
其他类似问题
vm虚拟机的相关知识
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁}

我要回帖

更多关于 虚拟机换ip刷单 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信