Linux: add/remove IP address from network device 

There are 2 notes for this topic, click above title to see all notes.
Joined:
04/19/2010
Posts:
97

June 23, 2011 11:44:00    Last update: June 23, 2011 11:44:00
To remove an IP address:
# 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
Share |
| Comment  | Tags