With the ip command, you can adjust the way a Linux computer handles IP addresses, network interfaces
controllers (NICs), and routing rules. The changes also take immediate effect—you don’t have to reboot.

Address <===> IP addresses and ranges.
Link <===> Network interfaces, such as wired connections and Wi-Fi adapters.
Route <===> The rules that manage the routing of traffic sent to addresses via interfaces (links).


ip a <===> Shows addresses assigned to all network interfaces // To show the IP addresses assigned to an interface on your server // Shows and manipulates routing, devices, policy routing and tunnels
ip addr <===> to same
ip addr show <===> to same
ip address show <===> to same


ip address add 192.168.1.254/24 dev enps03 <===> To assign an IP to an interface, for example, enps03

ip address del 192.168.1.254/24 dev enps03 <===> delete an IP on an interface


ip neigh <===> Shows the current neighbour table in kernel
ip neighbour show <===> Ukáže všechny zařízení v síti

ip link <===> can add and remove bridges and set their options.

ip link set eth0 up <===> nahodi rozhrani eth0 // Bring up interface eth0

ip link set eth0 down <===> shodi rozhrani eth0 // Bring down interface eth0

ip route <===> zobrazi IP gateway, DNS // Show table routes.
ip route show <===> print the routing table

ip link show <===> ukaze rozhrani - asi zkracena verze
ip -br link show <===> -br switch prints this output in a much more readable table format

ip -4 addr <===> Display Only IPv4 Addresses
ip -6 addr <===> Display Only IPv6 Addresses

ip addr show dev lo <===> Display Information for a Single Interface


LOWER_UP <===> is a physical layer link flag (the layer below the network layer, where IP is generally located).
LOWER_UP <===> indicates that an Ethernet cable was plugged in and that the device is connected to the network.

LOWER_UP differs from UP, which additionally requires the network interface to be enabled.

NO-CARRIER <===> network interface didn't get any IP

BROADCAST <===> This interface supports broadcasting

MULTICAST <===> This interface supports multicasting

LOOPBACK <===> This is a loopback interface

state UNKNOWN <===> This can be DOWN (the network interface is not operational), UNKNOWN (the network interface is operational but nothing is connected), or UP (the network is operational and there is a connection).

scope host <===> The IP address scope. This IP address is only valid inside the computer (the “host”).

state UP <===> The interface is operational and connected.
UP <===> interface is UP (operational and connected)