I recently got new network switches. These switches, HP Procurve 1800-24 (model J9028B), require an IP address and are administered via a web interface. I do not want the switch web interface exposed to the internet; they should only be administered from internal hosts. Therefore, I gave the switches private, non-routeable IP addresses (RFC1918). For hosts that will administer the switches, it is necessary to set up an IP alias on the private network.
For my Linux hosts, running CentOS, create an IP alias file, /etc/sysconfig/network-scripts/ifcfg-eth0:0 that looks like this:
DEVICE=eth0:0
BOOTPROTO=static
BROADCAST=192.168.X.X
IPADDR=192.168.X.X
NETMASK=255.255.255.0
ONBOOT=yes
Run service network start, and off you go.
For OS X, Bring up System Preferences, and select Network. On the left side, you’ll see the network interface(s). At the bottom, hit the + key to create a new interface. Set Ethernet as the interface and give it a name (Private network, for example). Configure the IP address manually with the private IP address.
For Windows, I followed the instructions here