router (net-technik-ikt): enable IPv6
This commit is contained in:
parent
cc202233c0
commit
48ce5d9886
@ -6,10 +6,23 @@
|
|||||||
interface = "ens18";
|
interface = "ens18";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
networking.interfaces.net-technik-iot.ipv6.addresses = [
|
||||||
|
{ address = "fe80::1"; prefixLength = 64; }
|
||||||
|
{ address = "fd00:10:42:151::1"; prefixLength = 64; }
|
||||||
|
];
|
||||||
networking.interfaces.net-technik-iot.ipv4.addresses = [
|
networking.interfaces.net-technik-iot.ipv4.addresses = [
|
||||||
{ address = "10.42.151.1"; prefixLength = 24; }
|
{ address = "10.42.151.1"; prefixLength = 24; }
|
||||||
];
|
];
|
||||||
|
|
||||||
|
services.radvd.config = ''
|
||||||
|
interface net-technik-iot {
|
||||||
|
AdvSendAdvert on;
|
||||||
|
prefix ::/64 {};
|
||||||
|
RDNSS 2a01:4f8:1c0c:8221::8 {};
|
||||||
|
DNSSL bula22.de {};
|
||||||
|
};
|
||||||
|
'';
|
||||||
|
|
||||||
services.kea.dhcp4 = {
|
services.kea.dhcp4 = {
|
||||||
settings = {
|
settings = {
|
||||||
interfaces-config = {
|
interfaces-config = {
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
ia_pd 1/::/56 net-hospital/203/64 net-zoll/204/64 net-leitstelle/205/64 net-verwaltung/206/64
|
ia_pd 1/::/56 net-hospital/203/64 net-zoll/204/64 net-leitstelle/205/64 net-verwaltung/206/64
|
||||||
interface ppp-uplink-b
|
interface ppp-uplink-b
|
||||||
ipv6rs
|
ipv6rs
|
||||||
ia_pd 1/::/56 net-ikt/201/64 net-technik/202/64 net-yolo/208/64 net-infojurte/209/64 net-internation/210/64 net-programmtre/211/64 net-open-office/212/64
|
ia_pd 1/::/56 net-technik-iot/151/64 net-ikt/201/64 net-technik/202/64 net-yolo/208/64 net-infojurte/209/64 net-internation/210/64 net-programmtre/211/64 net-open-office/212/64
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user