LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem in saving Static IP address in Fedora 10 (LFY) (https://www.linuxquestions.org/questions/linux-newbie-8/problem-in-saving-static-ip-address-in-fedora-10-lfy-696743/)

vsayanam 01-12-2009 10:00 AM

Problem in saving Static IP address in Fedora 10 (LFY)
 
This is my first posting...
In the latest LFY issue, Fedora 10 DVD is available. I could install successfully but have problem with saving Static IP Address in the Network Device Control. Anyone can please suggest what I should do now?
Thanks in advance.

linuxlover.chaitanya 01-13-2009 02:55 AM

You can edit the file /etc/sysconfig/networ-scripts/ifcfg-eth0 manually to assign the IP address to the interface eth0. It could be different if you have more than one cards. By default it should be eth0.

your_shadow03 01-13-2009 02:59 AM

You can entry in the following format for corresponding ethernet card and restart the network


DEVICE=eth0
IPADDR=208.164.186.1
NETMASK=255.255.255.0
NETWORK=208.164.186.0
BROADCAST=208.164.186.255
ONBOOT=yes
BOOTPROTO=none
USERCTL=no

chakka.lokesh 01-13-2009 03:01 AM

try the following command as root:

/sbin/ifconfig eth0 a.b.c.d


All times are GMT -5. The time now is 05:46 AM.