* How to enable more than ~256 routing tables?
@ 2003-04-22 7:10 Ben Greear
2003-04-22 7:16 ` YOSHIFUJI Hideaki / 吉藤英明
0 siblings, 1 reply; 3+ messages in thread
From: Ben Greear @ 2003-04-22 7:10 UTC (permalink / raw)
To: 'netdev@oss.sgi.com'
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@candelatech.com> <Ben_Greear AT excite.com>
President of Candela Technologies Inc http://www.candelatech.com
ScryMUD: http://scry.wanfear.com http://scry.wanfear.com/~greear
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: How to enable more than ~256 routing tables?
2003-04-22 7:10 How to enable more than ~256 routing tables? Ben Greear
@ 2003-04-22 7:16 ` YOSHIFUJI Hideaki / 吉藤英明
2003-04-22 7:45 ` Ben Greear
0 siblings, 1 reply; 3+ messages in thread
From: YOSHIFUJI Hideaki / 吉藤英明 @ 2003-04-22 7:16 UTC (permalink / raw)
To: greearb; +Cc: netdev
In article <3EA4EAFD.5020808@candelatech.com> (at Tue, 22 Apr 2003 00:10:53 -0700), Ben Greear <greearb@candelatech.com> says:
> Is it possible to just change the RT_TABLE_MAX to be higher and have 256-????
> be more /* User defined values */ ?
No. rtm_table in rtmsg{} is unsigned char.
--
Hideaki YOSHIFUJI @ USAGI Project <yoshfuji@linux-ipv6.org>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF 80D8 4807 F894 E062 0EEA
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: How to enable more than ~256 routing tables?
2003-04-22 7:16 ` YOSHIFUJI Hideaki / 吉藤英明
@ 2003-04-22 7:45 ` Ben Greear
0 siblings, 0 replies; 3+ messages in thread
From: Ben Greear @ 2003-04-22 7:45 UTC (permalink / raw)
To: netdev
YOSHIFUJI Hideaki / ???? wrote:
> In article <3EA4EAFD.5020808@candelatech.com> (at Tue, 22 Apr 2003 00:10:53 -0700), Ben Greear <greearb@candelatech.com> says:
>
>
>>Is it possible to just change the RT_TABLE_MAX to be higher and have 256-????
>>be more /* User defined values */ ?
>
>
> No. rtm_table in rtmsg{} is unsigned char.
Thanks for the response...but I was definately hoping for some better
news!
I'm guesing that to change this would mean at least a recompile of
the user-space 'ip' utility, (and who knows what else!)
Why o why did someone think that 256 was all anyone would ever want!
Think we could at least increase this to 16 bits for 2.5?
Ben
--
Ben Greear <greearb@candelatech.com> <Ben_Greear AT excite.com>
President of Candela Technologies Inc http://www.candelatech.com
ScryMUD: http://scry.wanfear.com http://scry.wanfear.com/~greear
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-04-22 7:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-22 7:10 How to enable more than ~256 routing tables? Ben Greear
2003-04-22 7:16 ` YOSHIFUJI Hideaki / 吉藤英明
2003-04-22 7:45 ` Ben Greear
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).