Check Relay Agent IP address

Glenn Satchell glenn.satchell at uniq.com.au
Wed Feb 3 04:20:34 UTC 2010


Hi Billy

The dhcp server does this automatically. If a request comes in from a 
remote subnet, the dhcp relay agent adds in the gateway address as it 
forwards the packet. The dhcp server looks at this gateway address and 
automatically matches it with a subnet declaration for you.

There is no special dhcpd.conf configuration required. A subnet 
declaration is the same whether it is a locally attached or remote network.

regards,
-glenn

Billy Ng wrote:
> Dear All,
> 
> Is it possible to check the relay agent IP before assign an dynamic IP 
> address to the DHCP client? Say if the server contains multiple address 
> pool from 192.168.1.x to 192.168.10.x. And the client only can obtain 
> the IP address from pool 192.168.1.x if the relay agent IP is 
> 192.168.1.254. 
> 
> Thanks in advise.
> 
> Best Regards,
> Billy
> 
> _______________________________________
> YM - 離線訊息
> 就算你沒有上網,你的朋友仍可以留下訊息給你,當你上網時就能立即看到,任何 
> 說話都冇走失。
> http://messenger.yahoo.com.hk
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users



More information about the dhcp-users mailing list