Added support for ipv6.
Added static ip config.