Parallels Multihoming a CentOS Server

I wanted to be able to have two NICs on a virtual machine using CentOS. I already had one so I just needed to add a 2nd one.

It was suggested to delete the cached network connections by executing:

rm /etc/udev/rules.d/70-persistent-net.rules

First I had to power down the machine. Then from the Configure window on that VM I was able to add a new Network Card.  The 2nd card is going to be set up using Host-Only connection.

Under the Parallels Preferences window I needed to make sure that DHCP was enabled for the Host-Only network.

I did my boot up.  I had to create a new configuration file under /etc/sysconfig/network-scripts.  I simply copied the existing one and just edited it.

cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth1 

After I was done making the changes I restarted the network service and the new card was able to pick up and IP address

service network restart