Quote:
Can some one tell me how to add IP address on Linux Centos?
|
By default it takes the IP from the ISP's DHCPas soon as you are connected to a network. if you want to assign an IP manually:
#system-config-network
firing this from command line will give you a GUI interface.
OR
Code:
vi /etc/sysconfig/network-scripts/ifcfg-eth0
and make below changes:
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
NETMASK=255.255.255.0
IPADDR=x.x.x.x # mention your IP address here
save and quit
restart the network service.