Run the command: Ejecute el comando:
ip address show mostrar la dirección IP
In the output you will find lines like these: En la salida se encuentran líneas como las siguientes:
inet 127.0.0.1 /8 scope host lo inet 127.0.0.1 / 8 ámbito de acogida lo
inet 192.168.1.10 /24 brd 192.168.1.255 scope global eth1 inet 192.168.1.10 / 24 BRD 192.168.1.255 alcance global eth1

The highlighted portions are your (ipv4) ip addresses. El destacado son sus porciones (IPv4) direcciones IP.

The /8 or /24 represents your network. El / o 8 / 24 representa la red. /8 means your subnet mask is 255.0.0.0 and /24 means your subnet mask is 255.255.255.0. / 8 significa que su máscara de subred es 255.0.0.0 y / 24 significa que su máscara de subred es 255.255.255.0. You will not have a subnet typically for a point-to-point connection. Usted no tendrá una subred normalmente por un punto-a-punto de conexión.

Note: The lines containing inet6 provides the ipv6 addresses. Nota: Las líneas que contengan inet6 proporciona la dirección IPv6.