You can bind a  specific IP address from the router, but if you are not the network administrator (eg: you work with your laptop) you can try to request your “preferred” IP address editing your dhclient.conf like the following example (append this config to the bottom of the file):

interface "eth0" {
send dhcp-requested-address 192.168.1.64;
}

You can find dhclient.conf here /etc/dhcp/dhclient.conf or here /etc/dhclient.conf (your mileage may vary).

After modifying the config file, you can deactivate your network device (in my example eth0) then request the new IP address

sudo ifconfig eth0 down
sudo dhclient eth0

0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *