

for /l %%a in (2,1,11) do netsh interface ip add address name="本地连接" addr=172.30.0.%%a mask=255.255.240.0

for /l %%a in (12,1,21) do netsh interface ip add address name="本地连接 3" addr=172.30.0.%%a mask=255.255.240.0

netsh interface ip set dns "本地连接" static 119.29.29.29 primary 
netsh interface ip add dns "本地连接" 119.28.28.28

netsh interface ip set dns "本地连接 3" static 119.29.29.29 primary 
netsh interface ip add dns "本地连接 3" 119.28.28.28
