Rough outline of permanent connections:
EdgeRouter X Configuration
DNSMasqto provide DHCP & DNS
- local DNS will also have DHCP clients
- due to windows limitations (can’t have multiple connections to the same fileserver with different credentials from one user… but can set up DNS/IP aliases to the same server and connect via the aliases) created multiple static IP maps to the NAS
- can configure static DHCP range, static DHCP mappings, DHCP lease domain, and system domain via GUI
- enabling DNSMasq for DHCP and static DNS mappings require using the CLI
> configure > set service dhcp-server use-dnsmasq enable > set system name-server 127.0.0.1 # static DNS mappings # Note- this isn't using the static DHCP mapping. So if you change the mapping for DHCP, you also need to manually update this DNS mapping > set system static-host-mapping host-name <host> inet <ip> > set system static-host-mapping host-name <host> alias <alias name> ... add more aliases ... > set service dns forwarding options expand-hosts > commit > save >exit # Some useful diagnostic commands: > show service dns > show service dhcpd # Don't forget tab completion - gives help!