Identifying DHCP Relay Agent

Bruce Hudson Bruce.Hudson at Dal.Ca
Wed Jul 12 15:07:30 UTC 2006


>  class "via_router1" {
>   match if packet (24,4) = "192.168.1.2";
>   option routers 192.168.1.2;
>   }

    You are comparing the 4 bytes you extracted from the packet to an 11
byte text string. They are unlikely to match. While I don't have access
to our test server at the moment, try removing the quotation marks. If
that does not work, you may need to use "C0:A8:01:02" as your IP address
(also without the quotes).
--
Bruce A. Hudson				| Bruce.Hudson at Dal.CA
UCIS, Networks and Systems		|
Dalhousie University			|
Halifax, Nova Scotia, Canada		| (902) 494-3405


More information about the dhcp-users mailing list