Wednesday, March 27, 2013

Fix for CentOS6.3 networking issue

Things to check.

Check whether the network interface is there(eg:/etc/sysconfig/network-scripts/ifcfg-eth0). If not create it. The necessary entries in the file are given below.

Code: [Select]

Then, you need to check whether the file "/etc/sysconfig/network" is present. If it is not, create it. The necessary entries are given below.

Code: [Select]
GATEWAYDEV=<value> normally eth0 or venet0

In most cases, if these entries are there, the networking should be up and working when you issue the command "/etc/init.d/network/restart".

If you are still seeing errors, then you should chek whether the respective NIC drivers are loaded. The issue can be caused due to some Kernals where networking is not supported. In such cases, you can try another kernal. In hostavps, from the solusVM, you can try enabling the PXE kernal, if needed.

That would fix your issues. Let me know if you have doubts.

No comments:

Post a Comment