DHCP :-(

DOWNLOAD THE LATEST FIRMWARE HERE
User avatar
jjonsson
Associate
Associate
 
Posts: 337
Joined: Wed Nov 05, 2014 12:30 pm
Location: Denmark
Has thanked: 37 times
Been thanked: 65 times

DHCP :-(

Wed Jan 27, 2016 12:49 pm

I'm unfortunately not that luckily with getting DHCP to work....
Here's a log output, and I simply don't understand, why the switch does not apply the setting, even though it receives an IP-address from the DHCP server....
It just reverts to old configuration....

Jan 17 03:29:24 UI: Configuration changed by 192.168.1.100
Jan 17 03:29:24 UI: IPv4_Mode: changed from 'Static' to 'DHCP'
Jan 17 03:29:24 UI: IPv4_Address: changed from '192.168.1.5' to '10.0.0.50'
Jan 17 03:29:24 UI: IPv4_Netmask: changed from '255.255.255.0' to '255.255.252.0'
Jan 17 03:29:24 UI: IPv4_Gateway: changed from '192.168.1.1' to '10.0.0.1'
Jan 17 03:29:24 UI: IPv4_Primary_DNS: changed from '192.168.1.1' to '8.8.8.8'
Jan 17 03:29:24 UI: IPv4_Secondary_DNS: changed from '' to '8.8.4.4'
Jan 17 03:29:24 UI: Switch_Location: changed from 'XXX' to 'XXXX'
Jan 17 03:29:24 UI: SNMP_Server_Location: changed from 'XXX' to 'XXXX'
Jan 17 03:29:24 UI: Discovery_Ubiquiti: changed from 'Disabled' to 'Enabled'
Jan 17 03:29:24 UI: Discovery_Cisco: changed from 'Disabled' to 'Enabled'
Jan 17 03:29:24 UI: Options_Iperf_Server: changed from 'Disabled' to 'Enabled'
Jan 17 03:29:27 system: starting ntpclient
Jan 17 03:29:30 udhcpc[2579]: udhcpc (v1.19.4) started
Jan 17 03:29:30 mini_snmpd[789]: stopped
Jan 17 03:29:30 mini_snmpd[2598]: started, listening on port 161/udp and 161/tcp
Jan 17 03:29:30 udhcpc[2579]: Sending discover...
Jan 17 03:29:31 udhcpc[2579]: Sending select for 10.0.0.50...
Jan 17 03:29:31 udhcpc[2579]: Lease of 10.0.0.50 obtained, lease time 86400
Jan 17 03:29:33 system: starting ntpclient
Jan 27 17:35:51 skywire: Reverting to last known good configuration
Jan 27 17:35:53 skywire: removing lan (eth0.10) from firewall zone lan
Jan 27 17:35:53 switch[2720]: Detected cold boot
Jan 27 17:35:55 udhcpc[2712]: Received SIGTERM
Jan 27 17:35:55 udhcpc[2712]: Unicasting a release of 10.0.0.50 to 10.0.0.1
Jan 27 17:35:55 udhcpc[2712]: Sending release...
Jan 27 17:35:55 udhcpc[2712]: bind(UDP): Cannot assign requested address
Jan 27 17:35:56 udhcpc[2712]: Entering released state
Jan 27 17:35:58 skywire: adding lan (eth0.10) to firewall zone lan
Jan 27 17:35:59 system: starting ntpclient
Jan 27 17:35:59 mini_snmpd[2598]: stopped

And yes, the time is wrong, when I click apply.....

This switch is running firmware v1.3.7. I haven't had the possibility to upgrade to v1.3.8.
Does v1.3.8 solve the issue ?

User avatar
jjonsson
Associate
Associate
 
Posts: 337
Joined: Wed Nov 05, 2014 12:30 pm
Location: Denmark
Has thanked: 37 times
Been thanked: 65 times

Re: DHCP :-(

Wed Jan 27, 2016 1:06 pm

I had to first configure the address as static. When it ate that, I could change to DHCP assigned....

Would be nice if you could just enter fallback IP-address and then change from static to DHCP.....

User avatar
sirhc
Employee
Employee
 
Posts: 7416
Joined: Tue Apr 08, 2014 3:48 pm
Location: Lancaster, PA
Has thanked: 1608 times
Been thanked: 1325 times

Re: DHCP :-(

Wed Jan 27, 2016 2:07 pm

jjonsson wrote:I had to first configure the address as static. When it ate that, I could change to DHCP assigned....

Would be nice if you could just enter fallback IP-address and then change from static to DHCP.....


You would have to disable Revert Mode, the problem is the switch changes IP address but the UI has no idea what that new IP address will be so it can not get to it so it reverts back to the last configuration.

Solutions:
1) Disable Revert Mode under Device/Configuration by setting value to 0

2) Set Static address to what you want the DHCP to be then next select DHCP as you already figured out.
Support is handled on the Forums not in Emails and PMs.
Before you ask a question use the Search function to see it has been answered before.
To do an Advanced Search click the magnifying glass in the Search Box.
To upload pictures click the Upload attachment link below the BLUE SUBMIT BUTTON.

Return to Hardware and software issues

Who is online

Users browsing this forum: No registered users and 81 guests