Operating System - HP-UX
1823063 Members
3166 Online
109645 Solutions
New Discussion

Using ifconfig with alias. Can alias's be downed and dropped?

 
SOLVED
Go to solution
Jack C. Mahaffey
Super Advisor

Using ifconfig with alias. Can alias's be downed and dropped?

We use ifalias for 10.30 to dynamically add an IP alias. With 11.00, ifconfig appears to offer the same functiality. Examples, however, only showing the adding of alias's. Can the alias's be downed or dropped without losing the primary IP address? I assume
ifconfig lan0:1 down will down the alias while lan0:0 will still be up. What would I do to delete the lan0:1 alias?
Thanks in advance...
1 REPLY 1
Berlene Herren
Honored Contributor
Solution

Re: Using ifconfig with alias. Can alias's be downed and dropped?

use
#ifconfig lan0:1 0.0.0.0

Then check with
#netstat -in

Berlene
http://www.mindspring.com/~bkherren/dobes/index.htm