| To: | "'netdev@xxxxxxxxxxx'" <netdev@xxxxxxxxxxx> |
|---|---|
| Subject: | How to enable more than ~256 routing tables? |
| From: | Ben Greear <greearb@xxxxxxxxxxxxxxx> |
| Date: | Tue, 22 Apr 2003 00:10:53 -0700 |
| Organization: | Candela Technologies |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030210 |
I would like to have a routing table per interface, and would like to support
1k interfaces or so (virtual interfaces like vlans, for instance).
I notice in rtnetlink.h there is this code:
enum rt_class_t
{
RT_TABLE_UNSPEC=0,
/* User defined values */
RT_TABLE_DEFAULT=253,
RT_TABLE_MAIN=254,
RT_TABLE_LOCAL=255
};
#define RT_TABLE_MAX RT_TABLE_LOCAL
Is it possible to just change the RT_TABLE_MAX to be higher and have 256-????
be more /* User defined values */ ?
Thanks,
Ben
--
Ben Greear <greearb@xxxxxxxxxxxxxxx> <Ben_Greear AT excite.com>
President of Candela Technologies Inc http://www.candelatech.com
ScryMUD: http://scry.wanfear.com http://scry.wanfear.com/~greear
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: 2.5.68 comments - [udp broadcast reception broken], James Morris |
|---|---|
| Next by Date: | Re: How to enable more than ~256 routing tables?, YOSHIFUJI Hideaki / 吉藤英明 |
| Previous by Thread: | Re: 2.5.68 comments - [udp broadcast reception broken], James Morris |
| Next by Thread: | Re: How to enable more than ~256 routing tables?, YOSHIFUJI Hideaki / 吉藤英明 |
| Indexes: | [Date] [Thread] [Top] [All Lists] |