LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-26-2005, 05:16 AM   #1
roundst
LQ Newbie
 
Registered: Jul 2005
Posts: 3

Rep: Reputation: 0
Max Static Routes?


Hi,

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

Thanks

chris
 
Old 07-26-2005, 08:22 PM   #2
mpeg4codec
Member
 
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 1.0.0.0/8 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
roundst
LQ Newbie
 
Registered: Jul 2005
Posts: 3

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

'ip route add 192.168.0.150 via 192.168.3.1 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...

thanks

chris
 
  


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
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

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

All times are GMT -5. The time now is 09:15 PM.

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