LinuxQuestions.org
Help answer threads with 0 replies.
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, 12:12 PM   #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, 12:20 PM   #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, 12:20 PM   #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, 12:28 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 09:26 PM
Home Network Similar to Work Network Boffy Linux - Networking 2 08-05-2004 07:52 PM
Adding numbers, break on non-numbers... Cruger Programming 1 03-22-2004 10:18 AM
Assigning ip to network device Jestrik Linux - Networking 9 01-09-2004 04:11 PM
Newbie wanna setup up a linux network on existing home network... marvc Linux - Networking 3 03-19-2003 10:02 PM


All times are GMT -5. The time now is 08:08 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration