[Bridge] 'dhcpcd' fails when run on wireless-wired bridge device

Stephen Hemminger shemminger at osdl.org
Thu Nov 10 10:32:34 PST 2005


On Thu, 10 Nov 2005 05:22:32 +0000
"Ryan B. Lynch" <rlynch at bway.net> wrote:

> Hi,
> 
> I'm experiencing a DHCP client failure when running 'dhcpcd' on the
> bridge interface itself.  Here are the basics:
> 
> "eth0" is ordinary, wired ethernet
> "eth1" is a wireless 802.11b/g device (ipw2200 driver)
> 
> There is a working DHCP server on the wireless network, which has been
> tested and works when trying to run 'dhcpcd' on the wireless device
> itself.  At the beginning, everthing is "down" with no IP addresses
> assigned.  I bring up the bridge and add the devices in this order:
> 
>     > ip link set eth0 up
>     > ip link set eth1 up
>     > iwconfig eth1 essid "my_essid"
>     > iwconfig eth1 key "my_key"
> 
>     > (pause to let the wireless client associate)
> 
>     > brctl addbr br0
>     > brctl addif br0 eth0
>     > brctl addif br0 eth1
>     > ip link set br0 up

Did you wait 30 seconds for the bridge to put the port
into the forwarding state?

> 
> Now, I try to get a DHCP lease for the "br0" device, using 'dhcpcd':
> 
>     > dhcpcd -C -t 10 -d br0
>
-- 
Stephen Hemminger <shemminger at osdl.org>
OSDL http://developer.osdl.org/~shemminger



More information about the Bridge mailing list