All of lore.kernel.org
 help / color / mirror / Atom feed
From: vecna@sikurezza.org
To: lartc@vger.kernel.org
Subject: [LARTC] ip route + equalize and related problems ....
Date: Fri, 31 Jan 2003 00:59:25 +0000	[thread overview]
Message-ID: <marc-lartc-104397455226727@msgid-missing> (raw)

root ~ # ip route ls default
10.0.9.200 dev eth1  scope link
10.0.1.200 dev eth2  scope link
10.0.3.200 dev eth4  scope link
10.0.2.200 dev eth3  scope link
default dev eth3  scope link

root ~ # ip route ls table http
default equalize
        nexthop dev eth1 weight 1
        nexthop dev eth2 weight 1

root ~ # ip route ls table ssh
default equalize
        nexthop dev eth1 weight 1
        nexthop dev eth2 weight 1

root ~ # ip rule ls
0:      from all lookup local
32762:  from all fwmark       80 lookup http
32763:  from all fwmark       22 lookup ssh
32764:  from all lookup main
32765:  from all lookup default

this is after have been used fwmark + ip rule add and a specific:

ip route add default table http equalize nexthop dev eth1 nexthop dev eth2
ip route add default table ssh equalize nexthop dev eth1 nexthop dev eth2
ip route add default dev eth3

but alla packets are forwarded to default host, and without a default host
other routing ruleset appears to be ignored ...

how I could give a priority to http and ssh table ? and how work exactly
"equalize" keyword in ip route ? I've not find example in internet...

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

                 reply	other threads:[~2003-01-31  0:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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-104397455226727@msgid-missing \
    --to=vecna@sikurezza.org \
    --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.