[CentOS] More on Re: Really changing the hostname

Fri Feb 15 18:35:38 UTC 2013
Les Mikesell <lesmikesell at gmail.com>

On Fri, Feb 15, 2013 at 12:26 PM, Robert Moskowitz <rgm at htt-consult.com> wrote:
>

> And when you edit ifcfg-eth0 what command restarts the interface?

ifdown eth0
ifup eth0

If you are changing related routes or the MAC address, do the down
before the change so the right values are seen.  If you change
something that doesn't affect the address you can usually stay
connected if you put both commands on one line with a ; separator.

-- 
  Les Mikesell
    lesmikesell at gmail.com