Re: [LARTC] Policy routing missing default table?

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Adrian Chung wrote:
> 
> Hi all, this might have been covered, although going over the archives
> at mailman.ds9a.nl, I haven't been able to find it:
> 
> I seem to be missing the default table, even though I've got a local
> and main table:
> 
> [root@xxxxxxxxx net]# ip rule
> 0:      from all lookup local
> 32766:  from all lookup main
> 32767:  from all lookup 253
> 
> Instead, I've got a '253' table...

[--snip--]

> I was under the impression that my 3 main tables should have been
> 'local', 'main', and 'default'.  'main' would contain routes to adjacent
> networks, and 'default' would contain default routes.  So I could have
> solved my problem by just creating a table with precidence in between
> main and default, and changed the default gateway for 192.62.100.0/24
> without changing network routes too.

Well, according to the "Linux 2.4 Advanced Routing HOWTO" the default
table (or 253) should be empty and the default route should be in
'main'.

> Does this make sense?  And if so, does anyone know why I have a table
> '253' with nothing in it, and no 'default'?

Actually, I don't know why there isn't a default table but one named
'253'. I have the same here on a RedHat 7.1 system running kernel 2.4.5
with iproute2-ss000305.

> I'm running iproute2-2.2.4-now-ss001007.tar.gz from
> ftp://ftp.inr.ac.ru, with kernel 2.4.5.
> 
> My userland utilities, like ifconfig, ifup, etc are from RH6.2ish.
> Would they make a difference?


Greetings,
Juri



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux