Back to search

ip

command network

Show/manipulate network interfaces, routing, and addresses

Required Packages

sudo apt install -y iproute2

Options

Network interface (e.g. eth0, ens33)

For add/del: IP address with prefix (e.g. 192.168.1.10/24)

Generated Command

ip addr show