All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Manuel Schroeder" <masch@center-net.de>
To: lartc@vger.kernel.org
Subject: [LARTC] Force internal re-routing for certain subnets
Date: Tue, 27 Jan 2004 17:26:40 +0000	[thread overview]
Message-ID: <01be01c3e4fa$b9ef98f0$ab06a8c0@wrkstat2g> (raw)

Hi list,

I have an ipcop 1.3.0 with one regular ip address on its green
(internal) interface 172.25.0.1 with one subnet 172.25.0.0/22 related to
it.

In addition I have assigned two further ip addresses 172.25.64.1. and
172.25.68.1 to right that green network card with two respective further
subnets 172.25.64.0/22 and 172.25.68.0/22 related to each for certain
reasons.

Now I want to force all external (red) traffic from / to both the
further green subnets 172.25.64.0/22 and 172.25.68.0/22 to go through
the first "regular" green interface.

This is because this "regular" green interface 172.25.0.1 is where
squid, dnsmasq and others are listening and such I want to ease other
alternative networking calamities which I encountered.

Can one give me a hand how to arrange this internal re-routing with ip
rule ... / ip route ...  etc.?

I had a look at
http://www.linuxguruz.com/iptables/howto/2.4routing-4.html and tried to
figure out but such easy it didn't work for me.

Many thanks and cheers

Manuel

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

                 reply	other threads:[~2004-01-27 17:26 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='01be01c3e4fa$b9ef98f0$ab06a8c0@wrkstat2g' \
    --to=masch@center-net.de \
    --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.