"Martin Underwood" <(E-Mail Removed)> wrote in message
news:442a4f02$0$3593$(E-Mail Removed)...
> A customer has an NTL cable modem with an Ethernet port. This is conneced
> to a PC. Everything works fine: the PC gets an IP address from the modem.
Actually, no, it doesn't. A cable modem is a bridge; DHCP requests are
broadcast onto the cable network. In NTL's case at least, requests are
relayed by the CMTS to a DHCP server. This point has some relevance; see
later.
> But if I disconnect the PC and connect any other PC in its place, that
> new PC times out while trying to get an IP address.
[snip]
> Could the modem be configured in some way to talk to one MAC only?
When the cable modem boots up, it downloads a configuration file from the
ISP. Amongst other things, this configuration file may contain a setting for
the maximum number of CPE MAC addresses, which is normally one.
The modem maintains a list of MAC addresses it has seen, which is empty when
the modem first boots up. Whenever it sees a packet, it checks if the source
MAC address is in the list. If not, it is added, but only if the size of the
list would not then exceed the CPE addresses limit. If the address was not
in the list and could not be added, the packet is dropped. Otherwise, it is
handled normally (which typically means bridging it to the cable network).
With the typical CPE limit of one, the effect is that the modem "latches
onto" the first MAC address it sees after booting up. All you need to do to
swap computers is cause the modem to reboot and avoid it latching onto the
original computer.
Partly because of "media sense" in Windows, a suitable sequence is:
1. Power down the modem.
2. Unplug the Ethernet cable from the first computer.
3. Power up the modem.
4. Wait for the modem to enter the operational state. (How this is
indicated varies between modems.)
5. Plug the Ethernet cable into the second computer, triggering a DHCP
exchange.
The first two steps can be done in either order. Or even simultaneously, if
you really want to

.
It is not necessary (or even desirable) to unplug the coax connection. It is
not typically necessary to wait any appreciable amount of time with the
modem powered off. The reason for step 4 is that the DHCP request triggered
in step 5 may time out before the DHCP server is reachable.
Alex