Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


tyronne

33 posts

Geek
+1 received by user: 12


#249508 14-May-2019 13:34
Send private message

Hi All,

 

Having some issues with a new-ish USG Pro 4. Changes made in the controller for DHCP and Default gateway is not being saved to router. I've contacted Unifi and they've simply told me they cannot reproduce the issue and closed my case, even though people are experiencing the same issue on their forums.

 


I did a quick check through ssh:

admin@ubnt:~$ show configuration commands | grep dhcp-server
set service dhcp-server disabled false
set service dhcp-server hostfile-update disable
set service dhcp-server shared-network-name LAN_192.168.1.0-24 authoritative disable
set service dhcp-server shared-network-name LAN_192.168.1.0-24 subnet 192.168.1.0/24 lease 86400
set service dhcp-server shared-network-name LAN_192.168.1.0-24 subnet 192.168.1.0/24 start 192.168.1.100 stop 192.168.1.253
set service dhcp-server static-arp disable
set service dhcp-server use-dnsmasq disable



So gateway and DNS server are not being advertised even though the details are in the controller under networks-> Lan-> Edit. I tried both manual and automatic configuration of dns and gateway, both will not update the USG settings. Also tried to re-adopt and nothing.

Using the following:

configure
set service dhcp-server shared-network-name LAN_192.168.1.0-24 authoritative enable
set service dhcp-server shared-network-name LAN_192.168.1.0-24 subnet 192.168.1.0/24 default-router 192.168.1.1
set service dhcp-server shared-network-name LAN_192.168.1.0-24 subnet 192.168.1.0/24 dns-server 192.168.1.1
commit
save
exit


Now the USG works as intended and shows the following:

admin@ubnt:~$ show configuration commands | grep dhcp-server
set service dhcp-server disabled false
set service dhcp-server hostfile-update disable
set service dhcp-server shared-network-name LAN_192.168.1.0-24 authoritative enable
set service dhcp-server shared-network-name LAN_192.168.1.0-24 subnet 192.168.1.0/24 default-router 192.168.1.1
set service dhcp-server shared-network-name LAN_192.168.1.0-24 subnet 192.168.1.0/24 dns-server 192.168.1.1
set service dhcp-server shared-network-name LAN_192.168.1.0-24 subnet 192.168.1.0/24 lease 86400
set service dhcp-server shared-network-name LAN_192.168.1.0-24 subnet 192.168.1.0/24 start 192.168.1.100 stop 192.168.1.253
set service dhcp-server static-arp disable
set service dhcp-server use-dnsmasq disable


 

So issue with this is that every time I make an update to something in the controller, the USG loses its settings and have to re-ssh and configure again. As Ubiquiti is being extremely unhelpful in the matter, is there anyway to make the changes persistent, without the possibility of having any issues later on when upgrading firmware and software?


Create new topic

This is a filtered page: currently showing replies marked as answers. Click here to see full discussion.

michaelmurfy
meow
13579 posts

Uber Geek
+1 received by user: 10910

Moderator
ID Verified
Trusted
Lifetime subscriber

  #2238152 15-May-2019 09:15
Send private message

You may be best to create a new site with the settings you want in the controller and migrate your UniFi gear over to it.





Michael Murphy | https://murfy.nz
Referral Links: Quic Broadband (use R122101E7CV7Q for free setup)

Are you happy with what you get from Geekzone? Please consider supporting us by subscribing.
Opinions are my own and not the views of my employer.


Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.