Los Angeles1
asked on
RHEL, how do I change IP address
I am running on RHEL 6.4
I do not have a GUI
How do I change my IP address
Thanks
I do not have a GUI
How do I change my IP address
Thanks
modify the /etc/sysconfig/network-scr ipts/ifcfg -eth? generally ifcfg-eth0 file.
You have to change the IP address entry in /etc/sysconfig/network-scr ipts/ifcfg -eth0
save and run: service network restart
save and run: service network restart
Another way is with DHCP reservations. What is acting as your DHCP server?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
you can set #ifconfig eth0 192.168.1.1 netmask 255.255.255.0, but it will not permanent, for that you have to change the configuration file
/etc/sysconfig/network-scr ipts/ifcfg -eth0
You have to make changes in above file, according to the device ifcfg-eth0 , ifcfg-eth1 ...
/etc/sysconfig/network-scr
You have to make changes in above file, according to the device ifcfg-eth0 , ifcfg-eth1 ...
ASKER
'setup' works great