The only way they can know is by the NIC address of the first network device connected to the cable modem. Routers can be told to clone the address of the computer that used to be connected to the modem.
Actually it's the MAC address of the NIC that is registered.