• Portada
    • Recientes
    • Usuarios
    • Registrarse
    • Conectarse

    Find out local IP in Linux

    Programado Fijo Cerrado Movido Sistemas operativos
    1 Mensajes 1 Posters 574 Visitas
    Cargando más mensajes
    • Más antiguo a más nuevo
    • Más nuevo a más antiguo
    • Mayor número de Votos
    Responder
    • Responder como tema
    Accede para responder
    Este tema ha sido borrado. Solo los usuarios que tengan privilegios de administración de temas pueden verlo.
    • cobitoC Desconectado
      cobito Administrador
      Última edición por cobito

      This thread is part of the guide to set up a server on Debian.
      Remember that the content of Hardlimit is under a Creative Commons license.


      Summary

      If you are going to manage your server via SSH from the beginning so that you can disconnect all peripherals, find out the IP address (from your router's DHCP table) and connect to it. If not, log in with your local username. From there you can find out the IP address using this command:

      ip a 

      Explanation

      Once we have Debian installed on our machine, we need to perform some operations before having it completely ready to install and configure services. Thanks to the fact that we have done an installation including the SSH service, we can disconnect all peripherals from our server machine since from now on we will configure it through SSH. Its local handling would be identical.

      Managing the machine remotely through SSH is very convenient for a matter of order (we do not need multiple peripherals) and because we can access it through any operating system. In this way, guides like this one can be consulted and commands can be copied and pasted directly.

      The first thing we need is to find out the IP with which the server has registered through DHCP (you can try with the first IPs offered by your DHCP server or by looking at the IP assignment table of your router). If you can't get a clue, you will have to access the machine locally and use the command

      ip a 

      Once you have the address, you can access it from any console through SSH, as seen in the image.

      7e323f5b-7183-4d6f-b1b7-f8b6e659e9af-imagen.png

      As a curiosity, with the server newly installed, you can check that the memory consumption is really low: about 200Mb of RAM. That will change as we start running services.

      2643791d-cc17-486c-bc01-97867ab8f610-imagen.png

      Toda la actualidad en la portada de Hardlimit
      Mis cacharros

      hlbm signature

      1 Respuesta Última respuesta Responder Citar 1
      • cobitoC cobito referenced this topic on
      • cobitoC cobito referenced this topic on
      • cobitoC cobito referenced this topic on
      • cobitoC cobito referenced this topic on
      • 1 / 1
      • First post
        Last post

      Foreros conectados [Conectados hoy]

      0 usuarios activos (0 miembros y 0 invitados).
      febesin, pAtO,

      Estadísticas de Hardlimit

      Los hardlimitianos han creado un total de 543.5k posts en 62.9k hilos.
      Somos un total de 34.9k miembros registrados.
      roymendez ha sido nuestro último fichaje.
      El récord de usuarios en linea fue de 123 y se produjo el Thu Jan 15 2026.