Linux Windows - Networking Problem

I have a small local network with three Windows 98 boxes and one (hopefully) linux box which I plan on making a server. The Linux box is running Red Hat 6.0 Server.  I have configured all the networking paramters on the Linux box  including Samba.  The Windows boxes can see each other and they can see the Samba server on the Linux box. However I cannot ping the Linux box from Windows nor can I ping the Windows boxes from the linux box. All the Windows boxes see and ping each other fine.  My network is set up as follows:

Network 192.168.1.0  255.255.255.0
Linux Box  192.168.1.2
Windows #1 192.168.1.3
Windows #2 192.168.1.4
Windows #2 192.168.1.5

I am new to Linux so I am sure that I must have one of the configuration files out of wack!
RBYNUMAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

biardCommented:
Sounds like a route problem.  Post the output from the route command here.  Also, post the output if ifconfig -a here.
0
NickCommented:
Linux was my Xmas project, and at first I had the same problems... check that smbd and <i>especially</i> nmbd are running.  I kept getting an error with nmbd 'host not found'.  (Correctly) or incorrectly I placed the name of Samba server (as set up in smb.conf, or the name of your linux machine in Linuxconf) in etc/hosts (i.e. pointing to itself).  It worked, but I am still am not sure how.  It's this NETBIOS thingy that runs over TCP/I... I think?

Nick
0
RBYNUMAuthor Commented:
Biard,

Here is the output of the route command:

Destination:   Gatway   mask
192.168.1.2      *      255.255.255.255
192.168.1.0      *      255.255.255.0
127.0.0.0        *      255.0.0.0
default  192.168.1.254  0.0.0.0

Flags are:

UH
U
U
UG

Iface is

eth0
eth0
lo
eth0

All else is 0

ifconfig:

link encap:Ethernet HWaddr:00:A0:0C:C1:FB:2D
inet addr:192.168.1.2
Bcast: 192.168.1.255
Mask: 255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500
Metric: 1
RX packets:0 errors: 0 dropped: 0
overruns: 0 frame:0
TX packets:4437 errors:0 dropped:0 overruns:0 carrier: 0
collisions: 0
txquelength:100
Interrupt:11 Base Address:0xd000

Remember that I can see the linux box in the network neighborhood of windows but I can't ping between the windows and linux boxes in either direction

0
rolfcCommented:
Hi
To me it seems that you have set up 192.168.1.254  as the default router of the linux machine. Do you have a router with that IP?.
these are the only routes that you should need, provided you dont have a router with Ip 192.168.1.254  

192.168.1.0      *      255.255.255.0
127.0.0.0        *      255.0.0.0

with best regards
rolfc
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
biardCommented:
rolfc is correct.  You may not need the last line.  Actually, you do need a default gateway, but if there is nothing specific like a router, it should just be the standard ip for that eth0 card.  i.e. the last line should read

defailt 192.168.1.2 0.0.0.0 eth0 .....

Also, the other machines can see you on the network because the info about the host is being broadcast across the network.  This is normal.  Do you have NetBEUI on the other machines in the office?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.