[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Prepackaged kernels in Potato not configured for DHCP



On Fri, 14 Jan 2000, Eric Weigel wrote:

> When I tried that with dhcpcd and dhcp from slink, it didn't
> work.  dhcpcd was suposed to work with eth0, and dhcpd was
> supposed to work with eth1.  IIRC, dhcpd set up a host route to
> 255.255.255.255 through eth1. and then dhcpcd configured eth0
> as 255.255.255.255, wiping out the route dhcpd set up.  Or
> something like that.  It was a mess.

I set exactly this up just last week, using potato it worked flawlessly,
but I had to compile a new kernel to support the DHCP server. The new dhcp
clients use raw sockets or filter sockets so they don't need those host
routes.

I always use dhcpcd (not the ISC client) because it seems to work much
better with linux and is just as featurefull.

> looking at the potato dhcpcd, it's using a packet socket as
> well, so it may work fine with dhcpd on the same machine, but
> it still needs CONFIG_PACKET in the kernel, which is the point
> of this thread.

There are two settings in the kernel, CONFIG_PACKET and CONFIG_FILTER -
ISC DHCP tools need one (or both?) and dhcpcd needs the other one. Our
stock kernel has just one set so dhcpcd works fine, but all the ISC tools
fail.

Jason


Reply to: