LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-30-2004, 02:36 PM   #1
King Richard
LQ Newbie
 
Registered: Jan 2004
Location: Nashville Tennessee
Distribution: Mandrake 9.1
Posts: 4

Rep: Reputation: 0
Host Ureachable


I have a linux box with Mandrake 9.1(destop), a Dell W2K (portable) and an ancient Gateway with RH 7.1 (no gui-CharlieBrown) and a router(cisco). My ultimate goal is to be able to exchange files between the two Linux boxes and the W2K box.

desktop can ping loopback and portable using IP or names
portable can ping loopback and desktop using IP or names
CharlieBrown can ONLY ping loopback or 127.0.0.1

When portable pings CharlieBrown, I get a 'request timed out'
When desktop pings CharliesBrown, I get 'host unreachable'

I have /etc/hosts configured exactly the same both Linux PCs and the \WINNT\system32\drivers\etc\hosts file reads exactly the same.

/etc/hosts are also configured the same on both Linux PCs and correspond to the configuration for the W2K box.

from what I understand, if CharlieBrown can ping loopback successfuly, TCP/IP is installed and working correctly. That would not mean that the NIC neccessarily checks out though right?

if desktop and portable can ping each other ok using IP or names than that eliminates them as the potential source of the problem correct?

From here, I do not know what to do.
 
Old 01-30-2004, 04:26 PM   #2
sal_paradise42
Member
 
Registered: Jul 2003
Location: Utah
Distribution: Gentoo FreeBSD 5.4
Posts: 150

Rep: Reputation: 16
check the gateway on CharlieBrown, and type ifconfig and route, and post the results back to us, we might be able to figure out whats up with that. do they all go through the cisco router?
 
Old 01-30-2004, 07:43 PM   #3
King Richard
LQ Newbie
 
Registered: Jan 2004
Location: Nashville Tennessee
Distribution: Mandrake 9.1
Posts: 4

Original Poster
Rep: Reputation: 0
ifconfig:
eth0 Link encap:Ethernet HWaddr 00:0C:76:59:58:89
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1681 errors:0 dropped:0 overruns:0 frame:0
TX packets:39702 errors:0 dropped:0 overruns:0 carrier:39434
collisions:0 txqueuelen:100
RX bytes:234188 (228.6 Kb) TX bytes:6532097 (6.2 Mb)
Interrupt:18 Base address:0xe000 Memory:dffee000-dffef080

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:31986 errors:0 dropped:0 overruns:0 frame:0
TX packets:31986 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2564838 (2.4 Mb) TX bytes:2564838 (2.4 Mb)

ppp0 Link encap:Point-to-Point Protocol
inet addr:207.65.155.77 P-t-P:207.65.155.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:847 errors:24 dropped:0 overruns:0 frame:0
TX packets:946 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:620227 (605.6 Kb) TX bytes:194054 (189.5 Kb)

route:
Active Routes:
Network Destinations Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.0.1 192.168.0.2 1
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.0.0 255.255.255.0 192.168.0.2 192.168.0.2 1
192.168.0.2 255.255.255.255 127.0.0.1 127.0.0.1 1
192.168.0.255 255.255.255.255 192.168.0.2 192.168.0.2 1
224.0.0.0 224.0.0.0 192.168.0.2 192.168.0.2 1
255.255.255.255 255.255.255.255 192.168.0.2 192.168.0.2 1

Default Gateway: 192.168.0.1

Persistant Routes: None

I have not done anything with the router yet, I don't really know anything about routers, including how to access the router. I have added it to my network configuration files on all the computers in anticipation of using it.
I connect to the internet through dial up still.
 
Old 01-30-2004, 09:15 PM   #4
sal_paradise42
Member
 
Registered: Jul 2003
Location: Utah
Distribution: Gentoo FreeBSD 5.4
Posts: 150

Rep: Reputation: 16
wow you need to delete your routing table entries, you do that by doing a "route del <ipaddress of the route> "except for the loopback address 127.0.0.1, and after that you need to give your Linux box a diff. address than 192.168.0.1 those are usually reserved for the routers. do this "route add -net 192.168.0.0 dev eth0" and then "route add default gw 192.168.0.1" that is assuming192.168.0.1 is your default gateway, and assuming that your gateway is also your DHCP server just do a network restart, "/etc/rc.d/init.d/network restart" and that would give your box the needed address. Im assuming a lot of things by giving you all this information, and we know what assuming does. if that doesn't work tell me if you using a DHCP server or static, and what your other machines are using as their gateway, and also run ifconfig aswell as route.
 
  


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
Resolving <www.some remote host>.... failed: Host not found. koodoo Linux - Newbie 2 06-27-2005 08:48 AM
How to setup a host.deny and host.allow for SSH? explorer1979 Linux - Security 2 01-31-2005 05:28 PM
Unknown Host <Linuxmachinename> / Unable to ping by host name nishi_k_79 Linux - Networking 4 11-01-2003 01:24 PM
How to configure Host-to-Host IPSec (Free SWAN) gpagedar Linux - Security 2 10-18-2003 05:22 AM
Samba - Network is ureachable dorian33 Linux - Networking 9 01-13-2003 03:08 PM

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

All times are GMT -5. The time now is 03:41 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration