On Sunday 03 August 2008 13:19:53 you wrote:
> The file you wanted to create was /etc/dhcpd.interfaces.
That was a typo in my first mail, sorry.

> Note that as 
> of -current this has been deprecated for dhcpd_flags.
I'm running 4.2.

> http://www.openbsd.org/faq/current.html#20080607
>
> And just fyi, you should know that dhcpd(8) has never honored
> dhcpd_flags or dhcpd.interfaces.  Only /etc/rc does at boot.  To start
> dhcpd manually:
>
>   # dhcpd vlan10 vlan11 tun0 tun1
>
> And the respective line in /etc/rc.conf.local:
>
>   dhcpd_flags="vlan10 vlan11 tun0 tun1"


O.K. I tried that. In /v/l/daemon I then found:
Aug  3 13:26:17 pf dhcpd: Can't listen on tun1 - it has no IP address.
Aug  3 13:26:17 pf dhcpd: Can't listen on tun0 - it has no IP address.
Aug  3 13:26:17 pf dhcpd: Can't listen on vlan11 - it has no IP address.

Which actually makes sense since they don't need IP adresses.
What I have is:
vlan10: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:50:8b:95:a4:d2
        description: client uplink
        vlan: 10 priority: 0 parent interface: trunk0
        groups: vlan
        inet6 fe80::250:8bff:fe95:a4d2%vlan10 prefixlen 64 scopeid 0x7
        inet 10.1.16.1 netmask 0xffffff00 broadcast 10.1.16.255
vlan11: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1496
        lladdr 00:50:8b:95:a4:d2
        description: wlan uplink
        vlan: 11 priority: 0 parent interface: trunk0
        groups: vlan
        inet6 fe80::250:8bff:fe95:a4d2%vlan11 prefixlen 64 scopeid 0xe
bridge0: flags=41<UP,RUNNING> mtu 1500
        groups: bridge
tun0: flags=9943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,LINK0,MULTICAST> mtu 
1500
        lladdr 00:bd:f7:fa:3f:01
        inet6 fe80::2bd:f7ff:fefa:3f01%tun0 prefixlen 64 scopeid 0x12
tun1: flags=9943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,LINK0,MULTICAST> mtu 
1500
        lladdr 00:bd:b5:5d:a4:02
        inet6 fe80::2bd:b5ff:fe5d:a402%tun1 prefixlen 64 scopeid 0x13

and

bridge0: flags=41<UP,RUNNING>
        priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp
        tun1 flags=3<LEARNING,DISCOVER>
                port 19 ifpriority 0 ifcost 0
        tun0 flags=3<LEARNING,DISCOVER>
                port 18 ifpriority 0 ifcost 0
        vlan11 flags=f3<LEARNING,DISCOVER,EDGE,AUTOEDGE,PTP,AUTOPTP>
                port 14 ifpriority 0 ifcost 0
        vlan10 flags=f3<LEARNING,DISCOVER,EDGE,AUTOEDGE,PTP,AUTOPTP>
                port 7 ifpriority 0 ifcost 0
        Addresses (max cache: 100, timeout: 240):
                00:1d:7d:9f:cf:82 vlan10 1 flags=0<>
                00:18:f8:9e:a7:ff vlan10 1 flags=0<>
                00:21:5c:40:dc:99 vlan11 1 flags=0<>
                00:0e:0c:aa:8b:6c vlan10 1 flags=0<>

Whatever I supply via commandline, dhcpd only listens on vlan10 and doesnt 
reply to dhcp requests on other interfaces than vlan10.

-- 
Thank you 
Chris

Reply via email to