Nothing special.
@ Echo offrem route print // view if interface del % windir % \ system32 \ addstatrn. batcd/d % windir % \ system32echo route delete 0.0.0.0> addstatrn. batecho route delete 172.16.0.0> addstatrn. batecho route add-p 172.16.0.0 mask 255.255.0.0 172.16.180.246 if 16> addstatrn. batecho route delete 192.192.0.0> addstatrn. batecho route add-p 192.192.0.0 mask route 255.0.0 192.168.5.33 if 14> addstatrn. bat
Rem local connection echo netsh int ip set address name = \ "local connection \" source = dhcp> addstatrn. batecho netsh interface ip set address \ "local connection \" static 192.168.5.33 255.255.255.0 192.168.5.254 20> addstatrn. bat
Rem wireless echo netsh interface ip set address name = \ "wireless \" source = dhcp> addstatrn. batecho netsh interface ip set dns name = \ "wireless \" source = dhcp> addStatic. batecho netsh interface ip set address \ "wireless \" static 172.16.180.246 255.255.255.0 172.16.180.254 5> addstatrn. batrem echo netsh interface ip add address \ "wireless \" 192.168.186.202 255.255.255.0 192.168.186.1 10> addstatrn. batecho netsh interface ip set dns name = \ "wireless \" static addr = 218.2.135.1 register = PRIMARY> addstatrn. batrem echo netsh interface ip add dns name = \ "wireless \" addr = 192.168.186.1 index = 2> addstatrn. bat
Echo exit> addstatrn. bat
Netsh wlan start hostednetworkrunas/user: administrator \ "cmd.exe cmd/k addstatkr. bat \" exit
Rem # modify TCPip hops