I have multiple projects/products, etc at work we are breaking into separate broadcast domains ( currently 11, likely to be closer to 20 ). I don't want a different dhcp server per subnet/vlan. I can put a trunk port to the dhcp server so if I can have dhcpd answering on each vlan so I have centrally managed dhcp, that's ideal. So maybe I'm stuck doing the eth0.21, etc with an IP on each subnet and one dhcp server.<br><div><br></div><div><br></div><br><div class="gmail_quote">On Thu Jan 22 2015 at 7:30:43 PM Jim Kinney <<a href="mailto:jkinney@jimkinney.us">jkinney@jimkinney.us</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">+1. All it takes is a physical connection to the subnet.<br>
<br>
Not sure why separate vlans get assigned to separate subnets. It doesn't provide a benefit. Vlans are for having overlapping IP space in the same physical LAN. Which is only useful when a LAN fills up a 10. Class A. Maybe its easier at the switch/router management level with more than 100 subnets. Mostly, I see it used as a job guarantee for a network admin.<br><br><div class="gmail_quote"></div></div><div dir="auto"><div class="gmail_quote">On January 22, 2015 9:15:39 PM EST, Michael Trausch <<a href="mailto:mike@trausch.us" target="_blank">mike@trausch.us</a>> wrote:</div></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>ISC dhcpd will hand an address out based on the interface it came in on. If if eth0 has <a href="http://203.0.113.1/25" target="_blank">203.0.113.1/25</a> and eth1 has <a href="http://203.0.113.129/25" target="_blank">203.0.113.129/25</a>, and the DHCP server is authoritative for those two subnetworks, then when it receives a request on eth0 for an address it will issue an address in <a href="http://203.0.113.0/25" target="_blank">203.0.113.0/25</a>; when it receives a request on eth1 it will issue an address in <a href="http://203.0.113.128/25" target="_blank">203.0.113.128/25</a>. </div><div><br>Sent from my iPad</div><div><br>On Jan 22, 2015, at 7:37 PM, "Robert L. Harris" <<a href="mailto:robert.l.harris@gmail.com" target="_blank">robert.l.harris@gmail.com</a>> wrote:<br><br></div></blockquote></div></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><blockquote type="cite"><div>Ok, so if I have 2 subnets:<br><br>172.20.1/24 on vlan 21<div>172.20.2/24 on vlan 22</div><div><br></div><div>If a host plugs into a port assigned to vlan 22, how do I make sure dhcpd gives out the right address? That's the part of the designation I'm missing.</div><div><br></div><div>Robert</div><div><br></div><br></div></blockquote></blockquote></div></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><blockquote type="cite"><div><div class="gmail_quote">On Thu Ja
n 22
2015 at 5:17:25 PM James Sumners <<a href="mailto:james.sumners@gmail.com" target="_blank">james.sumners@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You just have to define the subnets in the config and put each subnet's pool within its respective block. No need for aliased IPs. <span></span><br><br>On Thursday, January 22, 2015, Robert L. Harris <<a href="mailto:robert.l.harris@gmail.com" target="_blank">robert.l.harris@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><div>Anyone have a dhcpd serving multiple subnets to multiple vlans from a single server on a trunk they can share configs? I don't want to spawn a bunch of servers and if I can do it with a single interface that would be ideal. If I have to go with eth0.0, eth0.1, etc that's a good second choice. </div><div><br></div><div>Robert</div><div><br></div>
</blockquote><br><br>-- <br><div dir="ltr"><div><div dir="ltr"><div>James Sumners<br><a href="http://james.sumners.info/" target="_blank">http://james.sumners.info/</a> (technical profile)</div><div><a href="http://jrfom.com/" target="_blank">http://jrfom.com/</a> (personal site)</div><div><a href="http://haplo.bandcamp.com/" target="_blank">http://haplo.bandcamp.com/</a> (band page)</div></div></div></div><br>
______________________________<u></u>_________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org" target="_blank">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/<u></u>listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/<u></u>listinfo</a><br>
</blockquote></div>
</div></blockquote></blockquote></div></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Ale mailing list</span><br><span><a href="mailto:Ale@ale.org" target="_blank">Ale@ale.org</a></span><br><span><a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a></span><br><span>See JOBS, ANNOUNCE and SCHOOLS lists at</span><br><span><a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a></span><br></div></blockquote><p style="margin-top:2.5em;margin-bottom:1em;border-bottom:1px solid #000"></p><pre><hr><br>Ale mailing list<br><a href="mailto:Ale@ale.org" target="_blank">Ale@ale.org</a><br><a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>See JOBS, ANNOUNCE and SCHOOLS lists at<br><a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br></pre></blockquote></div></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"></blockquote></div><br>
--<br>
Jim Kinney<br>
Linux Systems Analyst<br>
Physicist/Brewer<br>
<a href="http://jimkinney.us" target="_blank">http://jimkinney.us</a></div>______________________________<u></u>_________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org" target="_blank">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/<u></u>listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/<u></u>listinfo</a><br>
</blockquote></div>