Recent Changes - Search:


Code:


Social:


My journals will take the place of a blog. If you go to the Journal page there is an RSS feed to subscribe with.

« September 2017 
SunMonTueWedThuFriSat
     12
3456789
10111213141516
17181920212223
24252627282930

Sites I take responsibility for

West Volusia, Florida

Documents

Technical

General

Me

Living

Places I frequent

Hobbies

Humor

Items for sale:


Clipboard

edit SideBar

Change a hosts name or IP address in Redhat Linux

Include our styles below Infobox - invoke as >>infobox<< ... >><<

Codebox: - invoke as >>codebox<< ... >><<

warnbox: - invoke as >>codebox<< ... >><<

editingbox: - invoke as >>codebox<< ... >><<

noticebox: - invoke as >>codebox<< ... >><<

Page bread crumbs: Welcome to ke3vin.org! - My Public Technical Notes - Software And Operating Systems - Linux - Redhat - All - Change A Hosts Name Or IP Address

Pages by tags: (:listtags:)
Subscribe to this wiki: RSS Feed RSS or subscribe to this page for changes: RSS Feed RSS
496 articles have been published so far. Recent changes
Share

2016-03-22: This site is being moved to my main site at https://kevininscoe.com/wiki as part of a consolidation to one domain.


Hostname:

Edit /etc/sysconfig/network

 HOSTNAME=redhat9

Edit /etc/hosts

 127.0.0.1       redhat9       localhost.localdomain   localhost

If you want to do without rebooting (but I recommend you test this by rebooting):

 # hostname redhat9

IP address and/or gateway:

 # Edit /etc/sysconfig/network-scripts/ifcfg-eth0

 DEVICE=eth0
BOOTPROTO=static
IPADDR=10.137.154.27
NETMASK=255.255.255.0
ONBOOT=yes
GATEWAY=10.137.154.1
IPV6INIT=no
TYPE=Ethernet
ETHTOOL_OPTS="autoneg off speed 100 duplex full"
HWADDR=00:14:4f:79:14:a4 # Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) DEVICE=eth0 BOOTPROTO=static BROADCAST=155.44.231.255 HWADDR=00:14:4F:8C:E0:F4 IPADDR=155.44.231.40 NETMASK=255.255.255.0 NETWORK=155.44.231.0 ONBOOT=yes GATEWAY=155.44.231.3 TYPE=Ethernet IPV6INIT=no TYPE=Ethernet ETHTOOL_OPTS="autoneg off speed 100 duplex full"

(:tags Redhat:)


Kevin's Public Wiki maintained and created by Kevin P. Inscoe is licensed under a
Creative Commons Attribution 3.0 United States License.

Back to my web site - http://kevininscoe.com

Edit - History - Print - Recent Changes - Search
Page last modified on December 14, 2009, at 11:38 AM EST