User Tools

Site Tools


networking:ziggo:changed-ip

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
networking:ziggo:changed-ip [2024/09/13 11:51] oscarnetworking:ziggo:changed-ip [2025/09/04 16:03] (current) – [IPv6 change] oscar
Line 8: Line 8:
   - On the router update: network/firewall/traffic rules --> Allow-HTTPS-ipv6 to new address of webserver   - On the router update: network/firewall/traffic rules --> Allow-HTTPS-ipv6 to new address of webserver
  
 +Note that the routers IPv6 WAN address is different / outside of the Prefix Delegation (PD) range!
 ===== IPv4 change ===== ===== IPv4 change =====
 When Ziggo change our IPv4 address. The following steps are required: When Ziggo change our IPv4 address. The following steps are required:
Line 18: Line 19:
   * DNS as registered at TransIP with: nslookup -type=a  oscardegroot.nl ns0.transip.net   * DNS as registered at TransIP with: nslookup -type=a  oscardegroot.nl ns0.transip.net
   * IP address as observed by external websites, with: wget -4 --quiet -O - https://www.transip.nl/ip-check/   * IP address as observed by external websites, with: wget -4 --quiet -O - https://www.transip.nl/ip-check/
 +===== OpenWRT prerequisites =====
 +For sending notification email install the following package on the router:
 +  mailsend
 +
 ===== ip-change-detect.sh ===== ===== ip-change-detect.sh =====
 The following script is created on main OpenWRT router: The following script is created on main OpenWRT router:
Line 71: Line 76:
         echo "CURRENT :"$IP6_CURRENT  >> $MAIL_FILE                                                                                                            echo "CURRENT :"$IP6_CURRENT  >> $MAIL_FILE                                                                                                   
                                                                                                                                                                                                                                                                                                              
-        mailsend -f root@openwrt -t oscar@oscardegroot.nl -smtp 192.168.178.83 -sub "$MAIL_HEADER" -cs "utf-8" -mime-type "text/plain" -msg-body "$MAI+        mailsend -f root@openwrt -t oscar@oscardegroot.nl -smtp 192.168.178.83 -sub "$MAIL_HEADER" -cs "utf-8" -mime-type "text/plain" -msg-body "$MAIL_FILE"
         rm $MAIL_FILE                                                                                                                                          rm $MAIL_FILE                                                                                                                                 
 fi                                                                                                                                                     fi                                                                                                                                                    
networking/ziggo/changed-ip.1726228275.txt.gz · Last modified: by oscar