Re: sending raw packets via PPP

From: James Carlson
Date: Tue Aug 07 2007 - 06:33:44 EST


Christopher Fowler writes:
> On Mon, 2007-08-06 at 19:24 -0500, Kevin K wrote:
> > The DHCP source code therefore wants
> > to send raw packets (SOCKET_PACKET) (down to the ethernet addressing
> > info).
>
> I can imagine that would be the case. The box requesting the DHCP
> address has no IP address.

That's not always true. DHCP works fine on systems that already have
IP addresses -- address leasing is an _optional_ part of the protocol.
You can use DHCPINFORM to retrieve configuration parameters alone if
you already have an address.

Note that address assignment is technically optional in PPP (IPCP) as
well, so it would be possible to refuse IPCP addresses and then use
DHCP to acquire the needed information. It'd be strange to do, though.

--
James Carlson 42.703N 71.076W <carlsonj@xxxxxxxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/