User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

ubnt:short_names [2018/12/09 13:12]
derek created
ubnt:short_names [2018/12/10 05:52] (current)
Line 1: Line 1:
 =====Short Names===== =====Short Names=====
-Access router CLI+This guide allows devices on the network to be accessed by their short names (as well as their FQDN). 
 +Access router CLI either through the GUI or a SSH client. 
 +This doesn'​t technically provide short name access, but most devices will automatically try appending the domain-name anyway. To properly do it requires adding static host names with aliases without the domain-name for each device. 
 +  * ''​override-hostname-ip''​ replaces the automatic entry of in the hostfile 
 +  * ''​hostfile-update''​ automatically adds dhcp entries into the hostfile
-Where x.x.x.x is the local address of the router 
 <​code>​ <​code>​
 configure configure
-set system ip override-hostname-ip ​x.x.x.x+ 
 +set system ip override-hostname-ip ​<local router IP> 
 +set system domain-name <​domain-name>​ 
 +set service dhcp-server shared-network-name LAN subnet <subnet IP/24> domain-name <​domain-name>​ 
 +set service dhcp-server hostfile-update enable 
 commit commit
 save save
 exit exit
 </​code>​ </​code>​
ubnt/short_names.txt · Last modified: 2018/12/10 05:52 by derek