[Bridge] NFS over bridged interface

Stephen Hemminger shemminger at linux-foundation.org
Wed Nov 14 12:39:42 PST 2007


On Wed, 14 Nov 2007 09:45:17 -0600
Vivek Shrivastava <viveks at cs.wisc.edu> wrote:

> Hi,
>      I am running NFS over my soekris boxes, with eth0 as the primary 
> wired interface (that gets dhcp ip address from the server and loads the 
> entire NFS filesystem). Now I want to bridge traffic from (some traffic) 
> eth0 to eth1 (another interface). But as soon as I add eth0 to the 
> bridge, the box stops responding.  I have waited more than 30 sec (the 
> default bridging fwd delay), but still see no response. I am a new to 
> this community so I am not sure if this has been already discussed. Any 
> help will be greatly appreciated.
> 
> Thanks
> Vivek

You need to use dhcp on the bridge interface.

# brctl addbr br0
# ifconfig eth0 0.0.0.0    # mark up with no address
# ifconfig eth1 0.0.0.0
# brctl setfd br0 0        # turn off forwarding delay
# brctl addif br0 eth0 eth1
# dhclient br0


-- 
Stephen Hemminger <shemminger at linux-foundation.org>


More information about the Bridge mailing list