Nevada wrote:
Chris Reeves wrote:
Nevada wrote:
I am a complete newbie with networking. Never have worked with it before. I have a linux box with SuSE 6.3 installed and a Windos box with 95 installed.
When I ping from the Windos box to the Linux box, both using the IP address 192.168.0.xxx or the name 'root' (short name in /etc/hosts), it works. Does not work if I use 'root.home' (full name in /etc/hosts), gives unknown host, light on hub for the windos box does blink, but not on the Linux box.
I'm sure there's an equivalent of /etc/hosts on Windows, something like (from dark and dusty corners of memory): c:\windows\system\lmhosts or something like that. The names in here (or in Control Panel -> Networks or both) need to be (or would be better being) consistent with Linux.
When I ping from the Linux box to the windos box pinging with the IP address 192.168.0.xxx it works, but when pinging using the name 'windos.paul' or 'windos', it says network unreachable. The light on the hub for either box does not blink.
Check /etc/hosts, see below.
route Kernel IP Route Table Destination Gateway Genmask Flags Metric Ref Use Iface root.home * 255.255.255.255 UH 0 0 0 eth0 eth0 * 255.255.255.0 U 0 0 0 eth0 loopback * 255.0.0.0 U 0 0 0 lo
route -n Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.0.99 0.0.0.0 255.255.255.255 UH 0 0 0 eth0 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
/etc/hosts
127.0.0.1 localhost 192.168.0.99 root.home root 192.168.0.98 windos.paul windos
Well, for a start I'd decide on a domain name, and keep everything consistent with that (I assume you don't have a 'real' domain). .home seems good enough, so you'd have root.home and windos.home You could then also edit /etc/networks and put an entry in similar to this: home 192.168.0.0
In /etc/route.conf there is only one entry under 'net devices' 192.168.0.99 0.0.0.0 255.255.255.255 eth0
The network consists of a Linux Box (only OS install) connected through a hub to a windos box with only win95 installed. Future addition to the network will be a printer.
I can't see much wrong with that, other than inconsistent naming, and the lack of default gateway in your routing table, but I don't think that really matters here, as there is an entry pointing to eth0 for network address. I think if you sort the naming issues out, most bits will fall into place... Hope that helps, Chris -- __ _ -o)/ / (_)__ __ ____ __ Chris Reeves /\\ /__/ / _ \/ // /\ \/ / ICQ# 22219005 _\_v __/_/_//_/\_,_/ /_/\_\ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/