Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Empfohlene Antworten

Veröffentlicht

hallo,

ich bräuchte den cmd befehl der mir alle ip adressen in meinem netzwerk auflistet.

ich hab zwar ein tool, aber da muss ich alles händisch eingeben also von xx.xx.xx.2 bis xx.xx.xx.2xx und das ist mühsam. gibts dafür einen befehl wo ich sehe welche pcs gerade "online" sind?

Lg :bimei

ich bräuchte den cmd befehl der mir alle ip adressen in meinem netzwerk auflistet.

So etwas gibt es nicht was du machen kannst ist net view der dir alle computername anzeigt. Die kann man dann anpingen dann haste auch alle ip adressen.

befehl wo ich sehe welche pcs gerade "online" sind?

Ja: net view

Es gibt noch ARP -a, aber das funktioniert auch nur mit PC's, die zu Deinem PC mal einen Netzwerkkontakt hatten (konkrete Verbindung, Broadcast, ...)

ARP -a führ ich zum Gucken aufm Server aus. Aber ansonsten wirst Du um ein "aktives" Nachschauen nicht herumkommen.

Normalerweise sollte ping Broadcast funktionieren, aber leider tut es das nicht obwohl direkt angepingt die PC's anworten.

Variante 2: net view mit anschliessendem Ping auf die Hostnamen:

echo off

setlocal ENABLEDELAYEDEXPANSION

cls

for /f "skip=3 tokens=1,2 delims= " %%i in ('net view') do (

	set str=%%i

	set str=!str:~2!

	ping -n 1 !str! >nul

	if !errorlevel!==0 (

		echo !str! ist online

	) else (

		echo !str! ist offline

	)

)

Bearbeitet von User\Root

Erweitert um die IP-Adresse wäre das dann folgender Text als Batch:

echo off

setlocal ENABLEDELAYEDEXPANSION

cls

for /f "skip=3 tokens=1,2 delims= " %%i in ('net view') do (

	set str=%%i

	set str=!str:~2!

	for /f "tokens=1,2 skip=4 delims= " %%x in ('nslookup !str!') do set str2=%%y

	ping -n 1 !str! > nul

	if !errorlevel!==0 (

		echo !str! mit IP: !str2! ist online

	) else (

		echo !str! mit IP: !str2! ist offline

	)

	@echo. 

)

endlocal

Bearbeitet von User\Root

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.