Go Back   Computer Juice > Computer Software > Linux & Alternative OS
Register Points Site Spy New Posts Donate Unanswered Posts Search Forum Rules


Reply
 
LinkBack Thread Tools
  #1  
Old 30th Mar 2007, 11:51 PM
No Avatar
Adil M  disclosed
New Member Group
 
Adil M is offline
 
Join Date: 30th Mar 2007
Last Online: 30th Mar 2007 11:51 PM
Posts: 1
iTrader: (0)
Adil M is on a distinguished road
Default How to Assign permanent IP address to...

...eth0, FC4, LINUX.? hey guysi m using FC4, and tried to assign ip address to eth0 as#ifconfig eth0 10.1.5.255then everything works fine.BUT, when i restart my computer, the IP address is vanished, then i have to give IP address again and again after rebooting.Is there any way so that this IP address would be retained after rebooting PC?
Digg this postDel.icio.us this postReddit this post Stumble this postFacebook this post
Reply With Quote
  #2  
Old 31st Mar 2007, 12:46 AM
No Avatar
dzr0001  disclosed
New Member Group
 
dzr0001 is offline
 
Join Date: 31st Mar 2007
Last Online: 31st Mar 2007 12:46 AM
Posts: 1
iTrader: (0)
dzr0001 is on a distinguished road
Default How to Assign permanent IP address to...

You need to edit /etc/sysconfig/network-scripts/ifcfg-eth0 to look something like:DEVICE=eth0USERCTL=noONBOOT=yesBOOTPROTO=none BROADCAST=10.1.255.255NETWORK=10.1.0.0NETMASK=255. 255.0.0IPADDR=10.1.5.255and /etc/sysconfig/network to:NETWORKING=yesHOSTNAME=name.host.netFORWARD_IPV 4=yesGATEWAY=10.1.5.1On RedHat Enterprise there are scripts that would automate this for you, not certain if the script exists or is named the same in core 4. In RHEL4 its system-config-network.
Digg this postDel.icio.us this postReddit this post Stumble this postFacebook this post
Reply With Quote

Please support this forum, donate towards our running costs.
Reply

Thread Tools
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
IP address? Nic Networking, Modems & VoIP 3 17th Nov 2007 07:46 AM
i.p address antbann Networking, Modems & VoIP 1 2nd Nov 2007 07:43 AM
How do I change/get a new IP address on a quackerjackets Networking, Modems & VoIP 3 12th Jun 2007 01:42 AM
Changing IP address..... MikeDirt Virus, Spyware & Security 10 24th Apr 2007 11:57 AM
i like to get an other email address on ZAFAR I Email, VoIP & IM Discussion 5 1st Apr 2007 02:26 PM


Copyright ©2006 - 2008 Computer Juice.

Powered by vBulletin® Copyright ©2000 - 2008 Jelsoft Enterprises Ltd. SEO by vBSEO ©2008, Crawlability, Inc.