> How are you configuring the bridge interface and dhcpcd?
> Does it work as the above?

No.

root@albatross:~# ip link show dev eth0
2: eth0: <BROADCAST,MULTICAST,PROMISC> mtu 1500 qdisc pfifo_fast state DOWN 
qlen 1000
    link/ether 20:cf:30:2a:7c:07 brd ff:ff:ff:ff:ff:ff
root@albatross:~# ip link set eth0 up
root@albatross:~# brctl addbr br0
root@albatross:~# brctl addif br0 eth0
root@albatross:~# ip link set br0 up
root@albatross:~# brctl show
bridge name     bridge id               STP enabled     interfaces
br0             8000.20cf302a7c07       no              eth0
root@albatross:~# brctl showstp br0
br0
 bridge id              8000.20cf302a7c07
 designated root        8000.20cf302a7c07
 root port                 0                    path cost                  0
 max age                  20.00                 bridge max age            20.00
 hello time                2.00                 bridge hello time          2.00
 forward delay            15.00                 bridge forward delay      15.00
 ageing time             300.01
 hello timer               0.61                 tcn timer                  0.00
 topology change timer     0.00                 gc timer                 299.24
 flags


eth0 (1)
 port id                8001                    state                forwarding
 designated root        8000.20cf302a7c07       path cost                  4
 designated bridge      8000.20cf302a7c07       message age timer          0.00
 designated port        8001                    forward delay timer       13.66
 designated cost           0                    hold timer                 0.00
 flags

root@albatross:~# dhcpcd -dB br0
dhcpcd[23098]: version 5.2.12 starting
dhcpcd[23098]: br0: using hwaddr 20:cf:30:2a:7c:07
dhcpcd[23098]: br0: executing `/lib/dhcpcd/dhcpcd-run-hooks', reason PREINIT
dhcpcd[23098]: br0: executing `/lib/dhcpcd/dhcpcd-run-hooks', reason CARRIER
dhcpcd[23098]: br0: broadcasting for a lease
dhcpcd[23098]: br0: sending DISCOVER (xid 0xcb4fa2d2), next in 4.68 seconds
dhcpcd[23098]: br0: sending DISCOVER (xid 0xcb4fa2d2), next in 7.65 seconds
dhcpcd[23098]: br0: sending DISCOVER (xid 0xcb4fa2d2), next in 16.12 seconds
dhcpcd[23098]: br0: sending DISCOVER (xid 0xcb4fa2d2), next in 32.08 seconds
dhcpcd[23098]: timed out
dhcpcd[23098]: allowing 8 seconds for IPv4LL timeout
dhcpcd[23098]: br0: probing for an IPv4LL address
dhcpcd[23098]: br0: checking for 169.254.248.32
dhcpcd[23098]: br0: sending ARP probe (1 of 3), next in 1.42 seconds
dhcpcd[23098]: br0: sending ARP probe (2 of 3), next in 1.60 seconds
dhcpcd[23098]: br0: sending ARP probe (3 of 3), next in 2.00 seconds
dhcpcd[23098]: br0: using IPv4LL address 169.254.248.32
dhcpcd[23098]: br0: adding IP address 169.254.248.32/16
dhcpcd[23098]: br0: adding route to 169.254.0.0/16
dhcpcd[23098]: br0: writing lease `/var/lib/dhcpcd5/dhcpcd-br0.lease'
dhcpcd[23098]: br0: executing `/lib/dhcpcd/dhcpcd-run-hooks', reason IPV4LL
dhcpcd[23098]: br0: sending ARP announce (1 of 2), next in 2.00 seconds
dhcpcd[23098]: br0: sending ARP announce (2 of 2)
^Cdhcpcd[23098]: received SIGINT, stopping
dhcpcd[23098]: br0: removing interface
dhcpcd[23098]: br0: deleting route to 169.254.0.0/16
dhcpcd[23098]: br0: deleting IP address 169.254.248.32/16
dhcpcd[23098]: br0: executing `/lib/dhcpcd/dhcpcd-run-hooks', reason STOP
root@albatross:~# dhclient -v br0
Internet Systems Consortium DHCP Client 4.1.1-P1
Copyright 2004-2010 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/br0/20:cf:30:2a:7c:07
Sending on   LPF/br0/20:cf:30:2a:7c:07
Sending on   Socket/fallback
DHCPREQUEST on br0 to 255.255.255.255 port 67
DHCPACK from 192.168.14.1
bound to 192.168.14.32 -- renewal in 2798 seconds.
root@albatross:~# dhclient -x br0
root@albatross:~# dhcpcd -dB br0
dhcpcd[24657]: version 5.2.12 starting
dhcpcd[24657]: br0: using hwaddr 20:cf:30:2a:7c:07
dhcpcd[24657]: br0: executing `/lib/dhcpcd/dhcpcd-run-hooks', reason PREINIT
dhcpcd[24657]: br0: executing `/lib/dhcpcd/dhcpcd-run-hooks', reason CARRIER
dhcpcd[24657]: br0: reading lease `/var/lib/dhcpcd5/dhcpcd-br0.lease'
dhcpcd[24657]: br0: checking for 169.254.248.32
dhcpcd[24657]: br0: sending ARP probe (1 of 3), next in 1.85 seconds
dhcpcd[24657]: br0: sending ARP probe (2 of 3), next in 1.11 seconds
dhcpcd[24657]: br0: sending ARP probe (3 of 3), next in 2.00 seconds
dhcpcd[24657]: br0: using IPv4LL address 169.254.248.32
dhcpcd[24657]: br0: adding IP address 169.254.248.32/16
dhcpcd[24657]: br0: adding route to 169.254.0.0/16
dhcpcd[24657]: br0: writing lease `/var/lib/dhcpcd5/dhcpcd-br0.lease'
dhcpcd[24657]: br0: executing `/lib/dhcpcd/dhcpcd-run-hooks', reason IPV4LL
dhcpcd[24657]: br0: sending ARP announce (1 of 2), next in 2.00 seconds
dhcpcd[24657]: br0: sending ARP announce (2 of 2)
dhcpcd[24657]: br0: broadcasting for a lease
dhcpcd[24657]: br0: sending DISCOVER (xid 0x53cc09cf), next in 4.44 seconds
dhcpcd[24657]: br0: sending DISCOVER (xid 0x53cc09cf), next in 7.46 seconds
dhcpcd[24657]: br0: sending DISCOVER (xid 0x53cc09cf), next in 16.09 seconds
dhcpcd[24657]: br0: sending DISCOVER (xid 0x53cc09cf), next in 31.28 seconds
dhcpcd[24657]: br0: sending DISCOVER (xid 0x53cc09cf), next in 63.99 seconds

-- 
 .''`.   martin f. krafft <madduck@d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)

Reply via email to