Posted by: alex in Insights
The file located in /etc/sysconfig/networking/profiles are created by the GUI network interface management tool. These files should not be edited manually and when changes need to be made they should be made directly to the files as shown below. CentOS 5 is easy to get around from the command line and it is beneficial to understand each of the below files if you are going to manage a server.
Need to make a change to hostname?
First modify /etc/sysconfig/network and modify the following line:
HOSTNAME=your.hostname.here
Read the rest of this entry »
Tags:
CentOS,
Ethernet,
hostname,
hosts,
interface,
IP,
ip address,
network,
network interface,
networking,
sysconfig
No Comments »
Posted by: alex in Insights
Recently I was assisting a company set up a new network. This particular company had multiple drops connected to different routers and each server had at least two Network Interface Cards(NICs). The servers were CentOS version 5.2 and seemed to be having trouble routing out one network or the other depending on how the default route was set. I have set this up multiple times in the past and never had an issue though it has been a couple years since I configured this successfully. A colleague at the company I was working with found an article which you can read by clicking here. The article describes how to create more complex routing scenarios that create default routes per network interface (in this case eth0 and eth1) to fire off when the server reboots. The article was not the easiest to find in the manner we were looking for it so i wanted to provide a more convenient means to locate this article.
Tags:
CentOS,
eth0,
eth1,
network interface,
networking,
NIC,
redhat,
routing,
server
No Comments »