Match based on Ralay Agent IP

Bruce Hudson Bruce.Hudson at Dal.Ca
Fri May 7 13:32:29 UTC 2010


 
> The _main_ IP address of my relay agent servers is not within the subnet
> I want to assign for clients and that's why your solution will not work.

    The "main address", what-ever that means, should not be relevant
unless your relay agent is broken or the two addresses are on the same
interface. A DHCP relay should fill into the forwarded packet an address 
on the interface the original packet arrived on. 

    If the two addresses are on the same interface, then you need a
"shared-network" stanza to describe this to the server. 

	shared-network N1 {
	    subnet 10.0.1.0 netmask 255.255.255.0 {
	    }

	    subnet 192.168.100.0 netmask 255.255.255.0 {
	        pool {
	           range 192.168.100.2 192.168.100.254;
	        }
	    }
	}

This should give you what you want.
--
Bruce A. Hudson				| Bruce.Hudson at Dal.CA
ITS, Networks and Systems		|
Dalhousie University			|
Halifax, Nova Scotia, Canada		| (902) 494-3405



More information about the dhcp-users mailing list