gateway is now based on MAC (for consistance with node id = mac address)