So I have an interface listening on a few ip addresses, as listed in /etc/ifaliases. I want to to drop one of these ip addresses. after removing the address from the list, how do I get the machine to drop the address, without rebooting the machine?
I'm doing this remotely, so I need to do this without cutting myself off at the knees by bringing the interface down with one command, and back up again, since once it goes down I won't be able to bring it up...
thanks!
-mike
I'm doing this remotely, so I need to do this without cutting myself off at the knees by bringing the interface down with one command, and back up again, since once it goes down I won't be able to bring it up...
thanks!
-mike
-
Re: how do I get an interface to drop an alias in /etc/ifaliases?
Fri, May 27, 2005 - 5:33 PMcheck the -alias keyword in the ifconfig manpage. I believe it does what you want it to do.
B