From: Antonio Quartulli <antonio@meshcoding.com>
To: David Laight <David.Laight@ACULAB.COM>
Cc: netdev@vger.kernel.org
Subject: Re: Can I make USB IP addresses persist across unplug-replug events.
Date: Fri, 04 Apr 2014 16:08:04 +0200 [thread overview]
Message-ID: <533EBCC4.9070701@meshcoding.com> (raw)
In-Reply-To: <063D6719AE5E284EB5DD2968C1650D6D0F6EFE84@AcuExch.aculab.com>
[-- Attachment #1: Type: text/plain, Size: 765 bytes --]
On 04/04/14 15:47, David Laight wrote:
> Is there a sane way to stop the local IP address (etc) associated
> with a USB network interface being deleted when the USB card
> is unplugged - so that everything will recover quickly when it is
> plugged back in?
>
> Maybe something horrid like master-slave bonding/teaming with a dummy
> software interface which will silently discard tx traffic when the
> usb interface is missing.
What about a bridge interface? When the usb network device is plugged-in
you can enslave it in the bridge (and viceversa on unplug).
The IP is configured on the bridge so it will survive and also the users
applications using it.
no? or am I missing something important? :)
Cheers,
--
Antonio Quartulli
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 901 bytes --]
prev parent reply other threads:[~2014-04-04 14:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-04 13:47 Can I make USB IP addresses persist across unplug-replug events David Laight
2014-04-04 14:08 ` Antonio Quartulli [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=533EBCC4.9070701@meshcoding.com \
--to=antonio@meshcoding.com \
--cc=David.Laight@ACULAB.COM \
--cc=netdev@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;
as well as URLs for NNTP newsgroup(s).