All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] routing: multiple tables dude
@ 2003-02-26  9:17 Luis Miguel Cruz Miranda
  2003-03-01  5:45 ` Martin A. Brown
  2003-03-05  8:25 ` Luis Miguel Cruz Miranda
  0 siblings, 2 replies; 3+ messages in thread
From: Luis Miguel Cruz Miranda @ 2003-02-26  9:17 UTC (permalink / raw)
  To: lartc

Hi all,

I have this configuration here:


$ip rule add from 172.16.0.0/24 lookup 80
$ip rule add to 172.16.0.0/24 lookup 81

$ip route add 0.0.0.0/0 via 195.55.92.122 table 80
$ip route add 195.55.92.122 dev vlan7 table 80          <- Is really necessary?
$ip route add 172.16.0.0/24 via 172.16.0.254 table 81

and...

$ip rule add from 172.16.0.5 lookup 800
$ip rule add from 172.16.0.6 lookup 800
$ip rule add from 172.16.0.7 lookup 800
$ip rule add to 172.16.0.5 lookup 810
$ip rule add to 172.16.0.6 lookup 810
$ip rule add to 172.16.0.7 lookup 810

$ip route add 0.0.0.0/0 via 195.55.97.222 table 800
$ip route add 195.55.92.122 dev vlan7 table 800 <- Is really necessary too?
$ip route add 172.16.0.0/24 via 172.16.0.254 table 810


What tables will be used by 172.16.0.5? 80 and 81? or 800 and 810?
Should I use prio command?


Luis Miguel Cruz Miranda.               |       B2B INTEGRAL, S.A.
CCNA - Systems Administrator            |       Pol. Ind. de Asipo
                                         |       C/A - Parcela 86-C
Tel: +34 902 506 605                    |       33.428 - CAYES - LLANERA
Fax:+34 985 980 794                     |       ASTURIAS (ESPAÑA/SPAIN)


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-03-05  8:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-26  9:17 [LARTC] routing: multiple tables dude Luis Miguel Cruz Miranda
2003-03-01  5:45 ` Martin A. Brown
2003-03-05  8:25 ` Luis Miguel Cruz Miranda

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.