народ тут знающий, но все таки, вдруг кто не знает
переходим в LIB зону под вендами
Код:
@echo off
set /p Network="Select settings (1 - normal, 2 - lib): "
echo Select - %Network%
if %Network% equ 2 goto lib
:normal
netsh interface ip set address "dekker_home" static 192.168.124.153 255.255.255.0 192.168.124.100
netsh interface ipv4 set dnsserver "dekker_home" static none
netsh interface ipv4 add dns "dekker_home" 192.168.124.100 1
goto end
:lib
netsh interface ip set address "dekker_home" static 192.168.124.153 255.255.255.0 192.168.124.100
netsh interface ipv4 set dnsserver "dekker_home" static none
netsh interface ipv4 add dns "dekker_home" 51.254.25.115 1
:end
echo Network IP change:
ipconfig /all
echo _____
pause