Quantcast
Viewing all articles
Browse latest Browse all 60861

Re: host name not resolving across subnets

I have this working using dnsmasq enabled for DHCP with static host name for a device.

Using CLI:

 

configure
set service dhcp-server use-dnsmasq enable
set service dns forwarding listen-on eth1 (use your LAN interfaces)
set service dns forwarding listen-on eth2 (use your LAN interfaces)
set service dns forwarding name-server 8.8.8.8
set system name-server 127.0.0.1

Make sure your DHCP server is set to assign the router address as dns-server and that dns is not manually set on the PC you are using.

set service dhcp-server shared-network-name <name> subnet 10.0.9.0/24 dns-server 10.0.9.1

Example static mapping:

set service dhcp-server shared-network-name Management subnet 10.0.100.0/24 static-mapping cloudkey ip-address 10.0.100.44
set service dhcp-server shared-network-name Management subnet 10.0.100.0/24 static-mapping cloudkey mac-address 44:d9:e7:xx:xx:xx

 

 


Viewing all articles
Browse latest Browse all 60861

Trending Articles