User Tools

Site Tools


doc:appunti:net:ipv6_on_ppp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
doc:appunti:net:ipv6_on_ppp [2026/09/27 09:08] – [Using a static IPv6 address] niccolodoc:appunti:net:ipv6_on_ppp [2026/09/27 09:37] (current) – [Commands] niccolo
Line 574: Line 574:
  
 # Execute first the default Debian script (DNS, etc.), if it exists. # Execute first the default Debian script (DNS, etc.), if it exists.
-[ -x /etc/wide-dhcpv6/dhcp6c-script ] && /etc/wide-dhcpv6/dhcp6c-script+# We do not need this because the DNS is configured locally, not via DHCPv6. 
 +#[ -x /etc/wide-dhcpv6/dhcp6c-script ] && /etc/wide-dhcpv6/dhcp6c-script
  
 get_src() { get_src() {
Line 611: Line 612:
 </file> </file>
  
-The script we added calls the default Debian script before modifying the default route.+If you need to call the default Debian hook script **/etc/wide-dhcpv6/dhcp6c-script** (used mainly to set the DNS nameserver on DHCPv6) you need to uncomment the relevant line in the scrtip above.
  
-===== Commands =====+You can see all the times that the script is executed (because the DHCPv6 lease renews) using the command: 
 + 
 +<code> 
 +journalctl --boot -t dhcp6c-src 
 +</code> 
 + 
 +===== Useful commands =====
  
 Mostra la **rotta predefinita** per IPv6: Mostra la **rotta predefinita** per IPv6:
doc/appunti/net/ipv6_on_ppp.1790492905.txt.gz · Last modified: by niccolo