fix DNS servers for IPV6
This commit is contained in:
parent
55d8e55d3e
commit
c26b1d8988
@ -119,16 +119,23 @@
|
|||||||
DUIDRawData = "00:03:00:01:E8:AD:A6:21:73:68";
|
DUIDRawData = "00:03:00:01:E8:AD:A6:21:73:68";
|
||||||
WithoutRA = "solicit";
|
WithoutRA = "solicit";
|
||||||
};
|
};
|
||||||
ipv6AcceptRAConfig.DHCPv6Client = "yes";
|
ipv6AcceptRAConfig.DHCPv6Client = true;
|
||||||
networkConfig = {
|
networkConfig = {
|
||||||
KeepConfiguration = "dhcp-on-stop";
|
KeepConfiguration = "dhcp-on-stop";
|
||||||
IPv6AcceptRA = "yes";
|
IPv6AcceptRA = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
"40-eno2" = {
|
"40-eno2" = {
|
||||||
networkConfig = {
|
networkConfig = {
|
||||||
IPv6SendRA = "yes";
|
IPv6SendRA = true;
|
||||||
DHCPPrefixDelegation = "yes";
|
DHCPPrefixDelegation = true;
|
||||||
|
};
|
||||||
|
ipv6SendRAConfig = {
|
||||||
|
EmitDNS = true;
|
||||||
|
DNS = [
|
||||||
|
"2606:4700:4700::1111"
|
||||||
|
"2606:4700:4700::1001"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
"40-enp0s21u2".dhcpV4Config.RouteMetric = 1024;
|
"40-enp0s21u2".dhcpV4Config.RouteMetric = 1024;
|
||||||
@ -148,7 +155,7 @@
|
|||||||
{ ethernetAddress = "50:02:91:78:be:be"; hostName = "guirlande"; ipAddress = "10.30.40.3"; }
|
{ ethernetAddress = "50:02:91:78:be:be"; hostName = "guirlande"; ipAddress = "10.30.40.3"; }
|
||||||
];
|
];
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
option domain-name-servers 89.234.141.66, 80.67.169.12, 80.67.169.40;
|
option domain-name-servers 1.1.1.1, 1.0.0.1;
|
||||||
option subnet-mask 255.255.0.0;
|
option subnet-mask 255.255.0.0;
|
||||||
subnet 10.30.0.0 netmask 255.255.0.0 {
|
subnet 10.30.0.0 netmask 255.255.0.0 {
|
||||||
option routers 10.30.0.1;
|
option routers 10.30.0.1;
|
||||||
|
Loading…
Reference in New Issue
Block a user