Set vhost ip-address, prefix and gateway on init.