LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-18-2004, 11:12 AM   #1
moonmoth
Member
 
Registered: Nov 2004
Location: Tallahassee, FL
Distribution: Fedora Core 15
Posts: 95

Rep: Reputation: 17
Assigning IP numbers on home network


I was previously running a home network (three computers) with Windows. I am trying to move to Linux. In configuring the network, I need to tell Linux what the numbers (such as 192.168.0.5) are for the different computers. It tells me that if I do not know such stuff, then I should contact my Network Administrator. Trouble is, I are him. :-( Probably what I need is to be pointed to a good howto or tutorial on this. (Along the lines of teaching me how to fish, rather than just giving me one.)

Thanks for any help.
John (a newbie, but coming along)
 
Old 11-18-2004, 11:20 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
ip-address is set when you set up your ethernet-card, with commands such as ifconfig and after it, route. other ips and their hostnames are set in /etc/hosts..like

ifconfig eth0 192.168.1.1 netmask 255.255.255.0 up
route add ...etc...etc...etc...

that's a start. use google to find more stuff on how to get your network up and running, or read the man for route and ifconfig.
 
Old 11-18-2004, 11:20 AM   #3
ashjam10
Member
 
Registered: Sep 2003
Location: UK
Distribution: Mandrake 10.0
Posts: 121

Rep: Reputation: 15
So long as each PC has a different IP, they can be anything within the 192.168.0.xxx range.

It would be useful to know exactly what your setup is, are you using a router? If so, the router IP needs to go in the "gateway" setting for each of the PCs. The "Subnet mask" should be set to 255.255.255.0 and DNS server is usually fine set to your router's IP.
 
Old 11-18-2004, 11:28 AM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Re: Assigning IP numbers on home network

Quote:
Originally posted by moonmoth
I was previously running a home network (three computers) with Windows. I am trying to move to Linux. In configuring the network, I need to tell Linux what the numbers (such as 192.168.0.5) are for the different computers. It tells me that if I do not know such stuff, then I should contact my Network Administrator. Trouble is, I are him. :-( Probably what I need is to be pointed to a good howto or tutorial on this. (Along the lines of teaching me how to fish, rather than just giving me one.)

Thanks for any help.
John (a newbie, but coming along)
Since you're on RH you probably want to use
their wizards to make those changes permanent.

Try something like
system-config-network from a command-line, or
locate the network wizard in the Gnome GUI.

About the kind of addresses that you use: That
heavily depends on what network gear you're
using, if you, for example, happen to have an
ADSL router it may well be that it hands out
IPs to your machines via DHCP, in which case
you just need to chose DHCP in the network
setup tool. If they are manually set-up you can
basically chose random IP addresses in the
192.168.x.y range as long as you make sure
that all machines have the same x and different
y (and both of x and y are 0 < n < 255 ...



Cheers,
Tink
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Home network setup with network firewall/router Gates1026 Linux - Networking 4 01-17-2005 08:26 PM
Home Network Similar to Work Network Boffy Linux - Networking 2 08-05-2004 06:52 PM
Adding numbers, break on non-numbers... Cruger Programming 1 03-22-2004 09:18 AM
Assigning ip to network device Jestrik Linux - Networking 9 01-09-2004 03:11 PM
Newbie wanna setup up a linux network on existing home network... marvc Linux - Networking 3 03-19-2003 09:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration