[LARTC] command to list ip route tables
Robert Felber
r.felber@ek-muc.de
Sat, 13 Nov 2004 16:45:44 +0100
On Wed, Nov 10, 2004 at 10:21:06PM +0100, Damjan wrote:
> In linux one can have several route tables. But how do I list the=20
> route tables?
>=20
> (and no 'ip rule list' is not it)
>=20
with `ip rule show' you can determine which tables are set/used.
with `ip route show table <TABLE>' you can list the table you want to look =
in.
# ip rule show
0: from all lookup local=20
32766: from all lookup main=20
32767: from all lookup default
in this example are local, main and default the tables
--=20
Robert Felber (EDV-Leitung)
Autohaus Erich Kuttendreier=20
Drosselweg 21
81827 Muenchen
Tel: +49 (0) 89 / 453 12-86
Fax: +49 (0) 89 / 453 12-80
PGP: 896CF30B
PGP-Fingerprint: CF36 AA93 9716 63E8 962F 15CC A80E 1A79 BF77 25EA