Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Mar 2000 12:52:28 -0600
From:      "Alejandro Ramirez" <ales@megared.net.mx>
To:        "Jim King" <king@sstar.com>
Cc:        <freebsd-isp@freebsd.org>
Subject:   RE: dhcpd through a relay
Message-ID:  <05d401bf83af$4b0fb7e0$020a0a0a@megared.net.mx>
References:  <4.2.0.58.20000301111254.00a5f068@mail.sstar.com> <4.2.0.58.20000301123455.00a5e4c0@mail.sstar.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

> How does the DHCP server know what subnet the request is coming from?  Is
> that something that the DHCP relay sticks into the packet header or
> something?  (I guess I should go read the RFC.)

Well here its a brief description of the dhcp proccess involving a dhcp
relay agent, the dhcp relay agent receives broadcast packages of dhcp
requests from the clients, as you know routers dont pass broadcasts packages
betwen interfaces, so they got encapsulated into unicast packages and they
are directed to an specific host, this hosts doesnt receive broadcasts, just
unicasts and answer them with broadcasts, the relay agent receive this
broadcasts and send them to the client as unicast, and so on until completes
the dhcp transaccions, so the server just receives unicast from 1 ip
address, and like I told you it just have to have the spool in the same
subnet that the relay agent ip address is sending packets from, and
everything should work.

P.S. Alway copy to the list, because someone can give you better advises
than I do.

Greetings...
Ales




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?05d401bf83af$4b0fb7e0$020a0a0a>