public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: "Arkadiusz Bubała" <arkadiusz.bubala@open-e•com>
To: netdev@vger•kernel.org
Subject: Connection remains in the ESTABLISHED state when the virtual IP is down.
Date: Thu, 04 Feb 2016 08:49:08 +0100	[thread overview]
Message-ID: <56B30274.8020409@open-e.com> (raw)

Hello,

I encountered following issue:
when I connect with NFS server through virtual IP then I remove this IP 
netstat still shows that connection is ESTABLISHED. When I put down 
whole interface all ESTABLISHED connections disappear.  The kernel 
version is 3.10.92.

How to reproduce.

create virtual IP:

ip addr add 88.88.88.1/24 dev eth0 label eth0:0 (or ifconfig eth0:0 
88.88.88.1)

then make connection from the NFS client. In netstat there is:
tcp        0      0 88.88.88.1:2049         88.88.88.2:765 ESTABLISHED-

and delete virtual IP:
ip addr del 88.88.88.1/24 dev eth0 (or ifconfig eth0:0 down)

the netstat still shows that conneciton is ESTABLISHED and remains in 
that state for about 5 minutes. Even if I recreate virtual IP I can't 
access to the server until it disappears.

When the whole interface is put down (ifconfig eth0 down)  the netstat 
doesn't show any entries for my virtual IP and if I put it up again I 
can access to the server immediately.

Shouldn't the ESTABLISHED connections be removed also when virtual IP is 
down? Or maybe there is any sysctl option to change that behaviour?

-- 
Best regards
Arkadiusz Bubała
Open-E Poland Sp. z o.o.
www.open-e.com

                 reply	other threads:[~2016-02-04  7:51 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=56B30274.8020409@open-e.com \
    --to=arkadiusz.bubala@open-e$(echo .)com \
    --cc=netdev@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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