netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Proxy ARP is getting reset on a VLAN interface
@ 2020-04-01 17:06 Nagaprabhanjan Bellari
  2020-04-01 19:14 ` Anton Danilov
  0 siblings, 1 reply; 3+ messages in thread
From: Nagaprabhanjan Bellari @ 2020-04-01 17:06 UTC (permalink / raw)
  To: netdev

Hi,

I need a small help w.r.t proxy_arp setting on an interface - even if
I set /sys/net/conf/ipv4/all/proxy_arp to 1, doing a ifdown and an
ifup on a vlan interface resets the proxy_arp setting.

This does not happen, for example on a physical interface. ifdown/ifup
"remembers" the setting and applies it properly. I am talking about a
3.x kernel.

Can something be done to keep this from happening?

Thanks,
-nagp

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Proxy ARP is getting reset on a VLAN interface
  2020-04-01 17:06 Proxy ARP is getting reset on a VLAN interface Nagaprabhanjan Bellari
@ 2020-04-01 19:14 ` Anton Danilov
  2020-04-02  4:17   ` Nagaprabhanjan Bellari
  0 siblings, 1 reply; 3+ messages in thread
From: Anton Danilov @ 2020-04-01 19:14 UTC (permalink / raw)
  To: Nagaprabhanjan Bellari; +Cc: Linux Kernel Network Developers

The ifdown of vlan interface removes the interface completely.
After ifup (recreating) of vlan interface, this interface inherits the
proxy_arp value from /proc/sys/net/conf/ipv4/default/proxy_arp.


On Wed, 1 Apr 2020 at 21:52, Nagaprabhanjan Bellari
<nagp.lists@gmail.com> wrote:
>
> Hi,
>
> I need a small help w.r.t proxy_arp setting on an interface - even if
> I set /sys/net/conf/ipv4/all/proxy_arp to 1, doing a ifdown and an
> ifup on a vlan interface resets the proxy_arp setting.
>
> This does not happen, for example on a physical interface. ifdown/ifup
> "remembers" the setting and applies it properly. I am talking about a
> 3.x kernel.
>
> Can something be done to keep this from happening?
>
> Thanks,
> -nagp



-- 
Anton Danilov.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Proxy ARP is getting reset on a VLAN interface
  2020-04-01 19:14 ` Anton Danilov
@ 2020-04-02  4:17   ` Nagaprabhanjan Bellari
  0 siblings, 0 replies; 3+ messages in thread
From: Nagaprabhanjan Bellari @ 2020-04-02  4:17 UTC (permalink / raw)
  To: Anton Danilov; +Cc: Linux Kernel Network Developers

Many thanks! Setting /proc/sys/net/ipv4/conf/default/proxy_arp to 1
has resolved the issue.

-nagp

On Thu, Apr 2, 2020 at 12:45 AM Anton Danilov
<littlesmilingcloud@gmail.com> wrote:
>
> The ifdown of vlan interface removes the interface completely.
> After ifup (recreating) of vlan interface, this interface inherits the
> proxy_arp value from /proc/sys/net/conf/ipv4/default/proxy_arp.
>
>
> On Wed, 1 Apr 2020 at 21:52, Nagaprabhanjan Bellari
> <nagp.lists@gmail.com> wrote:
> >
> > Hi,
> >
> > I need a small help w.r.t proxy_arp setting on an interface - even if
> > I set /sys/net/conf/ipv4/all/proxy_arp to 1, doing a ifdown and an
> > ifup on a vlan interface resets the proxy_arp setting.
> >
> > This does not happen, for example on a physical interface. ifdown/ifup
> > "remembers" the setting and applies it properly. I am talking about a
> > 3.x kernel.
> >
> > Can something be done to keep this from happening?
> >
> > Thanks,
> > -nagp
>
>
>
> --
> Anton Danilov.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-04-02  4:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-01 17:06 Proxy ARP is getting reset on a VLAN interface Nagaprabhanjan Bellari
2020-04-01 19:14 ` Anton Danilov
2020-04-02  4:17   ` Nagaprabhanjan Bellari

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).