Here is how you work with NetReg.

Login in as cl0x or your own Andrew user.

NetReg will tell you when the next DHCP server update happens on the signout page, so the "Wait for DHCP to propagate." step can be simplified by just hitting "Signout" and noting the listed time.

Register a virtual machine

  1. Click Register New Machine.
  2. Select "Subnet: Computer Club" and click Continue.
  3. Fill in the hostname of the machine, and choose "CLUB.CC.CMU.EDU" as the suffix.
  4. Do not fill in the MAC address.
  5. Click Continue at the bottom of the page.
  6. Reopen the page for that record.
  7. Generate the MAC address from the IP that is assigned to the machine, with the following shell command:
    •     printf "0000%02x%02x%02x%02x\n" 128 237 157 XXX
          # This corresponds to Cray ethernet hardware, which will never be in B6 anyway
  8. Fill in that MAC address.
  9. Click update at the bottom of the page.
  10. Wait for DHCP to propagate.

Register a physical machine

  1. Click Register New Machine.
  2. Select "Subnet: Computer Club" and click Continue.
  3. Fill in the hostname of the machine, and choose "CLUB.CC.CMU.EDU" as the suffix.
  4. Fill in the MAC address of the physical machine;
    • use the one corresponding to the first numbered ethernet port on the back of the machine, and make sure to plug the ethernet cable into that port as well.
  5. Click Continue at the bottom of the page.
  6. Wait for DHCP to propagate.

Obsolete workaround to enable PXE boot (not needed anymore)

This is now unnecessary, because we told Computing Services to change the defaults for all machines to match this, so we no longer have to specifically set it.

  1. Reopen the page for the record you have created.
  2. Click the "View Advanced Options" link.
  3. Scroll down to the "DHCP Options" section and click the "Add DHCP Option" link.
  4. Use this to add two options:
    •     filename: "/netinstall-wheezy/debian-installer/amd64/pxelinux.0"
          next-server: storage-2.club.cc.cmu.edu
  5. Wait for DHCP to propagate.

Common Maintenance Tasks/Working with NetReg (last edited 2015-02-09 21:50:22 by tparenti@CLUB.CC.CMU.EDU)