Page 1 of 1
No IP Address
Posted: Fri Feb 14, 2020 3:35 pm
by lance.peterson
I had to move my hard drive/VM files to a new CSV on my HyperV Cluster. After the move, the Nagios server doesn't get an IP address. It apparently gave it a new MAC address on Eth 0.
What is the best way to fix this so I can access my Nagios Deployment?
I'm very much a Linux Beginner/Novice.
Re: No IP Address
Posted: Fri Feb 14, 2020 4:18 pm
by jdunitz
I heard you got your problem solved in your ticket, so we'll close this thread.
For the benefit of anyone else who comes across this issue, CentOS6 has the MAC address in the /etc/sysconfig/network-scripts/ifcfg-eth0 file,
and possibly also /etc/udev/rules.d/70-persistent-net.rules. These files need to be fixed a bit when the MAC addr changes.
The following may be helpful:
fixing ifcfg-eth0:
https://superuser.com/questions/1187071 ... -in-centos
fixing udev:
http://frodo.looijaard.name/article/ude ... ac-address
same thing, explained a bit differently:
https://support.siliconmechanics.com/po ... entos-rhel
Glad you're back up and running!
--Jeffrey