Multiple subnets on one Interface

Jason Hellenthal jhellenthal at dataix.net
Mon Jan 27 21:01:27 UTC 2014


To the best of my knowledge it's going to assign starting with the least significant address moving to the most significant address sequentially assigning leases in order since both subnets exist on the same interface.

-- 
 Jason Hellenthal
 Voice: 95.30.17.6/616
 JJH48-ARIN

> On Jan 27, 2014, at 14:21, Steve Clark <sclark at netwolves.com> wrote:
> 
> Hello List,
> 
> if I have something like in the dhcpd.conf file below and on my
> interface I have:
> 
> 6: eth4: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
>     link/ether 00:90:0b:2b:d8:96 brd ff:ff:ff:ff:ff:ff
>     inet 10.129.10.1/24 scope global eth4
>     inet 10.129.11.1/24 scope global eth4
> 
> #dhcpd.conf
>         authoritative;
>         ddns-update-style interim;
>         shared-network DHCP{
>                 subnet 10.129.11.0 netmask 255.255.255.0 { 
>                 range 10.129.11.20 10.129.11.30;
>                 option domain-name-servers 8.8.8.8, 8.8.4.4;
>                 option routers 10.129.11.1;
>                 option subnet-mask 255.255.255.0;
>                 option broadcast-address 10.129.11.255;
>                 default-lease-time 86400;
>                 max-lease-time 86400;
>                 deny bootp;
>                 }
>                 subnet 10.129.10.0 netmask 255.255.255.0 {
>                 range 10.129.10.20 10.129.10.30;
>                 option domain-name-servers 8.8.8.8, 8.8.4.4;
>                 option routers 10.129.10.1;
>                 option subnet-mask 255.255.255.0;
>                 option broadcast-address 10.129.10.255;
>                 default-lease-time 86400;
>                 max-lease-time 86400;
>                 deny bootp;
>         }
> }
> 
> How will dhcpd give out ips? Will it alternate? Give all of one subnet then start the other
> subnet?
> 
> Thanks in advance,
> 
> 
> 
> -- 
> Stephen Clark
> NetWolves
> Director of Technology
> Phone: 813-579-3200
> Fax: 813-882-0209
> Email: steve.clark at netwolves.com
> http://www.netwolves.com
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20140127/f3e081a4/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6118 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20140127/f3e081a4/attachment.bin>


More information about the dhcp-users mailing list