Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

Question

change IP and hostname in red hat linux es5

Jul 19, 2011 9:47PM PDT

how I can change IP and hostname in red hat linux es 5 command mode , not in desktop GUI??? please advice in detailed

Discussion is locked

- Collapse -
Answer
Not to duplicate the web but how about ifconfig?
Jul 20, 2011 4:16AM PDT
- Collapse -
Answer
this way
Jul 20, 2011 9:54PM PDT

ifconfig ethx address x.x.x.x
hostname name

Replace ethx, x.x.x.x and name with what you need or have. You need to be root to use this.
Be sure you know what you are doing net might stop working after this!