configure ipv4/6 in config file