7
Changing Network Identity
Assuming that you have successfully executed at least one of the techniques discussed in the previous chapter, you will now have a foolproof way of discovering the MAC address of every one of your workstations. It is worth reiterating the significance of being able to extract this seemingly inert 32-bit word: it serves as a unique identifier, a serial number for each workstation. Armed with this number, you have a way of differentiating between machines that could be identical in every other way.
At the end of the last chapter, we listed a script that used two network utilities (ping and arp) to extract the MAC addresses from all workstations on a subnet; the script wrote out those addresses, along with IP and NetBIOS/hostname mapping to a file. We called the file address.mac. In this chapter, we demonstrate how a file such as address.mac can be used to carry out a drastic configuration change on a set of workstations: namely, to change their network identity.
There are many scenarios in which it is necessary to change the identity of a single workstation. By contrast, in most environments there are relatively few situations in which it is necessary to change the network identity of a whole set of workstations. However, if such a situation does arise, the ability to automate the process can be invaluable. Three such situations immediately spring to mind:
- You are deploying a set of workstations for the first time and the operating system has been installed ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access