On 2014-07-28 16:08, Andrew Z wrote:
> I have an apple os script, that creates an lo alias ( for example
> 127.112.113) and then ssh -p xxxx 127.112.113 <rest of the command>
>
> To begin with ifconfig doesn't work on creating aliases and according to
> rhel docs I need to copy ethXxx files if I want to create these aliases.
> Is there a better way, than to copy files, to achieve the same?
>
It's as simple as on apple/bsd.
ifconfig ethX:Y inet $IP/$CIDR
ifconfig ethX:Y del $IP
--
olli