07
Jul
07

Centos Networking

1. Configure interface in centos is difference from ubuntu. The configuration file is /etc/sysconfig/network-scripts/ifcfg-eth0.
Samples configuration for eth0:
DEVICE=eth0
BOOTPROTO=static
HWADDR=00:90:27:1C:C2:CB
ONBOOT=yes
TYPE=Ethernet
IPADDR=172.24.236.152
NETMASK=255.255.0.0
BROADCAST=172.24.255.255
GATEWAY=172.24.231.1

Restart service network by command: /etc/init.d/network (or service network) restart

2. Edit host name in file /etc/sysconfig/network


0 Responses to “Centos Networking”



  1. No Comments Yet

Leave a Reply