All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Martin A. Brown" <mabrown-lartc@securepipe.com>
To: lartc@vger.kernel.org
Subject: RE: [LARTC] ipchains iproute2 and port based routing
Date: Wed, 09 Oct 2002 18:22:43 +0000	[thread overview]
Message-ID: <marc-lartc-103418796413493@msgid-missing> (raw)
In-Reply-To: <marc-lartc-103416308716008@msgid-missing>

Aigh!  I think I may have spotted the problem.

Your routing table number 10 doesn't know anything about 192.168.0.0/24 
does it?

Make sure that each routing table has routes for the destinations it is 
supposed to be able to reach!

 : ipchains -A input -p icmp -s 192.168.0.0/24 -m 2
 : ip ru add fwmark 2 table 10
 : ip route add default via x.x.x.x dev eth2 table 10
 : ipchains -A forward -s 192.168.0.0/24 -j MASQ
 : * x.x.x.x is the default gateway!

-Martin

-- 
Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com


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

  parent reply	other threads:[~2002-10-09 18:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-09 11:30 [LARTC] ipchains iproute2 and port based routing Balle Marco
2002-10-09 13:32 ` Martin A. Brown
2002-10-09 17:43 ` Marco Balle
2002-10-09 18:21 ` Martin A. Brown
2002-10-09 18:22 ` Martin A. Brown [this message]
2002-10-09 20:10 ` Marco Balle
2002-10-09 20:28 ` Martin A. Brown
2002-10-09 21:31 ` Marco Balle

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-103418796413493@msgid-missing \
    --to=mabrown-lartc@securepipe.com \
    --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.