Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ECHO OFF
- CLS
- :MENU
- ECHO.
- ECHO 0 - SHOW IP
- ECHO.
- ECHO 10 - LAN DHCP client
- ECHO 11 - LAN 192.168.1.10/24 (192.168.1.1)
- ECHO 12 - LAN 192.168.0.10/24 (192.168.0.1)
- ECHO.
- ECHO 20 - WLAN DHCP client
- ECHO 21 - WLAN 192.168.1.10/24 (192.168.1.1)
- ECHO 22 - WLAN 192.168.0.10/24 (192.168.0.1)
- ECHO.
- ECHO 30 - PING 192.168.1.1
- ECHO 31 - PING 10.80.12.1
- ECHO 32 - PING 8.8.8.8
- ECHO.
- ECHO 40 - PING -t 192.168.1.1
- ECHO.
- ECHO 9 - EXIT
- ECHO.
- SET /P M=Odaberi:
- IF %M%==9 GOTO :EOF
- GOTO %M%
- :0
- CLS
- netsh interface ipv4 show address
- GOTO MENU
- :10
- CLS
- netsh interface ipv4 set address "LAN" dhcp
- GOTO MENU
- :11
- CLS
- netsh interface ipv4 set address "LAN" static 192.168.1.10 255.255.255.0 192.168.1.1
- GOTO MENU
- :12
- CLS
- netsh interface ipv4 set address "LAN" static 192.168.0.10 255.255.255.0 192.168.0.1
- GOTO MENU
- :20
- CLS
- netsh interface ipv4 set address "WIFI" dhcp
- GOTO MENU
- :21
- CLS
- netsh interface ipv4 set address "WIFI" static 192.168.1.10 255.255.255.0 192.168.1.1
- GOTO MENU
- :22
- CLS
- netsh interface ipv4 set address "WIFI" static 192.168.0.10 255.255.255.0 192.168.0.1
- GOTO MENU
- :30
- CLS
- ping -n 1 192.168.1.1
- GOTO MENU
- :31
- CLS
- ping -n 1 10.80.12.1
- GOTO MENU
- :32
- CLS
- ping -n 1 8.8.8.8
- GOTO MENU
- :40
- CLS
- ping -t 192.168.1.1
- GOTO MENU
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement