LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 03-18-2004, 08:22 AM   #1
sstchur
LQ Newbie
 
Registered: Mar 2004
Distribution: Mandrake 9.2
Posts: 1

Rep: Reputation: 0
ICS works, but the rest of my Network doesn't - Help!


Hi all,

I have a Linux Networking problem that is driving me crazy. I am no expert with regards to either Networking or Linux, but I would not say that I am Linux or Network inept either. Still, this problem has been bothering me for weeks now.

I have Mandrake Linux 9.2 installed which (is supposed) to act as a Print Server and as an Internet Gateway for two Windows 98 machines.

As of right now, Linux is configured with a static IP address: 192.168.0.1, and a SubNet Mask: 255.255.255.0.

Linux uses DHCP to assign IP addresses to the Windows 98 machines in the range 192.168.0.251 - 192.168.0.259. This seems to be working just fine as my Windows 98 machines usually end up with ip addresses 192.168.0.252 and 192.168.0.253.

The Windows 98 machines also see that Linux is the gateway because on boot, they are assigned a Gateway of 192.168.0.1.

With that setup, when I dial in to my ISP with Linux, both Windows 98 machine can connect to the Internet with no problems. Everything works -- web, email, telnet, ftp, etc...

However, what I don't understand is why I cannot ping Linux from Windows or Windows from Linux.

If, from the Linux machine, I try "ping 192.168.0.253" I get "Destination Host Unreachable". From either Windows 98 machine, "ping 192.168.0.1" yields that same result.

Furthermore, in my Windows 98 Network Neighborhood, I see a workgroup called MDKGROUP, but when I try to browse to it, I get "Computer or Share Name not found."

My ultimate goal here (besides ICS) is to share the printer connected to the Linux machine with my two Windows 98 machines, but I would imagine that if I cannot even ping successfully, I'm not going to have much luck with file and/or print sharing. (And indicentally, the printer does work directly from Linux, so at least that part of the battle has already been won).

Still, it boggles my mind that ICS works even though ping does not.

If you can offer any suggestions on how I can get ping working, or more importantly, how I can get my printer shared, it would be greatly appreciated.

Thanks!
-Steve
 
Old 03-18-2004, 08:40 AM   #2
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
If, from the Linux machine, I try "ping 192.168.0.253" I get "Destination Host Unreachable". From either Windows 98 machine, "ping 192.168.0.1" yields that same result.

in your /etc/hosts file you should specify the IP addresses to hostsnames(netbios)
like so:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.1.100 lanhost.localdomain lanhost
192.168.1.101 lanhost.localdomain lanhost
192.168.1.102 lanhost.localdomain lanhost

I do believe, that the MDKgroup, is a samba share, but when using shares with samba,
make sure your shared folder is being shared with a certain workgroup.(netbios)

\\WinXPname\SharedDocs <-------Win XP LAN shares
\\LinuxPCShostname\ <-------------- Samba Shared folder address


So basically if I ping lanhost.localdomain I would be pinging 3 hosts.
If I want to ping individual computers on the LAN, I use the IPaddress not name.

Last edited by AutOPSY; 03-18-2004 at 08:42 AM.
 
  


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
ICS on an XP network using Mandrake 10.1 clemsont Linux - Networking 1 10-28-2004 06:18 AM
using two network cards for ICS takatam Linux - Networking 2 05-24-2004 03:32 PM
Network cards not distinguished for ICS takatam Mandriva 0 05-16-2004 02:59 PM
can't connect from my linux box to rest of network renman Linux - Networking 1 08-24-2003 03:29 PM
Can't access the rest of the network from behind gateway BrianG *BSD 1 05-02-2002 09:55 AM

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

All times are GMT -5. The time now is 11:27 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