IPv6 DHCP6c: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Die Seite wurde neu angelegt: „=Install= *apt-get install wide-dhcpv6-client =sysctl.conf= ==IPv6 Forwarding einschalten== net.ipv6.conf.all.forwarding = 1 ==Akzeptieren der Router Advertism…“) |
|||
| Zeile 11: | Zeile 11: | ||
net.ipv6.conf.ens19.accept_ra = 2 | net.ipv6.conf.ens19.accept_ra = 2 | ||
| − | + | =wide-dhcpv6-client== | |
| − | interface | + | ==Defaulteinstellung= |
| − | + | Interface auf von dem die Anfragen ausgehen | |
| − | + | *cat /etc/default/wide-dhcpv6-client | |
| − | + | INTERFACES="ens18" | |
| − | + | ==Konfigdatei== | |
| − | + | *cat /etc/wide-dhcpv6/dhcp6c.conf | |
| + | <pre> | ||
| + | interface ens18 { | ||
| + | send ia-pd 1; | ||
| + | send rapid-commit; | ||
| + | script "/etc/wide-dhcpv6/dhcp6c-script"; | ||
}; | }; | ||
id-assoc pd 1 { | id-assoc pd 1 { | ||
| − | + | prefix ::/56 infinity; | |
| − | + | prefix-interface ens19 { | |
| − | + | sla-id 0; | |
| − | + | ifid 1; | |
| + | sla-len 8; | ||
}; | }; | ||
| − | |||
| − | |||
| − | |||
| − | |||
}; | }; | ||
| + | </pre> | ||
| + | =restart | ||
| + | *systemctl restart wide-dhcpv6-client.service | ||
Version vom 15. November 2019, 11:37 Uhr
Install
- apt-get install wide-dhcpv6-client
sysctl.conf
IPv6 Forwarding einschalten
net.ipv6.conf.all.forwarding = 1
Akzeptieren der Router Advertisments
net.ipv6.conf.ens19.accept_ra=2
systcl neueinlesen
- sysctl -p
net.ipv6.conf.all.forwarding = 1 net.ipv6.conf.ens19.accept_ra = 2
wide-dhcpv6-client=
=Defaulteinstellung
Interface auf von dem die Anfragen ausgehen
- cat /etc/default/wide-dhcpv6-client
INTERFACES="ens18"
Konfigdatei
- cat /etc/wide-dhcpv6/dhcp6c.conf
interface ens18 {
send ia-pd 1;
send rapid-commit;
script "/etc/wide-dhcpv6/dhcp6c-script";
};
id-assoc pd 1 {
prefix ::/56 infinity;
prefix-interface ens19 {
sla-id 0;
ifid 1;
sla-len 8;
};
};
=restart
- systemctl restart wide-dhcpv6-client.service