DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 1st July 2010
vdubjunkie vdubjunkie is offline
Port Guard
 
Join Date: Feb 2009
Posts: 17
Thanked 0 Times in 0 Posts
Default dhcpd not working as I would expect

Code:
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33204
        groups: lo
        inet 127.0.0.1 netmask 0xff000000
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:50:da:b2:37:1c
        groups: egress
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
        inet6 fe80::250:daff:feb2:371c%xl0 prefixlen 64 scopeid 0x1
        inet x.x.x.x netmask 0xffffffe0 broadcast x.x.x.x
xl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:01:03:de:32:84
        description: Wired
        media: Ethernet 100baseTX full-duplex (100baseTX half-duplex)
        status: active
        inet 10.100.0.226 netmask 0xffff0000 broadcast 10.100.255.255
        inet6 fe80::201:3ff:fede:3284%xl1 prefixlen 64 scopeid 0x2
xl2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:50:da:5b:71:54
        description: Wireless
        media: Ethernet 100baseTX full-duplex (100baseTX half-duplex)
        status: active
        inet 172.16.0.226 netmask 0xfffff000 broadcast 172.16.15.255
        inet6 fe80::250:daff:fe5b:7154%xl2 prefixlen 64 scopeid 0x3
vr0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:11:2f:7b:c1:41
        media: Ethernet autoselect (none)
        status: no carrier
enc0: flags=0<> mtu 1536
pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33204
        groups: pflog
Code:
# grep -v "#" /etc/dhcpd.conf

authoritative;


shared-network WIRED {
        default-lease-time 86400;
        option  domain-name "freak.dub";
        option nis-domain "freak.dub";
        option  domain-name-servers 172.16.0.226, x.x.x.2, x.x.x.3, x.x.x.20, x.x.x.25, x.x..30;
        option broadcast-address 172.16.0.255;
        option routers 172.16.0.226;
        option ntp-servers 172.16.0.226;
        subnet 172.16.0.0 netmask 255.255.255.0 {
                range 172.16.0.25 172.16.0.35;
        }
        host vdubmac {
                hardware ethernet 00:25:00:4d:24:df;
                fixed-address 172.16.0.222;
        }
}

shared-network WIRELESS {
        option domain-name "wifi.freak.dub";
        option domain-name-servers 172.16.0.226, x.x.x.2, x.x.x.3, x.x.x.20, x.x.x.25, x.x.x.30;
        subnet 172.16.0.0 netmask 255.255.255.0 {
                option routers 172.16.0.226;
                option domain-name-servers 172.16.0.226;
                option ntp-servers 172.16.0.226;
                range 172.16.0.25 172.16.0.35;
        }
}
xl1 is WIRED subnet and xl2 is WIRELESS subnet. When I had "10.100.0.226" as the WIRED router, it bled through to my laptop which gets it's IP via a Linksys AP being used as just that, an AP only, to the WIRELESS vlan on my Catalyst 2950 switch which is shared by the port on the switch which connects to my xl2 iface.

Can anybody tell me why it's not handing out the WIRELESS settings to a client getting it's IP via the WIRELESS interface?

oh yes...
Code:
# uname -a
OpenBSD zeus.freak.dub 4.4 GENERIC#1021 i386
__________________
anything done in the GUI is done more efficiently in cli

Last edited by vdubjunkie; 1st July 2010 at 03:21 AM. Reason: additional useful information
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
dhcpd, dhcrelay, and ipsec VPN dontek OpenBSD General 2 22nd May 2010 08:52 PM
dhcpd, vista and wlan hamba FreeBSD Ports and Packages 5 8th September 2009 04:34 PM
dhcpd and dns sputnik OpenBSD General 8 8th May 2009 02:50 PM
dhcpd and multiple subnets vdubjunkie OpenBSD General 5 11th March 2009 11:02 PM
dhcpd within ezjail? zelut FreeBSD General 7 10th February 2009 10:31 PM


All times are GMT. The time now is 01:30 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick