Solved

Linux Box acting as a ROUTER is going down. Why?

Posted on 1997-07-17
5
209 Views
Last Modified: 2010-03-17
Hi,

    I have a Linux Box acting as router. I'm using the routed that comes
with RedHat 4.2.
    This machine is going down very often. It's running on a 486-100Mhz
with 8Mb (I've  tried with 40Mb - without good results).

    Does anyone have a clue about what could be the problem?

Thanks, in advance

                Sergio Sousa

0
Comment
Question by:sergiom
5 Comments
 
LVL 2

Expert Comment

by:cedric
Comment Utility
Hy,
could you tell us a little bit more about your config and what append exactly ?
By.
0
 

Author Comment

by:sergiom
Comment Utility
I'm using:
RedHat 4.2
Kernel 2.0.30 (Re-compiled)
2 Ethernet Adapters Ne2000 Compatible (ISA - 10Mbps)
Vga Adapter Vesa Local Bus
8 Mb Ram
Off-Board IDE Controler
The ROUTED that comes with the RedHat 4.2

If anyone wants to know something in particular please ask me!

Thanks,
             Sergio Sousa
0
 

Expert Comment

by:will031697
Comment Utility
Why are you using routed? (this is a trick question -- you probably don't need to be running it)

Define "going down"; it could mean:
  -hard lock
  -ether interface going down
  -routed process dying

Describe your network topology -- which IP network(s) do you have on each ethernet interface?
Show us the output of 'netstat -i' and 'netstat -nr'
0
 

Expert Comment

by:zhanghj
Comment Utility
When I use 2 Ne2000 compatible adapters under kernel 1.2.1, the system alway lock up. After I change the network adapter to
3Com 509 card, all is ok now.
0
 
LVL 1

Accepted Solution

by:
q721kjh earned 160 total points
Comment Utility
There are many reasons your machine could be going down.  You may have anything from a software problem to an interrupt conflict to bad memory or an overheating CPU.

To eliminate routed as the problem, disable it by commenting it out in the rc file in which it is invoked.  Replace it with static routes.  These are routes you enter yourself using the "route add..." command.  Once you enter the route, it remains as an entry in the routing table until you (or something, like pppd, in certain cases) deletes it (with a "route del..." command.  To see the effect of the route commands on the routing table, use netstat -nr or route to view the routing table.  (You should copy down the existing routing table before you start, as a reference.)

Once you get the hang of it, you should be able to describe all of your routes.  Since you have only two ethernet cards, I presume that your machine is acting as a gateway to the internet for some machines hanging off the other card.  In this case, the routes generally never change, so you don't need routed.  If your router is advertising its subnet to the router above it, ask the sysadmin of that router to make static entries into that router for the time being.

If this does not eliminate routed, then you have a divide-and-conquer problem on your hands.  The best way to start is to strip the system down to a bare minimum and build it up until the problem occurs again, then suspect the last change you made.  If that doesn't help, tear it down again, and build it up in a different way.  For all the time you are going to spend on this problem, you might just want to pick up another machine for a few hundred bucks and bring it online.  I have been using 486-33's for routers with two ethernet cards and multiple modems for dial-in, and have always had tons of CPU time to spare.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now