配置Windows网络同时支持DHCP和静态IP
来源:互联网 发布:网络直播营销模式 编辑:程序博客网 时间:2024/04/28 23:39
(http://www.petri.co.il/configure_tcp_ip_to_use_dhcp_and_a_static_ip_address_at_the_same_time.htm)
To configure your computer (tested on Windows 2000, Windows XP and Windows Server 2003) to use both a DHCP obtained IP address and a statically configured IP address follow these steps:
Configure your computer to use DHCP
- Right-click My Network Places and choose Properties.
- On the NIC that is (usually) labeled as Local Area Connection - right-click and choose Properties.
- Select TCP/IP (make sure you don't remove the check mark accidentally) and press the Properties button.
- Make sure you have "Obtain Automatically" selected.
- You can verify your settings by running ipconfig /all at a Command Prompt:
- Ok all the way out.
Add a second (or third and so on), static, IP address
- Click Start and choose Run. Enter Regedit and press Enter.
Note: On Windows 2000 and NT you need to run Regedt32 instead.
- Navigate to
HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSetServices/Tcpip/Parameters/Interfaces/{B003AD4A-B6DB-44FD-9741-CBA3C51B6498}
(actual GUID of the NIC may vary, select the one that represents your own NIC (from step 2 above)
- Select the IPAddress key and double click it.
- In the Edit Multi String dialog box, keep first line (0.0.0.0), enter a second (and third and so on) IP address. Make sure you enter each IP on a separate line. Click Ok.
- Select the SubnetMask key and double click it.
- In the Edit Multi String dialog box, keep first line (0.0.0.0) and enter a second (and third and so on) Subnet Mask. Make sure you enter each Subnet Mask on a separate line. Click Ok.
- Close the registry editor.
- Go back to your network properties, right-click your NIC and select Disable.
- Right-click your NIC and select Enable.
- Verify your settings by running ipconfig /all at a Command Prompt:
Done!
Windows 98 users: This trick can also be accomplished with Windows 98, only there you need to modify the following registry path (instead of the one in step 2 above):
HKEY_LOCAL_MACHINE/System/CurrentControlSet/Services/Class'/etTrans
In Windows 98 you'll also need to reboot your computer for the trick to work.
- 配置Windows网络同时支持DHCP和静态IP
- Ubuntu的DHCP和静态IP地址
- [Ubuntu网络配置]Ubuntu GNOME版网络配置中无法将默认DHCP方式修改为静态IP的解决办法
- LTE项目stm32单片机硬件测试(原来网络dhcp动态ip方式配置成静态ip方式)
- 静态ip和dhcp频繁切换解决方式
- Android 7.0 增加以太网设置DHCP和静态IP
- Android 7.0 增加以太网设置DHCP和静态IP
- Windows网络配置和TCP/IP协议配置及诊断
- windows server 2008 DNS ,DHCP 服务器的配置(支持IPv6) :
- ip dhcp snooping配置
- DHCP静态IP绑定浅谈
- Linux网络配置之静态ip配置
- VMWare的NAT配置(包括DHCP和固定IP配置)
- 配置ip和网络
- CentOS7 DHCP网络配置
- 在VMware中为CentOS配置静态ip并可访问网络-windows下的VMware
- 在VMware中为CentOS配置静态ip并可访问网络-windows下的VMware
- 在VMware中为CentOS配置静态ip并可访问网络-windows下的VMware
- SQL Server字符串处理函数大全
- 每天写出好代码的5个建议
- 模仿android谷歌地图功能开发记录
- VB与MATLAB混合编程探讨
- SL 表格的Excel导出
- 配置Windows网络同时支持DHCP和静态IP
- Java NIO(New I/O)相关知识
- 关于openGL, openGL ES, openVG及android中2D调用关系的报告
- Java程序员必读的十本书
- tomcat的内存设置
- 文件重定向(采用文件过滤驱动实现)
- 字符数组和字符串
- sysobjects.Xtype
- Compile Widget -wxWidgets-2.8.9在VC++ 2005 环境下的安装与配置