[SOLVED] What is 12h when seen after address ranges?

Questions about cabled networking
Forum rules
Before you post please read how to get help
Post Reply
User avatar
otacon14112
Level 2
Level 2
Posts: 64
Joined: Sun Apr 21, 2013 11:43 pm

[SOLVED] What is 12h when seen after address ranges?

Post by otacon14112 » Mon Apr 02, 2018 9:42 pm

I know what netmasks are, and CIDR notation, ie 192.168.2.4/24, but in IP address ranges, such as dnsmasq.conf:

Code: Select all

dhcp-range=lan,192.168.1.100,192.168.200,12h
dhcp-lease-max=100
Is it a maximum of 12 hosts, spanning 100 IP addresses, or hops? I've seen it other places, too.
Last edited by otacon14112 on Tue Apr 03, 2018 7:38 pm, edited 1 time in total.
Otacon: You remember pre-ripped jeans? Manufacturers thought that just because people loved old, broken-in jeans, they would want to buy new jeans that looked old. So they purposefully...
Solid Snake: What do jeans have to do with nature and order?

User avatar
catweazel
Level 15
Level 15
Posts: 5917
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: What is 12h when seen after address ranges?

Post by catweazel » Tue Apr 03, 2018 2:06 am

otacon14112 wrote:
Mon Apr 02, 2018 9:42 pm
I know what netmasks are, and CIDR notation, ie 192.168.2.4/24, but in IP address ranges, such as dnsmasq.conf:

Code: Select all

dhcp-range=lan,192.168.1.100,192.168.200,12h
dhcp-lease-max=100
Is it a maximum of 12 hosts, spanning 100 IP addresses, or hops? I've seen it other places, too.
From dnsmasq.conf

Code: Select all

# Uncomment this to enable the integrated DHCP server, you need
# to supply the range of addresses available for lease and optionally
# a lease time. If you have more than one network, you will need to
# repeat this for each network on which you want to supply DHCP
# service.
#dhcp-range=192.168.0.50,192.168.0.150,12h
No doubt it's the optional lease time.
A new scientific truth does not triumph by convincing its opponents and making them see the light, but rather because its opponents eventually die, and a new generation grows up that is familiar with it. - Max Planck

User avatar
otacon14112
Level 2
Level 2
Posts: 64
Joined: Sun Apr 21, 2013 11:43 pm

Re: What is 12h when seen after address ranges?

Post by otacon14112 » Tue Apr 03, 2018 7:35 pm

Thanks, I'm not accustomed to seeing it provided in that way. It makes sense now that you pointed it out.
Otacon: You remember pre-ripped jeans? Manufacturers thought that just because people loved old, broken-in jeans, they would want to buy new jeans that looked old. So they purposefully...
Solid Snake: What do jeans have to do with nature and order?

Post Reply

Return to “Ethernet”