[Bridge] NFS connection drops as interface added to bridge
Stephen Hemminger
stephen at networkplumber.org
Wed Jun 8 01:50:23 UTC 2016
On Tue, 7 Jun 2016 12:20:42 -0400
Udaya Puvvadi <upuvvad1 at 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.
More information about the Bridge
mailing list