Solved

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

Posted on 1997-07-17
5
215 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
ID: 1585637
Hy,
could you tell us a little bit more about your config and what append exactly ?
By.
0
 

Author Comment

by:sergiom
ID: 1585638
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
ID: 1585639
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
ID: 1585640
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
ID: 1585641
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
squid3 ntlm and itunes authentication 5 86
MySql client tunnel through intermediate host 5 80
how to monitor remote shell execution on linux 9 101
Issue to mail 11 100
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

831 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