DHCP relay IP and gateway IP, possible bad logic?