Modify

Opened 6 years ago

Last modified 4 years ago

#11879 accepted enhancement

Web UI should check for duplicated IP in Static Leases before saving

Reported by: Mathieu MD <mathieu.md@…> Owned by: jow
Priority: low Milestone: Barrier Breaker 14.07
Component: luci Version: 10.03.1
Keywords: Cc:

Description

In "Network > DHCP and DNS", "Static Leases" if you set the same IP on two lines, the router's dnsmasq daemon wont restart (see logs below), leaving users with a unusable network (you must then configure a client with a static IP to get access back to the router web UI).

The web UI (or some other process) should check that there is no duplicate before saving and applying this configuration.

  1. The logs:
Sep  8 17:55:56 OpenWrt user.info sysinit: dnsmasq: duplicate IP address 192.168.1.50 in dhcp-config directive.
Sep  8 17:55:56 OpenWrt daemon.crit dnsmasq[1257]: duplicate IP address 192.168.1.50 in dhcp-config directive.
Sep  8 17:55:56 OpenWrt daemon.crit dnsmasq[1257]: FAILED to start up

System info:

Router Name OpenWrt
Router Model Linksys WRT54G/GS/GL
Firmware Version OpenWrt Backfire 10.03.1 / LuCI 0.10.0 Release (0.10.0)
Kernel Version 2.6.32.27

root@OpenWrt:/etc# cat /etc/openwrt_version 
10.03.1
root@OpenWrt:/etc# uname -a
Linux OpenWrt 2.6.32.27 #5 Wed Dec 21 05:56:26 CET 2011 mips GNU/Linux

Attachments (0)

Change History (2)

comment:1 Changed 6 years ago by jow

  • Owner set to jow
  • Status changed from new to accepted

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as accepted .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.