linux IP address (change)
Benjamin Franz
snowhare at nihongo.org
Wed Aug 23 14:33:03 UTC 2006
On Wed, 23 Aug 2006, Matthew Benjamin wrote:
> What is the easiest way from command line to set or change the IP address of
> a linux box (FC4)?
The _easiest_ way, assuming you only have one network interface, is to run
'netconfig' and then run 'service network restart' (both as 'root').
While editting /etc/sysconfig/network-scripts/ifcfg-eth0 (assuming that
you have an ethernet connection) will work fine and permanently - it
doesn't qualify as the _easiest_ way to set/change it for a simple
configuration.
--
Benjamin Franz
"It is moronic to predict without first establishing an error rate
for a prediction and keeping track of one’s past record of accuracy."
-- Nassim Nicholas Taleb, Fooled By Randomness
More information about the fedora-list
mailing list