networking-forum.com
Community BlogCommunity Wiki * Register  * Search  * Login
View unanswered postsView active topics

All times are UTC - 6 hours [ DST ]



Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Static DHCP with DD-WRT?
PostPosted: Mon May 28, 2012 10:39 pm 
Offline
Ultimate Member
Ultimate Member

Joined: Wed Aug 03, 2011 12:24 pm
Posts: 504
Location: Charleston, SC
Certs: MCSE, MCP+I, SEC+ (working on CCENT/CCNA)
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... ;) )


Top
 Profile  
 
PostPosted: Mon May 28, 2012 10:49 pm 
Offline
Post Whore
Post Whore
User avatar

Joined: Mon Jan 17, 2005 11:01 pm
Posts: 5148
Location: Canada eh
Certs: 350-001, CCNP, CXFF, ITILv3F
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

Quote:
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"

_________________
blog.brokennetwork.ca


Top
 Profile  
 
PostPosted: Mon May 28, 2012 10:51 pm 
Offline
Ultimate Member
Ultimate Member

Joined: Wed Aug 03, 2011 12:24 pm
Posts: 504
Location: Charleston, SC
Certs: MCSE, MCP+I, SEC+ (working on CCENT/CCNA)
ah, of course.. should have known it would be CLI. Thanks!


Top
 Profile  
 
PostPosted: Tue May 29, 2012 2:24 am 
Offline
Senior Member
Senior Member
User avatar

Joined: Fri Feb 11, 2011 4:01 pm
Posts: 299
Location: Germany
Certs: CCNP, Sec+, Net+
a better term for static DHCP would be manual allocation DHCP.

http://www.ietf.org/rfc/rfc2131.txt


Top
 Profile  
 
PostPosted: Sun Jun 03, 2012 7:22 pm 
Offline
Ultimate Member
Ultimate Member

Joined: Wed Aug 03, 2011 12:24 pm
Posts: 504
Location: Charleston, SC
Certs: MCSE, MCP+I, SEC+ (working on CCENT/CCNA)
While enacting this, I found it actually has its own tab in DDWRT, does not need to be done via CLI anymore


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group