Linux: add/remove IP address from network device
There are 2 notes for this topic, click above title to see all notes.
June 23, 2011 11:44:00 Last update: June 23, 2011 11:44:00
To remove an IP address:
To add an IP address to device
# ip address del 192.168.99.37/24 brd + dev eth0
To add an IP address to device
eth0 with a label eth0:0:
# ip address add 192.168.99.37/24 brd + dev eth0 label eth0:0