How to remove a second IP address from the same interface?
Issue
- My interface is showing two IP addresses in the output of
ip addr show - The output of the command looks similar to:
bond0.200@bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue
link/ether 00:17:a4:77:38:38 brd ff:ff:ff:ff:ff:ff
inet 10.10.10.61/24 brd 10.10.10.255 scope global bond0.200
inet 10.10.10.177/24 brd 10.10.10.255 scope global secondary bond0.200:1
inet 10.10.10.221/24 brd 10.10.10.255 scope global secondary bond0.200:1
valid_lft forever preferred_lft forever
- How can I remove one of the IP addresses without taking down the entire bond?
Environment
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- VLAN tagging and virtual aliases on the interfaces.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
