On Sat, Dec 05, 2009 at 10:00:23AM +0100, jul wrote:
> I have setup a bridge following the faq
> http://www.openbsd.org/faq/faq6.html#Bridge
> (no filtering)
> 
> $ cat /etc/bridgename.bridge0
> add sis0
> add sis2
> up
> $ cat /etc/hostname.sis0
> 192.168.x.x 255.255.255.0 192.168.1.255 description LAN
> $ cat /etc/hostname.sis2
> up
> 
> 
> $ brconfig bridge0
> bridge0: flags=41<UP,RUNNING>
>         priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6
> proto rstp
>         designated: id 00:00:00:00:00:00 priority 0
>         sis2 flags=3<LEARNING,DISCOVER>
>                 port 3 ifpriority 0 ifcost 0
>         sis0 flags=3<LEARNING,DISCOVER>
>                 port 1 ifpriority 0 ifcost 0
>         Addresses (max cache: 100, timeout: 240):
>                 00:21:70:d6:76:5a sis2 1 flags=0<>
>                 00:23:32:d9:56:d8 sis0 1 flags=0<>
> 
> 
> 
> I start dhcpd with:
> # /usr/sbin/dhcpd sis0 ral0
> 
> if started with bridge0 and/or sis2, /var/log/daemon returns
> Dec  5 08:32:54 soekris4801 dhcpd[20667]: Can't listen on bridge0 -
> it has no IP address.
> Dec  5 08:33:41 soekris4801 dhcpd[6656]: Can't listen on sis2 - it
> has no IP address.
> And I believe it's not needed (one interface of the bridge equals
> all of them)
> 
> Dhcpd is working on sis0 with another system but doesn't answer to
> the box on sis2. tcpdump can see arp and bootp request from the
> station but there is no response from dhcpd. Don't know why.
> 
> Hints ?
> If I configure static IP configuration, network access is good.
> really seems limited to dhcpd.
> 
> thanks a lot.
> Best regards,
> 
>       Julien
> 
> dmesg (note: update to 4.6 planned)

Update to -current since this got fixed at h2k9 by Theo and myself.
Bridge did a terrible job when forwarding traffic to other ports which
resulted in most bpf listeners not seeing parts of the traffic.

-- 
:wq Claudio

Reply via email to