[hadoop@hadoop000 Desktop]$ cat /etc/sysconfig/network-scripts/ifcfg-eth0
eEVICE="eth0"
BOOTPROTO="static"
HWADDR="00:0C:29:D6:67:B6"
NM_CONTROLLED="yes"
ONBOOT="yes"
TYPE="Ethernet"
UUID="01786dd9-7107-44d7-ad97-a82411385918"
NM_CONTROLLED=no
PEERDNS=no
IPADDR=192.168.199.150
GATEWAY=192.168.199.1
DNS1=8.8.8.8
DNS2=192.168.1.1
NETMASK=255.255.255.0
[hadoop@hadoop000 Desktop]$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
link/ether 00:0c:29:f8:f9:e8 brd ff:ff:ff:ff:ff:ff
3: pan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
link/ether 26:2a:8c:2a:c1:65 brd ff:ff:ff:ff:ff:ff