Internet, Tech

Static IP Leases in OpenWRT

DHCP is the simplest way for handling IP leases in a home network. But, we would need static leases when we are running any servers in the network.

This can be done in OpenWRT by specifying the machine needing the static lease in the /etc/ethers file.
# desktop
xx:xx:xx:xx:xx:xx 192.168.1.106

Once this is done, the DNS/DHCP server needs to be restarted.
/etc/init.d/dnsmasq restart

Advertisements
Standard

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s