OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: ISC DHCP 4.2

From: Allie Daneman (dfdrainfade.com)
Date: Mon Aug 16 2010 - 11:45:47 CDT


Don't ya love automagically working...just another reason I love OpenBSD ;)

On 08/16/2010 09:25 AM, Chris Cappuccio wrote:
> OpenBSD dhcpd can run without any arguments at all, it will simply look at what LANs are in your dhcpd.conf and if any of them match to active interfaces, it will listen on those interfaces. it's pure magic
>
> Allie Daneman [dfdrainfade.com] wrote:
>
>> Hmmm...I run my dhcpd alittle different (2 LAN's) but it sounds like
>> you just need to update your dhcpd.interfaces file with both
>> interfaces. If you put both if's in that file you can just run dhcpd
>> without any additional params.
>>
>> On 08/16/2010 06:39 AM, Michael McCool wrote:
>>
>>> A bit of clarification...
>>>
>>> The dhcp server is not working at all when run as a daemon process. I was mistaken before.
>>>
>>> I have specified the interfaces to run on in the command line.
>>>
>>> dhcpd -f em1 em2<- works fine
>>> dhcpd em1 em2<- doesn`t work
>>>
>>> I have run tcpdump on my wired lan interface, i see the dhcp requests, but the replies are only ever sent when dhcpd is running in the foreground.
>>>
>>>
>>> -----Original Message-----
>>> Date: Monday, August 16, 2010 12:09:23 am
>>> To: "Michael McCool"<mccoolmgyahoo.com>
>>> Cc: miscopenbsd.org
>>> From: "Olivier Mehani"<shtromssji.net>
>>> Subject: Re: ISC DHCP 4.2
>>>
>>> On Sun, Aug 15, 2010 at 08:52:51PM -0700, Michael McCool wrote:
>>>
>>>> When running the ISC 4.2 dhcpd (using the old config file) in the
>>>> foreground/debugging (-f or -f -d), clients on both my wired lan
>>>> (segment 1) and wireless lan (segment 2) can obtain IP addresses just
>>>> fine. When running the dhcpd server is daemon mode, only the wired
>>>> lan clients can obtain IP addresses. Any suggestions on to what I can
>>>> do to start digging into what is going on and how to fix it?
>>>>
>>> Just a quick guess from my not so recent experiece: Did you specify all
>>> the relevant interfaces in /etc/dhcpd.interfaces?
>>>
>>> --
>>> Olivier Mehani<shtromssji.net>
>>> PGP fingerprint: 4435 CF6A 7C8D DD9B E2DE F5F9 F012 A6E2 98C6 6655
>>>
>>> [demime 1.01d removed an attachment of type application/pgp-signature]