On Wed, 14 Nov 2007 09:45:17 -0600
Vivek Shrivastava <viveks@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@linux-foundation.org>