LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 05-02-2001, 11:13 AM   #1
kliquori
LQ Newbie
 
Registered: May 2001
Posts: 3

Rep: Reputation: 0

I have a Redhat 7.0 machine that I'm having some kind of routing problem or something with. This machine is used to monitor our routers.

The symptoms are as follows:
I can ping the router. When the router goes down, I cannot ping it (obviously). When the router comes back up, I still cannot ping it. After a few hours the problem seems to fix itself.

Oddly, this does not happen every time. I cannot figure out a pattern. The default route (0.0.0.0) is set to our gateway (a router). If I reboot the machine or add a static route to the router I can then ping it. No other Windows, UNIX, or Linux machines on the network are having this problem. Perhaps this is an arp problem? 'arp -a' does not show any of these problematic addresses. I even upgraded the kernel to 2.4 with no luck.

TIA
...Kevin
 
Old 05-02-2001, 06:30 PM   #2
hazza96
Member
 
Registered: Apr 2001
Location: Brisbane, Australia
Distribution: Ubuntu
Posts: 146

Rep: Reputation: 15
Angry No idea

I have no idea about your problem but I find it very interesting and would like to notified if someone does.
 
Old 05-04-2001, 08:35 AM   #3
raz
Member
 
Registered: Apr 2001
Location: London
Posts: 408

Rep: Reputation: 31
I wouldn't blame ARP it clears its cache every 3 mins or so, so if it loses its router path then no ARP info is held until a ARP whois request is make on network

Next time if happens run TCPDUMP in a new window and try and ping the router.
Post the info it shows you and I'll tell you what it thinks has happened.

/Raz
 
Old 05-04-2001, 10:32 AM   #4
notlinus
Member
 
Registered: May 2001
Location: Kingsport, TN
Distribution: RedHat 6.1
Posts: 61

Rep: Reputation: 15
An idea, which may lead be way off base or could lead to something. Are you using DHCP? Is it possible that the previous DHCP info must expire and the PC request new DHCP info before you can see the router?
 
Old 05-04-2001, 07:28 PM   #5
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
Your problem

First, let me say, that this is a "math" problem so to speak and you have 3 unknowns and only 2 equations. What I mean is, if you haven't "found a pattern" then I am quite sure you are missing some very important part of the equation.

You say this is the only machine doing it?
Are there any other denominators? Does this system have a different kind of NIC than the other machines? Is it connected to a different switch? Are there any additional hubs or switches in its path to the router that the other machines don't have? Is it on a the same sub set as some other identical machines that this doesn't occur on?
Is this machine running a kernel, app, or distro that no other machine is running?

 
Old 05-08-2001, 02:20 PM   #6
kliquori
LQ Newbie
 
Registered: May 2001
Posts: 3

Original Poster
Rep: Reputation: 0
routing problem

I got pretty drastic as I need to have this functioning as soon as possible. I wiped out Redhat and loaded OpenBSD 2.8. Same problem occurs. I moved the network cable from our switch to a hub and set the NIC for 10BaseT (as opposed to autoselect). Same problem.

TCPDUMP didn't seem to produce anything from a specific ping. The machine is running Big Brother (Network monitoring software) which the others do not.

What I finally discovered is that when these problems occur and I run 'netstat -rn' I see that the default gateway for the route to the router is set to our firewall (which is incorrect). I did not add these routes manually so I don't know why this is occurring. If I delete the route, then it's fine.

Still not sure what's causing this. ?
 
Old 05-09-2001, 04:33 AM   #7
raz
Member
 
Registered: Apr 2001
Location: London
Posts: 408

Rep: Reputation: 31
Kliquori,

If you haven't put the firewalls IP address in any of scripts for building the routing FIB tables, then it could be that your Redhat/BSD box has been told by the firewall or another router on that subnet that the firewall is a router. Something is sending a multicast router advertisement query.

If you want to see this is the case, packet sniff for any packets from the subnet to a multicast address of 224.0.0.1, sending ICMP type 9 messages. (routers do this every 7 to 10 mins)

Then the problem is either the firewall thinks its a router or another router thinks the firewall is a router and likes
to info everyone via the router discovery protocol.

just an idea.
/Raz
 
  


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
pinging problem cranium2004 Linux - Networking 2 05-21-2005 09:18 AM
pinging problem yenush Linux - Networking 1 06-07-2004 08:20 AM
Problem with pinging :( Normanu Linux - Networking 1 11-21-2003 10:33 AM
Pinging Problem...please help :) warlord07 Linux - Newbie 3 09-19-2003 11:23 PM
Pinging Problem warlord07 Linux - Networking 1 09-19-2003 02:02 AM


All times are GMT -5. The time now is 10:02 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration