Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 12-27-2003, 05:18 AM   #1
LQ Newbie
Registered: Jul 2003
Location: India
Posts: 8

Rep: Reputation: 0
Question configuring LAN

hi all. i need to configure my LAN. i have installed RH linux 9.everything went fine during installation but while configuring network, i couldn't understand the concept of hostname and netmasking. i read about giving ip addresses and kept it as for my server. all other pc's in the network have windows installed in the local machine.i need to work through telnet.(dont worry, not connected to outside world) and all the ip addresses in the windows machine have ip's 192.168.3.xx
my question is -
1. how can i configure my network.(there is no problem in the hardware and the network)
2. what ip addresses should i give for the server and the hostname and the netmask, gateways, etc.
3. what entries should i put in the /etc/hosts file? what is hostname for pc's which have windows installed?
4. how to check whether telnet is working or not.

thanks in advance.
Bangalore, india
Old 12-27-2003, 06:50 AM   #2
Registered: Apr 2003
Location: Madrid
Distribution: RHEL, Kubuntu, Solaris, TRU64
Posts: 382

Rep: Reputation: 31
if you are not connecting to the internet, then you can stay with the 192.168 range of IP's:

What I'd do: --> "network" IP address (reserved) --> "gateway" IP address (not reserved, but leave it for future use.) --> linux server to --> use for windows PCs. --> "gateway" IP address (not reserved, but leave it for future use.) --> "broadcast" address (reserved).

This way, you keep some IP's (3 to 19) for adding more servers and knowing they are servers, and you keep all PC's at the range 20 to 253.

If you get dhcp to work on the linux server, you can let it hadle assignment of IP address for PC's automagically for the range you provide (i.e. 20 to 253)

You can set the mask on all machines to
NOTE: If you use 192.168.3.X instead of 192.168.0.X for the machines, and a mask of, then note that using a 192.168.0.X will not mix well with 192.168.3.X IPs
and viceversa.
Consider the third 255 as a constraint for the IP to mix when the third element of the IP changes.


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
configuring for internet thru lan jared78 Linux - General 4 05-11-2005 06:13 PM
configuring LAN TiCkO Linux - Networking 1 03-02-2005 03:22 PM
configuring wireless lan on redhat 9 adityabhat2 Linux - Laptop and Netbook 1 02-13-2005 04:25 PM
Help on configuring Lan browsing balam Linux - Networking 1 12-07-2002 08:02 AM
Configuring Apache for LAN only use Jase Linux - Networking 3 05-17-2001 12:47 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:16 PM.

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