how to configure the static ip in RHEL 6 via terminal

Static IP configuration in linux Good Morning Friends

how to configure the static ip in RHEL 6

How to configure the static ip address configure in through the terminal here i will go to configure a linux ip address 192.168.1.4 and here my ip right click and open in terminal
192.168.88.129 to find a ip address give ifconfig command the configuration setup of ipaddress is in vi /etc/sysconfig/network-scripts/ifcfg-eth0
here the default configuration is mentioned as DHCP
so edit and enter the details below DEVICE="eth0"
BOOTPROTO="static"
HWADDR="00:0C:29:0F:4E:8E"
IPADDR="192.168.1.4"
NETMASK="255.255.255.0" MTU="1500"
NM_CONTROLLED="yes"
ONBOOT="yes"
once restart the service of network connection now reboot and check x`

Comments

Popular posts from this blog

Enable the SSL in jetty web server

How to install Edubuntu in Windows through oracle VM

How to configure the apache2 in the ubuntu 16.04 Step by Step