fachinformatiker-wiki

it's easy when it's here

User Tools

Site Tools


netzwerk:ip_switch_scripts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
netzwerk:ip_switch_scripts [2020/11/20 00:27] – external edit 127.0.0.1netzwerk:ip_switch_scripts [2024/02/17 19:03] (current) – external edit 127.0.0.1
Line 9: Line 9:
 echo ------------------------------------------------ echo ------------------------------------------------
 echo. echo.
-echo 1 mg.local +echo 1 gsys.lab 
-echo 2 auto+echo 2 dhcp
 echo 3 Google DNS-Server echo 3 Google DNS-Server
 echo 4 ipconfig echo 4 ipconfig
Line 32: Line 32:
 netsh  interface ip set dns "WLAN" static addr=10.0.0.100 netsh  interface ip set dns "WLAN" static addr=10.0.0.100
 netsh  interface ip add dns "WLAN" addr=10.0.0.2 netsh  interface ip add dns "WLAN" addr=10.0.0.2
 +reg add HKLM\System\CurrentControlSet\Services\Tcpip\Parameters /v "SearchList" /d "gsys.lab" /f
  
 ping localhost >nul ping localhost >nul
 ping localhost >nul ping localhost >nul
  
-ping dev.mg.local+ping dev.gsys.lab
  
 echo. echo.
 echo ------------------------------------------------ echo ------------------------------------------------
-echo  Erfolgreich mit dem Netz "mg.local" verbunden!+echo  Erfolgreich mit dem Netz "gsys.lab" verbunden!
 echo ------------------------------------------------ echo ------------------------------------------------
  
Line 47: Line 48:
 :m4 :m4
 echo ------------------------------------------------ echo ------------------------------------------------
-echo  Netzwerkadresse wird auf automatisch gestellt+echo  Netzwerkadresse wird auf dhcp gestellt
 echo ------------------------------------------------ echo ------------------------------------------------
  
netzwerk/ip_switch_scripts.1605828423.txt.gz · Last modified: 2024/02/17 19:03 (external edit)