怎样在cmd中进行网卡配置
答案:5 悬赏:30
解决时间 2021-01-15 07:23
- 提问者网友:黑米和小志
- 2021-01-15 02:22
怎样在cmd中进行网卡配置
最佳答案
- 二级知识专家网友:从此江山别
- 2021-01-15 03:51
netsh interface ip set address "本地连接" static 10.25.35.35 255.255.255.0 10.25.35.7 auto
将“本地连接”的ip地址设置成10.25.35.35 子网掩码是255.255.255.0 网关设置成 10.25.35.7 并且自动跃点数
注意:"本地连接"是你需要设置ip的网路连接的名称。
设置DNS命令格式:
netsh interface ip set dns "本地连接" static 211.138.91.1
将“本地连接”的DNS设置成211.138.91.1
删除IP地址和DNS的命令是
netsh interface ip set address "本地连接" dhcp
netsh interface ip set dns "本地连接" dhcp
将ip设置改为自动获取。
将“本地连接”的ip地址设置成10.25.35.35 子网掩码是255.255.255.0 网关设置成 10.25.35.7 并且自动跃点数
注意:"本地连接"是你需要设置ip的网路连接的名称。
设置DNS命令格式:
netsh interface ip set dns "本地连接" static 211.138.91.1
将“本地连接”的DNS设置成211.138.91.1
删除IP地址和DNS的命令是
netsh interface ip set address "本地连接" dhcp
netsh interface ip set dns "本地连接" dhcp
将ip设置改为自动获取。
全部回答
- 1楼网友:雾月
- 2021-01-15 07:02
我暂时保留我的看法!
- 2楼网友:梦中风几里
- 2021-01-15 05:59
你还是在图形界面配置吧。
- 3楼网友:青尢
- 2021-01-15 05:26
netsh int ip set address name="本地连接 2" static ip地址 子网掩码 网关 1
netsh int ip set dns name="本地连接 2" static DNS地址
netsh int ip set dns name="本地连接 2" static DNS地址
- 4楼网友:撞了怀
- 2021-01-15 03:57
设置IP地址和网关:netsh interface ip set address "本地连接" static 192.168.0.2 255.255.255.0 192.168.0.1
设置DNS:netsh interface ip set dns "本地连接" static 202.96.134.133
设置DNS:netsh interface ip set dns "本地连接" static 202.96.134.133
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息!
大家都在看
推荐信息