Netdev List
 help / color / mirror / Atom feed
From: "Maciej Żenczykowski" <zenczykowski@gmail.com>
To: Linux Networking <netdev@vger.kernel.org>,
	YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Subject: Re: Question about IPV6 forwarding and proxy_ndp
Date: Sun, 18 Oct 2009 00:37:55 -0700	[thread overview]
Message-ID: <55a4f86e0910180037vb40b588qb02a6438a57f9875@mail.gmail.com> (raw)
In-Reply-To: <55a4f86e0910180030s52484bffs4ca42eb1ff4d5131@mail.gmail.com>

Just a quick follow up.

The current logic for when to do proxy ndp seems to be:

network_device_is_forwarding && (global_proxy_ndp_is_on ||
network_device_is configured_for_proxy_ndp)

Maybe this should be:

(network_device_is_forwarding && global_proxy_ndp_is_on) ||
network_device_is configured_for_proxy_ndp

After all, if the admin has explicitly set proxy ndp on this specific
device, then maybe he knows best?

Alternatively it could also just be:

global_proxy_ndp_is_on || network_device_is configured_for_proxy_ndp

and not bother with checking forwarding at all.


[It should be pointed out that ipv6/conf/all/forwarding is a very
different beast than ipv6/conf/<device>/forwarding, the first globally
turns on ipv6 forwarding, the second switches a device between 'I am a
host' and 'I am a router' modes of operation]

      reply	other threads:[~2009-10-18  7:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-18  7:30 Question about IPV6 forwarding and proxy_ndp Maciej Żenczykowski
2009-10-18  7:37 ` Maciej Żenczykowski [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=55a4f86e0910180037vb40b588qb02a6438a57f9875@mail.gmail.com \
    --to=zenczykowski@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=yoshfuji@linux-ipv6.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