replace $ipaddr to $effective_ipaddr
now we can pass array of string to ipaddr parameter for STATICALY assign multiple IPs to one interface