Howto reset network device after swapping disks from one PC to another

I had a problem with a very old Compaq PC not detecting the keyboard anymore. I used the PC as a local server, not a real problem, except that the BIOS didn't allow the PC to boot when the keyboard was not plugged in. One solution there might have been to use some USB keyboard (I didn't get a chance to try that - didn't have any USB keyboard lying around). Luckily enough, I happened to have a clone of this computer, so I just swapped the disks from one PC to the other, and booted.