All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luis Miguel Cruz Miranda <luismi@b2bi.es>
To: lartc@vger.kernel.org
Subject: [LARTC] routing: multiple tables dude
Date: Wed, 26 Feb 2003 09:17:19 +0000	[thread overview]
Message-ID: <marc-lartc-104625118006289@msgid-missing> (raw)

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/

             reply	other threads:[~2003-02-26  9:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-26  9:17 Luis Miguel Cruz Miranda [this message]
2003-03-01  5:45 ` [LARTC] routing: multiple tables dude Martin A. Brown
2003-03-05  8:25 ` Luis Miguel Cruz Miranda

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-104625118006289@msgid-missing \
    --to=luismi@b2bi.es \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.