Skip to content

ip addr

  • Assign more ips to existing NIC
Bash
sudo ip adder add <ip-address> dev <interface-name>
Bash
sudo ip adder add 10.10.1.50/16 dev enp1s0

Remove

Bash
sudo ip addr del <ip-address> dev <interface-name>
Bash
sudo ip addr del 10.10.1.50/16 dev enp1s0
Back to top