I need to set my IP to stay what it is listed below.
***********************************
root@carlos:/# ifconfig
eth0 Link encap:Ethernet HWaddr 00:04:61:58
A:5D
inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::204:61ff:fe58:da5d/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:16323 errors:0 dropped:0 overruns:0 frame:0
TX packets:12252 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:15152065 (14.4 Mb) TX bytes:1941797 (1.8 Mb)
Interrupt:5
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:34 errors:0 dropped:0 overruns:0 frame:0
TX packets:34 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2180 (2.1 Kb) TX bytes:2180 (2.1 Kb)
*************************************
As you can see my dynamic (local) IP is 192.168.1.101 & I need to make sure that this remains reguardless how many reboots are done and no matter what happens. Is there a way to set this via CLI?
Thanks for any info!