
1、首选要明白自己的IP地址是由宽带运营商提供的固定IP地址。
2、这个IP地址就像门牌号地址一样,这样才能正常的就行网络互通数据传输和信息交换。
3、因为业务以及工作或者游戏同IP地址很多限制,所以我们需要无限的切换不同城市的ip地址。
4、首选我们需要一个深度IP转换器软件,直接百度一下深度IP转换器官网进入官方网站下载正版的软件即可。
5、打开软件后我们可以清晰的看到软件里面有全国各地现有的ip地址,根据自己的需求连接自己需要的IP,然后自己电脑或者手机的IP就改变了。
新建一个记事本文件,把下面的内容黏贴进去,另存为【自动填写IP.BAT】,双击运行这个批处理就行(内容中的ip地址可以改成自己想用的IP)@echo off
cls
color 0A
echo ,本程序为半自动转换电信或网通.
echo 如果网速过慢请转换别一个网络.
echo 注:本批理程序只在本出租网络使用,如果手提用户到了
echo 别的网络不能使用网络请选择:3 设为自动获取IP地址.
echo 如果不能使用请自我连系使用网络的管理人员与本程序无关,谢谢.
echo 本批理自己编写只适合于2000、XP系统其它系统未测试过.只设置《本地连接》
echo IP(192.168.0.2至192.168.0.100)为电信
echo IP(192.168.0.101至192.168.0.254)为网通
echo 当前计算机IP详情(ip address为IP地址):
echo..............................................................................
ipconfig
echo.
echo 1 为电信线路 2 为网通线路 3 为自己获取IP (注:输入完成请按回车键确定)
echo.
set /p KEY= [请输入您的选择:]
if %KEY% == 1 goto telecom
if %KEY% == 2 goto netcom
if %KEY% == 3 goto AUTO
if %KEY% == "" goto END
goto END
:telecom
rem eth
set eth=本地连接
rem ip
set ip=192.168.0.55
rem gateway
set gateway=192.168.0.1
rem netmasks
set netmasks=255.255.255.0
rem dns
set dns=202.96.128.86
rem dns2
set dns2=202.96.128.166
echo 正在将 %eth% 的IP更改到: %ip% 请等候...
rem
if %gateway%==none netsh interface ip set address %eth% static %ip% %netmasks% %gateway% >nul
if not %gateway%==none netsh interface ip set address %eth% static %ip% %netmasks% %gateway% 1 >nul
if %dns%==none netsh interface ip set dns %eth% static %dns%>nul
if not %dns%==none netsh interface ip set dns %eth% static %dns%>nul
if %dns2%==none netsh interface ip add dns %eth% %dns2%>nul
if not %dns2%==none netsh interface ip add dns %eth% %dns2% 2>nul
ipconfig /flushdns
echo..............................................................................
echo 当前计算机IP详情:
echo..............................................................................
ipconfig
echo..............................................................................
echo 成功将 %eth% 的IP更改为: %ip% 当前为电信线路
echo..............................................................................
goto end
:netcom
rem eth
set eth=本地连接
rem ip
set ip=192.168.0.155
rem gateway
set gateway=192.168.0.1
rem netmasks
set netmasks=255.255.255.0
rem dns
set dns=221.5.88.88
rem dns2
set dns2=210.21.196.6
echo 正在将 %eth% 的IP更改到: %ip% 请等候...
rem
if %gateway%==none netsh interface ip set address %eth% static %ip% %netmasks% %gateway% >nul
if not %gateway%==none netsh interface ip set address %eth% static %ip% %netmasks% %gateway% 1 >nul
if %dns%==none netsh interface ip set dns %eth% static %dns%>nul
if not %dns%==none netsh interface ip set dns %eth% static %dns%>nul
if %dns2%==none netsh interface ip add dns %eth% %dns2%>nul
if not %dns2%==none netsh interface ip add dns %eth% %dns2% 2>nul
ipconfig /flushdns
echo..............................................................................
echo 当前计算机IP详情:
echo..............................................................................
ipconfig
echo..............................................................................
echo 成功将 %eth% 的IP更改为: %ip% 当前为网通线路
echo..............................................................................
goto end
:AUTO
netsh interface ip set address name = "本地连接" source = dhcp
netsh interface ip set dns name = "本地连接" source = dhcp
echo..............................................................................
echo 当前为自动获取IP地址
echo..............................................................................
:end
echo.
pause
打开手机,找到手机的系统“设置”,点击“设置”进入手机的设置界面。
进入到设置界面后,一般第一个选项就是wlan选项,点击“wlan”。进入wifi无线网设置界面。
这时候有个无线网络连接的信息显示,我这里是连接上wifi了的,没连接上wifi的只要显示有wifi信号下面步骤都一样。一直按住这个连接上或者是未连接上的wifi信号图标。
这时候就会出现wifi信号的相关信息,点击下面的“修改网络”。进入到网络窗口。
这里是关键,因为你们没有看到修改的选项,因为被出现的输入法遮挡住了,所以,你需要点击手机上的“返回”键点击返回,将输入法隐藏掉。
隐藏了输入法,这里就会参见更多的设置选项了,选中“显示高级选项”。
出现了两个可以选择的选项,点击ip设定后面的倒三角形。
这时候有两个选项,“DHCP”和“静态”两个选项,点击“静态”。
这时候进入了ip地址修改的窗口,点击ip地址里面的数字,然后进行ip的更改。
输入你想更改的IP地址后,点击“保存”,这样IP就更改完成。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)