Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Resources > Guides & Solutions (No Questions)
FedoraForum Search

Forgot Password? Join Us!

Guides & Solutions (No Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 5th July 2007, 12:45 PM
mnisay Offline
Registered User
 
Join Date: May 2005
Location: PH
Posts: 696
Talking beginners CLI guide for static IP address

http://vertito.blogspot.com/2007/07/...static-ip.html
Reply With Quote
  #2  
Old 5th July 2007, 01:44 PM
jim Offline
Retired Community Manager & Avid Drinker Of Suds
 
Join Date: Feb 2005
Location: Rochester NY
Age: 39
Posts: 4,175
Very quick way is to run system-config-network even if you only have the shell. This still pops up a easy to use interface to make changes. No need to edit a file and possibly screw it up. Also there are other commands in other distros you can use, netconfig like in CentOS, slak etc..
__________________
Registered Linux User: #376813
Western NY
My linux site
Smolt Profile

please remember to say if you problem was solved

Did you get your id10t award today?
Reply With Quote
  #3  
Old 5th July 2007, 01:54 PM
mnisay Offline
Registered User
 
Join Date: May 2005
Location: PH
Posts: 696
just incase the ssh connection is remotely without X11 forwarding and X loaded (which is my case),
that would be

# system-config-network-tui

thanks for the added info jim!
Reply With Quote
  #4  
Old 13th July 2007, 03:30 AM
akvino Offline
Registered User
 
Join Date: Mar 2007
Posts: 73
Good one, just a question

when configuring static address in the ifcfg-eth0 file what does
NETWORK= stand for

and in network file is it appsolutly necesary to put GATEWAY

I had a problem where I had put gateway address in ifcfg-eth0 file under
NETWORK="gatewayaddress"
and afterwards was cut out of the internet/network
Reply With Quote
  #5  
Old 13th July 2007, 09:10 AM
mnisay Offline
Registered User
 
Join Date: May 2005
Location: PH
Posts: 696
Inside the ifcfg-eth0, the "NETWORK" stands for the network broadcast IP address or network class address. This is with relation with IP subnetting (NETMASK) and network broadcaset as well. Usually for full class network class address, the IP address to specify with NETWORK is your IP address but removing the last octet number and replacing it with zero (0).

Basically, if your IP address is 192.168.1.10 and your netmask is 255.255.255.0 for example , you may put 192.168.1.0 for your full NETWORK class address or broadcast.

The "GATEWAY" from /etc/sysconfig/network is optional and case to case basis depending on your box setup. Some boxes are being setup as multihomed linux box, some are for desktop usage only. You can specify your gateway IP address using GATEWAY=yourgatewayip like so

GATEWAY=192.168.1.1

Moreover you can put this from /etc/sysconfig/network or /etc/sysconfig/network-scripts/ifcfg-eth0 without any excess character.

Hope this helps.

Last edited by mnisay; 13th July 2007 at 09:13 AM.
Reply With Quote
  #6  
Old 16th July 2007, 08:35 PM
akvino Offline
Registered User
 
Join Date: Mar 2007
Posts: 73
mnisay - THANK you a lot - I was able to resolve the problem last week thanks to your post, and your explanation helped me undertand some of the critical settings. Thanks.
Reply With Quote
  #7  
Old 16th July 2007, 09:20 PM
mnisay Offline
Registered User
 
Join Date: May 2005
Location: PH
Posts: 696
everybody's welcome here, no need to enter thru window$ , the doors are always open for linux ethusiasts like you,
Reply With Quote
Reply

Tags
address, beginners, cli, guide, static

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for Beginners guide jac2 Using Fedora 5 28th February 2007 01:48 AM
Q: Is there a "beginners guide to ..." leighmgardner Security and Privacy 3 17th November 2005 04:01 AM
Fedora Core beginners guide philip_w Using Fedora 5 10th June 2005 07:26 AM
Unofficial Fedora Core 2 Guide for Beginners tux2furious Guides & Solutions (No Questions) 27 24th June 2004 08:04 AM


Current GMT-time: 19:12 (Monday, 01-09-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat