Re: linux IP address (change)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Matthew Benjamin wrote:
What is the easiest way from command line to set or change the IP address of a linux box (FC4)?

One-off:

ifconfig eth0 123.123.123.123 netmask 255.255.255.0

The Redhat Way so it will survive reboots:

edit (it's a text file) /etc/sysconfig/networking/devices/ifcfg-eth0

then

ifdown eth0 ; ifup eth0

to get the new settings

-Andy

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux