Lock IP to MAC?

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
chaosmstr
DD-WRT Novice


Joined: 08 Sep 2021
Posts: 2

PostPosted: Wed Sep 08, 2021 6:17    Post subject: Lock IP to MAC? Reply with quote
I have a device that I cannot set the IP addy, it only works with DHCP.

Is there a location for locking an IP to the MAC addy in the router?

Asus RT-AC68U B1
DD-WRT v3.0-r44715 std (11/03/20
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12837
Location: Netherlands

PostPosted: Wed Sep 08, 2021 7:31    Post subject: Reply with quote
Welcome to the forum

To get the best out of DDWRT and the forum read the forum guidelines full of helpful pointers:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087

If you have not already read the forum guidelines, please do !!

The forum guidelines will tell you. among other useful things, where to download builds (your build is old and has already security issues) and where to post your questions (this is not the place)

I will transfer your question to a more appropriate forum.

What you are looking for is called a static lease research that for starters (and of course consider upgrading Smile )

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
chaosmstr
DD-WRT Novice


Joined: 08 Sep 2021
Posts: 2

PostPosted: Wed Sep 08, 2021 7:54    Post subject: Reply with quote
Static IP...
Boy, now I feel dumb.
I simply couldn't think of the words!

Found it... Thank you!
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12837
Location: Netherlands

PostPosted: Wed Sep 08, 2021 8:01    Post subject: Reply with quote
No problem we are here to help

You can use the GUI (Services/Services) and Add a static lease or paste this in the Additional DNSMasq options:
Code:
dhcp-host=08:97:98:xx:xx:xx,nitro,192.168.6.58,1440m


When using the latter it is easier if you have to upgrade, just save it in a text file so you can easily copy paste it.

But if you just Google:
"DDWRT static lease" the first thing you find is:
https://wiki.dd-wrt.com/wiki/index.php/Static_DHCP

P.S. Do not forget to upgrade Smile

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
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 vote in polls in this forum
You can attach files in this forum
You can download files in this forum