Changed variable $ip to $bound_nic