<br><br><div><span class="gmail_quote">On 8/23/06, <b class="gmail_sendername">Brad Bonkoski</b> <<a href="mailto:bbonkoski@mediaguide.com">bbonkoski@mediaguide.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><br>Ankush Grover wrote:<br>> On 8/23/06, Matthew Benjamin <<a href="mailto:msbenjamin12@gmail.com">msbenjamin12@gmail.com</a>> wrote:<br>>> What is the easiest way from command line to set or change the IP
<br>>> address of<br>>> a linux box (FC4)?<br>>><br>>> --<br>> edit this file<br>><br>> /etc/sysconfig/network-scripts/ifcfg-eth0 (for eth0) and change the<br>> value of IPADDR to whatever address you want to put
<br>><br>> for example<br>> IPADDR=<a href="http://192.168.1.125">192.168.1.125</a><br>><br>> Regards<br>><br>> Ankush Grover<br>><br>The above will make the setting permanent (of course you will also have
<br>to run:<br>/sbin/ifconfig eth0 down<br>/sbin/ifconfig eth0 up<br><br><br>if you just want to *test* a new setting (i.e. not permanent)<br>/sbin/ifconfig eth0 192.268.1.111 netmask <a href="http://255.255.255.0">255.255.255.0
</a><br>is the command.<br>-B<br><br>--<br>fedora-list mailing list<br><a href="mailto:fedora-list@redhat.com">fedora-list@redhat.com</a><br>To unsubscribe: <a href="https://www.redhat.com/mailman/listinfo/fedora-list">https://www.redhat.com/mailman/listinfo/fedora-list
</a><br></blockquote></div><br>can you add a switch to the ifconfig command to make it permanent?<br clear="all"><br>-- <br>mB.