Entries by talebi_it@yahoo.com

CentOS network configuration

You can configure network interface by editing configuration files stored in /etc/sysconfig/network-scripts/ directory. Lets configure the first network interface eth0. Edit the interface configuration file. # vi /etc/sysconfig/network-scripts/ifcfg-eth0 (if file doesn’t exist, create it with name of ifcfg-ethx) Append/Modify as follows: For a system using a Static IP Address DEVICE=”eth0″ BOOTPROTO=”none” ONBOOT=”yes” IPADDR=”192.168.1.15″ NETMASK=”255.255.255.0″ GATEWAY=”192.168.1.1″ For a […]