Project

General

Profile

Actions

Bug #5747

closed

interfaces.php - Hitting apply on interface messes DHCPv6 config

Added by Greg M almost 9 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
DHCP (IPv6)
Target version:
-
Start date:
01/08/2016
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.3
Affected Architecture:
All

Description

See screenshots.

When you edit iface to use DHCPv6 IPv6 with all those preferences selected, and when you press save below config is generated:

interface pppoe0 {
send ia-pd 0; # request prefix delegation
request domain-name-servers;
request domain-name;
script "/var/etc/dhcp6c_opt2_script.sh"; # we'd like some nameservers please
};
id-assoc pd 0 {
};

After you click APPLY on pppoe interface above conf dissapears (from /var/etc) and few seconds later newly generated config appears (below one).

interface pppoe0 {
request domain-name-servers;
request domain-name;
script "/var/etc/dhcp6c_opt2_script.sh"; # we'd like some nameservers please
};

So GUI generates good config but apply button messes it up completley.

Workaround is to create own confing file, and use it in "Configuration File Override" in "DHCP6 client configuration" section of the interface.


Files

snip1.JPG (119 KB) snip1.JPG Greg M, 01/08/2016 11:25 AM
snip2.JPG (111 KB) snip2.JPG Greg M, 01/08/2016 11:25 AM
snip3.JPG (158 KB) snip3.JPG Greg M, 01/08/2016 11:25 AM
Actions

Also available in: Atom PDF