Hello Everybody,
Has this happened with you that your server does not show eth0(The primary ethernet port) when you actually know it exists in your system?
NOTE: You would come across this when you run the command IFCONFIG
I mean even even you run these commands:
service network restart
OR
ifup eth0
You find your ethernet port is not working for some reason, so what do you do in that case.
After you have physically changed your network ID on your system. The same MAC ID appears on your system but you need to make the changes manually under your network path.
Run this command:
rm /etc/udev/rules.d/70-persistent-net.rules
So that it deletes your earlier interface rules and regenerates it as per the new MAC ID. For the same, you need to reboot your server
After your system is ready for use after rebooting, you will find a new MAC ID for your system being assigned to it.
Under this file
/etc/sysconfig/network-scripts/ifcfg-eth0
Add thew new HWADDR which is generated and remove UUID line.
Now try either of the two commands mentioned earlier to check if its fixed.
Has this happened with you that your server does not show eth0(The primary ethernet port) when you actually know it exists in your system?
NOTE: You would come across this when you run the command IFCONFIG
I mean even even you run these commands:
service network restart
OR
ifup eth0
You find your ethernet port is not working for some reason, so what do you do in that case.
After you have physically changed your network ID on your system. The same MAC ID appears on your system but you need to make the changes manually under your network path.
Run this command:
rm /etc/udev/rules.d/70-persistent-net.rules
So that it deletes your earlier interface rules and regenerates it as per the new MAC ID. For the same, you need to reboot your server
After your system is ready for use after rebooting, you will find a new MAC ID for your system being assigned to it.
Under this file
/etc/sysconfig/network-scripts/ifcfg-eth0
Add thew new HWADDR which is generated and remove UUID line.
Now try either of the two commands mentioned earlier to check if its fixed.
Comment