bridge.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [Bridge] NFS connection drops as interface added to bridge
@ 2016-06-07 16:20 Udaya Puvvadi
  2016-06-08  1:50 ` Stephen Hemminger
  0 siblings, 1 reply; 2+ messages in thread
From: Udaya Puvvadi @ 2016-06-07 16:20 UTC (permalink / raw)
  To: bridge

[-- Attachment #1: Type: text/plain, Size: 388 bytes --]

Hi,

I am running PXE boot with Debian Stretch image, with eth2 interface
bound to kernel for doing NFS mounts.

I am trying to add this interface to the bridge, for network
communication across virtual interfaces, however the NFS drops
connections as soon as I add the interface.

Can you please help me on how to do the NFS mount's over a bridge connection ?

-- 
Thanks,
Udaya Puvvadi

[-- Attachment #2: Type: text/html, Size: 667 bytes --]

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

* Re: [Bridge] NFS connection drops as interface added to bridge
  2016-06-07 16:20 [Bridge] NFS connection drops as interface added to bridge Udaya Puvvadi
@ 2016-06-08  1:50 ` Stephen Hemminger
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2016-06-08  1:50 UTC (permalink / raw)
  To: Udaya Puvvadi; +Cc: bridge

On Tue, 7 Jun 2016 12:20:42 -0400
Udaya Puvvadi <upuvvad1@binghamton.edu> wrote:

> Hi,
> 
> I am running PXE boot with Debian Stretch image, with eth2 interface
> bound to kernel for doing NFS mounts.
> 
> I am trying to add this interface to the bridge, for network
> communication across virtual interfaces, however the NFS drops
> connections as soon as I add the interface.
> 
> Can you please help me on how to do the NFS mount's over a bridge connection ?
> 

There are two possible issues:
1. When an interface is part of the bridge, you must not try and use the interface
   directly.  I.e once eth2 is part of br0, don't use eth2 again. Most importantly
   never assign an IP address to the interface. Many people doing this kind of thing
   end up reading the IP address of the interface (eth2), then removing all addresses
   from the interface (eth2) before assigning it to the bridge, then apply the IP address
   back to the bridge device.

2. The bridge device itself has a MAC address for local packets. This MAC address is
   based on all the devices in the bridge (by default). Therefore when eth2 is added
   to a bridge with other devices present, the MAC address for locally sent packets
   will change.


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

end of thread, other threads:[~2016-06-08  1:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-07 16:20 [Bridge] NFS connection drops as interface added to bridge Udaya Puvvadi
2016-06-08  1:50 ` Stephen Hemminger

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