From owner-freebsd-isp Wed Mar 1 10:52:59 2000 Delivered-To: freebsd-isp@freebsd.org Received: from unix.megared.net.mx (megamail.megared.com.mx [207.249.162.252]) by hub.freebsd.org (Postfix) with ESMTP id BE6DD37BBC1 for ; Wed, 1 Mar 2000 10:52:53 -0800 (PST) (envelope-from ales@megared.net.mx) Received: from ales (ales.megared.net.mx [207.249.163.241]) by unix.megared.net.mx (8.9.3/8.9.3) with SMTP id MAA13534; Wed, 1 Mar 2000 12:53:14 -0600 (CST) (envelope-from ales@megared.net.mx) Message-ID: <05d401bf83af$4b0fb7e0$020a0a0a@megared.net.mx> From: "Alejandro Ramirez" To: "Jim King" Cc: References: <4.2.0.58.20000301111254.00a5f068@mail.sstar.com> <4.2.0.58.20000301123455.00a5e4c0@mail.sstar.com> Subject: RE: dhcpd through a relay Date: Wed, 1 Mar 2000 12:52:28 -0600 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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