Take source IP as a parameter of net_init