Page 1 of 1

Server Move - VM Question

Posted: Thu Feb 06, 2014 11:06 am
by Pilly170
Hi,

I have moved nagios VM from a hyper-V to Xenserver.

All looks ok, It boots, I can login. but the network doesnt seem to be working.

I was using this:
http://exchange.nagios.org/directory/Tu ... on/details

I got to ifdown eth0
Says "Device Eth0 has mac address xxxxxxx, instead of configured address xxxxxx . ignoring

Any ideas how to overcome?

Re: Server Move - VM Question

Posted: Thu Feb 06, 2014 11:53 am
by abrist
You may need to alter the network settings in centos. What are the contents of the ifcfg network config files?

Code: Select all

cat /etc/sysconfig/network-scripts/ifcfg-eth*
You may need to remove the mac address from the files. If this server has more than one nic, it may be assigning the nics in a different order under xen than it did under hyper-v.

Re: Server Move - VM Question

Posted: Thu Feb 06, 2014 12:09 pm
by Pilly170
Image

So I assume I have to remove the hardware entry... any ideas?

Re: Server Move - VM Question

Posted: Thu Feb 06, 2014 12:27 pm
by Pilly170
I edited the file. rebooted and it seems to work.

Re: Server Move - VM Question

Posted: Thu Feb 06, 2014 12:28 pm
by abrist
Try removing/commenting out the HWADDR line by adding a '#' to the front of the line. Afterwards, reboot the server or restart networking.