Use `ip addr show <interface>`.