I found a syntax for adding temporary alias to an interface:
ifconfig en0 192.168.1.3 netmask 255.255.255.0 alias
But I can't find a command to remove it.
Could it be that I only need to add - before alias?
Tnx!
I found a syntax for adding temporary alias to an interface:
ifconfig en0 192.168.1.3 netmask 255.255.255.0 alias
But I can't find a command to remove it.
Could it be that I only need to add - before alias?
Tnx!
if you need to delete alias, use this command
ifconfig en0 192.168.1.3 netmask 255.255.255.0 delete