matching on giaddr field

Simon Hobson dhcp1 at thehobsons.co.uk
Thu Jul 24 07:02:57 UTC 2008


li jun wrote:

>Our experience is here
>
>It's no need to add card,just split your network into several VLAN,For
>example:VLAN1,VLAN2,VLAN3
>on the DHCP server ,we can do like this:
>
>shared-network vlan1{
>    subnet [subnet addr] netmask [mask] {
>             #some  options here
>
>              range [range start ip] [range end ip];
>              }
>}
>
>shared-network vlan2{
>    subnet [subnet addr] netmask [mask] {
>             #some  options here
>
>              range [range start ip] [range end ip];
>              }
>}
>...

Firstly, in the example you've given the shared-subnet clauses are 
not needed (and a source of confusion for anyone reading this that 
doesn't understand them fully.

But whilst you are correct, this isn't the best method for the OP who 
already has a routed setup with routers supporting DHCP Relay Agent 
function.


BTW, for the OP :

When you turn on the relay agent (using the "IP helper ..." 
function), it turns on a whole lot more. There is a list of about 
half a dozen 'helpful' things you probably want to explicitly turn 
off - I can't remember what they are, but it has been in the archives 
a few times (try searching for "ip helper address").


More information about the dhcp-users mailing list