* Can I make USB IP addresses persist across unplug-replug events.
@ 2014-04-04 13:47 David Laight
2014-04-04 14:08 ` Antonio Quartulli
0 siblings, 1 reply; 2+ messages in thread
From: David Laight @ 2014-04-04 13:47 UTC (permalink / raw)
To: netdev@vger.kernel.org
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.
David
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Can I make USB IP addresses persist across unplug-replug events.
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
0 siblings, 0 replies; 2+ messages in thread
From: Antonio Quartulli @ 2014-04-04 14:08 UTC (permalink / raw)
To: David Laight; +Cc: netdev
[-- 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 --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-04-04 14:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).