All home networking related discussions.
DieselJeeper
Ultimate Member
Posts:
509
Joined:
Wed Aug 03, 2011 12:24 pm
Certs:
MCSE, MCP+I, SEC+ (working on CCENT/CCNA)

Static DHCP with DD-WRT?

Mon May 28, 2012 10:39 pm

Title says most of it...

For numerous reasons, I want to bind my DHCP clients to static IP addresses, but can't figure out how to do it in DD-WRT.

I've googled, but every link I click times out (for this specific search- my uplink is otherwise fine).

I know I can do it with hardcoded IPs, I'm just curious how static DHCP is done (and yes I am aware that Static is a contradiction in terms of DHCP. I want a given MAC to always get the same IP) and would like to have some info on this.

(call this reserved DHCP if you prefer... ;) )

User avatar
jdsilva
Post Whore
Posts:
5347
Joined:
Mon Jan 17, 2005 11:01 pm
Certs:
CCNP

Re: Static DHCP with DD-WRT?

Mon May 28, 2012 10:49 pm

DD-WRT must be having issues... Their page for this times out for me too. Google Cache to the rescue!

http://webcache.googleusercontent.com/s ... ns&strip=1

nvram set static_leasenum=X (where X is the total number of static leases)
nvram set static_leases="00:11:22:33:44:55=name1=IP-Address1 00:11:22:33:44:56=name2=IP-Address2"

DieselJeeper
Ultimate Member
Posts:
509
Joined:
Wed Aug 03, 2011 12:24 pm
Certs:
MCSE, MCP+I, SEC+ (working on CCENT/CCNA)

Re: Static DHCP with DD-WRT?

Mon May 28, 2012 10:51 pm

ah, of course.. should have known it would be CLI. Thanks!

User avatar
bman
Senior Member
Posts:
334
Joined:
Fri Feb 11, 2011 4:01 pm
Certs:
CCNP, Sec+, Net+

Re: Static DHCP with DD-WRT?

Tue May 29, 2012 2:24 am

a better term for static DHCP would be manual allocation DHCP.

http://www.ietf.org/rfc/rfc2131.txt
http://blog.flappyport.com

DieselJeeper
Ultimate Member
Posts:
509
Joined:
Wed Aug 03, 2011 12:24 pm
Certs:
MCSE, MCP+I, SEC+ (working on CCENT/CCNA)

Re: Static DHCP with DD-WRT?

Sun Jun 03, 2012 7:22 pm

While enacting this, I found it actually has its own tab in DDWRT, does not need to be done via CLI anymore

'

Return to Home Networking

Who is online

Users browsing this forum: openmind and 13 guests