Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: <paul.walling@ntlworld.com>
To: lartc@vger.kernel.org
Subject: [LARTC] Application routing
Date: Sat, 16 Aug 2003 16:42:27 +0000	[thread overview]
Message-ID: <marc-lartc-106105223519474@msgid-missing> (raw)

Hi,

I am fairly new to linux and am currently playing with routing.

I have a system which has two ethernet interfaces to cable modems. The cable modems have NAT active on them.
I also have one ethernet interface connected to my home LAN.
I have followed the documentation and have setup split access such that I can route answers to packets coming in over a particular provider back out again over that same provider.

I now want to be able to start an application and select the interface over which it will route frames. 
For example: 
If I use ping with the -i option the routing works.
However if I don't use the -i option then the network is deemed unreachable.
I would expect this as there is no route to the destination address in the tables and I assume that the source address that is being used has been taken from my
hostname which does not match either of my interfaces. 

How do I solve this issue my current thoughts are

Add iptables entry when the process is created to set the MARK based on the owner e.g. SID or PID.
Add ip rule to route from MARK to the tables created as as result of split access.

Is this the most efficient method to achieve this solution or is there some other trick that I could use ?

Your help would be most appreciated :)

Paul


-----------------------------------------
Email provided by http://www.ntlhome.com/


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

             reply	other threads:[~2003-08-16 16:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-16 16:42 paul.walling [this message]
2003-08-16 17:26 ` [LARTC] Application routing Martin A. Brown

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-106105223519474@msgid-missing \
    --to=paul.walling@ntlworld.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox