Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Rick Jones <rick.jones2@hp.com>
To: Netravali Ganesh <gnetravali@sonusnet.com>
Cc: "netfilter@vger.kernel.org" <netfilter@vger.kernel.org>
Subject: Re: Routing the DNS Traffic via specific interface.
Date: Wed, 25 Jan 2012 10:00:13 -0800	[thread overview]
Message-ID: <4F20432D.9050507@hp.com> (raw)
In-Reply-To: <EB822645982FC24F99C33D9513902AFAA877C9@inba-mail02.sonusnet.com>

On 01/24/2012 11:41 PM, Netravali Ganesh wrote:
> Hi ..
>
> I have 2 interfaces eth0 and eth1 on the system connected to
> different subnets. I need to route all the outgoing DNS traffic of
> the system via eth1 interface. Pls let me know if below IPTABLES
> rules is proper way ?

Are the IPs of the DNS servers known and reasonably static?  And is 
there any concern if other traffic to those IPs goes out the one 
interface?  If the DNS server IPs are static, and it wouldn't hurt to 
have other traffic go out the same interface, why not just create some 
static host routes?

rick jones

      parent reply	other threads:[~2012-01-25 18:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-25  7:41 Routing the DNS Traffic via specific interface Netravali Ganesh
2012-01-25  8:41 ` Yann Lejeune
2012-01-25  9:33 ` gapsf
2012-01-27 15:51   ` SamLT
2012-02-02  4:52   ` Netravali Ganesh
2012-02-03  7:30     ` gapsf
2012-02-05  9:46       ` Olshvang, LevX
2012-01-25 18:00 ` Rick Jones [this message]

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=4F20432D.9050507@hp.com \
    --to=rick.jones2@hp.com \
    --cc=gnetravali@sonusnet.com \
    --cc=netfilter@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