adding hex-based assignment for ipv6 etc.