Add setup variable to represent default network interface and fix bug in IPv6 setup