LINUX Getting the IP Address Using DHCP

Getting the IP Address Using DHCP
[root@bigboy tmp]# cd /etc/sysconfig/network-scripts
[root@bigboy network-scripts]# vi ifcfg-eth0

#
# File: ifcfg-eth0
#
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes



After configure finished type:
[root@bigboy network-scripts]# ifdown eth0
[root@bigboy network-scripts]# ifup eth0

to detect new configure

Comments

Popular posts from this blog

LINUX Move and copy files using SSH

PHP Predefined Variables

Java : Variables Declaring