Guest User

Untitled

a guest
Sep 23rd, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. route delete 0.0.0.0
  2.  
  3. set INTERFACE=11
  4. set ROUTER=192.168.12.1
  5.  
  6. route add 0.0.0.0 MASK 0.0.0.0 %ROUTER% IF %INTERFACE%
  7.  
  8. netsh interface ip set dns %INTERFACE% static %ROUTER% register=primary validate=no
  9. netsh interface ip add dns %INTERFACE% 212.48.193.36 index=2 no
  10. netsh interface ip add dns %INTERFACE% 8.8.8.8 index=3 no
  11. netsh interface ip add dns %INTERFACE% 8.8.4.4 index=4 no
  12.  
  13. route print 0.*.0
Add Comment
Please, Sign In to add comment