netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Move interface across network namespaces
@ 2011-08-11  0:31 Renato Westphal
  2011-08-11  7:13 ` Eric W. Biederman
  0 siblings, 1 reply; 8+ messages in thread
From: Renato Westphal @ 2011-08-11  0:31 UTC (permalink / raw)
  To: netdev, Eric W. Biederman

Hello,

I have two questions regarding the process of moving a network
interface across different network namespaces:

* When I move an interface, all the virtual interfaces attached to it
are deleted. Is there any reason for such odd behavior? I would like
to move some network interfaces and keep the attached vlans untouched.

* The target network namespace sends a RTM_NEWLINK netlink message
when an interface is moved to it. In the other hand, the source
network namespace doesn't sends a RTM_DELLINK message when an
interface is moved from it. This is very annoying because user space
applications (such as zebra) can't detect some interface moving
operations and then get into an inconsistent state. Anyone knows if
there's a workaround for this?

Any help would be appreciated.

Best Regards,
Renato.

-- 
Renato Westphal

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

end of thread, other threads:[~2011-10-24  7:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-11  0:31 Move interface across network namespaces Renato Westphal
2011-08-11  7:13 ` Eric W. Biederman
2011-08-11 18:29   ` Renato Westphal
2011-08-15 13:10     ` Renato Westphal
2011-08-18 23:12       ` Eric W. Biederman
2011-08-19 14:38         ` Renato Westphal
2011-10-21 16:24           ` [PATCH] rtnetlink: Add missing manual netlink notification in dev_change_net_namespaces Eric W. Biederman
2011-10-24  7:03             ` David Miller

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).