Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-26-2005, 05:16 AM   #1
LQ Newbie
Registered: Jul 2005
Posts: 3

Rep: Reputation: 0
Max Static Routes?


I'm running Mandrake 10.1, and trying to find out if there is a maximum number of static routes i can have?

We have 20 at the moment, and don't seem to be able to add more - we've tried using webmin and it just throws a bit of a wobbly, and nothing goes into the routes list.

Hope you can help


Old 07-26-2005, 08:22 PM   #2
Registered: Jul 2005
Distribution: Debian, Gentoo, self-built [not LFS]
Posts: 109

Rep: Reputation: 15
That sounds like a limitation of Webmin, not of Linux's routing capability. Try running

ip route add dev eth0

and see if it gives you any problems. That network isn't in use on the greater internet, so it shouldn't introduce any major routing issues if it works.

As an aside, if you're trying to maintain that many static routes, consider setting up a dynamic routing daemon like Quagga. It should easily scale to 20 or more routes using OSPF or BGP. If you have any experience with Cisco hardware, you should have no problems.
Old 07-28-2005, 03:51 AM   #3
LQ Newbie
Registered: Jul 2005
Posts: 3

Original Poster
Rep: Reputation: 0
we can add routes manually..

'ip route add via dev eth0'

it works, and is listed when doing a

'route -n'

but when the network is restarted/reloaded, the route disappears again.

Obviously a network restart happens if/when the server is rebooted, so unless i'm doing something else wrong...




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
static routes using route-eth0 file sti2envy Linux - Networking 2 09-08-2007 10:10 AM
How do I config static routes? mikezang Linux - Networking 4 10-31-2005 11:29 AM
automatic static routes? eantoranz Linux - Networking 5 07-19-2005 09:30 PM
Setting static routes on LAN cranium2004 Linux - Networking 3 01-07-2005 12:57 AM
static-routes in Mandrake 10.0 tallthom Mandriva 1 09-27-2004 01:51 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:20 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration