LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-07-2001, 09:28 PM   #1
fed007
LQ Newbie
 
Registered: Aug 2001
Location: Canada
Distribution: RedHat
Posts: 14

Rep: Reputation: 0
Newbie LAN Question


Hello friends,

I will start this post with info about the state of my encounter with Linux:

Version: Red Hat 6.2
Network Card: Working

Problem:

I am running two computers successfully on my LAN and I want to add a Linux Box to run another Web Server eventually I am going to set up a DNS on it but first I must be able to access the other computers on my network.

I am currently running a webserver on one of the existing windows boxes and I had figured that I should have been able to ping that box from the Linux box but I recieve the "Network is unreachable"

I have installed and confirmed that my network card is recognized.

How can I resolve the "Network is unreachable" problem?

Do I have to specify a specific IP for my linux box?

At this point I am only concerned with being able to hit the webserver running on a widows box from the Linux machine over my Lan.

Thanks in advance to those who can help.
 
Old 08-07-2001, 11:05 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
to ping another box on your lan you need to set the ip address for the same network.

I don't know your address but I will guess it's 192.168.0.1 netmask 255.255.255.0.
That means your network is 192.168.0

So if your other box is 192.168.0.2 netmask 255.255.255.0.

then you can set the linux box to 192.168.0.3 netmask 255.255.255.0.

do it like this

ifconfig eth0 192.168.0.3 netmask 255.255.255.0


that's all you need to do to ping the network


ping 192.168.0.1

or

ping 192.168.0.2



 
  


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
Newbie LAN guide Blueshark Linux - Networking 2 07-07-2004 06:58 AM
yet another newbie with a LAN problem darbot Linux - Software 13 04-19-2004 08:37 PM
newbie trying to set up lan jbcolmena Linux - Networking 1 02-09-2004 05:57 PM
NEWBIE wants to setup LAN lhoff Linux - Networking 12 03-22-2002 05:21 PM
LAN Configuration-Newbie here zukester Linux - Networking 24 07-13-2001 01:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:35 AM.

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