I setup my ubuntu as DHCP server and specified some fixed IP addresses for certain devices using the syntax:
host client1 {
hardware ethernet b8:27:eb:ce:02:83;
fixed-address 192.168.1.1;
option host-name "client1";
}
Now it seems that the correct IP addresses are given to the clients, but I cannot access the clients over ssh using
ssh username@client1
I am very new to networking and I am wondering, what is the host-name for if not for accesing the IP address? Is there a mistake in my config file or is it really not possible to use the hostname on the server for ssh connection to the client (instead of ip)? Thanks