On 12/31/2012 11:44 PM, Simon Hobson wrote: > "Simon Matter" wrote: > >> I'm not sure I understood exactly but is it so that you'll have one >> VLAN interface per client on the box? If so then I think ISC DHCP >> will work as long as you make it listening on all those interfaces. >> It will complain about it with "Multiple interfaces match the same >> blabla" but works fine. > > > Yep, that's it. I'm thinking I might need to run one instance of > dhcpd per VLAN, otherwise it will be difficult determining what gets > what lease. With one instance/vlan I can just do a subnet declaration > for a.b.c.0/24, and define a range with one address in it. Should > work, though not the simplest setup to manage !
There's no need to run multiple instances of dhcpd for multiple VLANs. Just define them as separate subnets, give your DHCP server an interface in each subnet, and it will automatically allocate clients from the right range. (Or you could use your switches as DHCP relays and have them include option 82; dhcpd will still pick the right subnet range under that circumstance as well.) I can show you working examples of the correct dhcpd and switch configs (for HP Comware and ProCurve switches) if you need them. Paul ------------------------------------------------------------------------------ Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 _______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
