Gateway and subnet