nachdem das monatelang funktionierte, wählt die erste aktion in meiner aktionstabelle aus meiner präfix-liste mit hilfe von "%x" nicht mehr den korrekten ersten IPv6-präfix ("::/64") sondern den falschen zweiten präfix ("fdd6:f653:f2a1::/64") aus.
Code: Alles auswählen
cd /Setup/IPv6/Router-Advertisement/Prefix-Options
del *
# Interface-Name Prefix Subnet-ID Adv.-OnLink Adv.-Autonomous PD-Source Adv.-Pref.-Lifetime Adv.-Valid-Lifetime DecrementLifetimes
# ===============================================================----------------------------------------------------------------------------------------------------------------------------------------
add "INTRANET" "::/64" {Subnet-ID} "c" {Adv.-OnLink} Yes {Adv.-Autonomous} Yes {PD-Source} "INTERNET" {Adv.-Pref.-Lifetime} 604800 {Adv.-Valid-Lifetime} 2592000 {DecrementLifetimes} No
add "INTRANET" "fdd6:f653:f2a1::/64" {Subnet-ID} "c" {Adv.-OnLink} Yes {Adv.-Autonomous} Yes {PD-Source} "" {Adv.-Pref.-Lifetime} 604800 {Adv.-Valid-Lifetime} 2592000 {DecrementLifetimes} No
add "NET-ADM1C" "fdd6:f653:f2a1::/64" {Subnet-ID} "2" {Adv.-OnLink} Yes {Adv.-Autonomous} Yes {PD-Source} "" {Adv.-Pref.-Lifetime} 604800 {Adv.-Valid-Lifetime} 2592000 {DecrementLifetimes} No
add "NET-PCS1C" "fdd6:f653:f2a1::/64" {Subnet-ID} "10" {Adv.-OnLink} Yes {Adv.-Autonomous} Yes {PD-Source} "" {Adv.-Pref.-Lifetime} 604800 {Adv.-Valid-Lifetime} 2592000 {DecrementLifetimes} No
Code: Alles auswählen
cd /Setup/WAN/Action-Table
del *
# Index Active Host-Name Peer Lock-Time Condition Action Check-For Owner Routing-Tag Comment
# =======------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
add 1 {Active} Yes {Host-Name} "MyHostname" {Peer} "INTERNET" {Lock-Time} 2160000 {Condition} Establish {Action} "https://dynv6.com/api/update?hostname=%h&token=MyToken&ipv4=%a&ipv6=%z&ipv6prefix=%x" {Check-For} "contains=addresses updated?skipiftrue=2" {Owner} "root" {Routing-Tag} 0 {Comment} ""
add 2 {Active} Yes {Host-Name} "MyHostname" {Peer} "INTERNET" {Lock-Time} 0 {Condition} Establish {Action} "dnscheck:MyHostname" {Check-For} "isequal=%a?skipiftrue=1" {Owner} "root" {Routing-Tag} 0 {Comment} ""
add 3 {Active} Yes {Host-Name} "MyHostname" {Peer} "INTERNET" {Lock-Time} 900 {Condition} Establish {Action} "https://dynv6.com/api/update?hostname=%h&token=MyToken&ipv4=%a&ipv6=%z&ipv6prefix=%x" {Check-For} "contains=addresses updated" {Owner} "root" {Routing-Tag} 0 {Comment} ""
add 4 {Active} Yes {Host-Name} "MyHostname" {Peer} "INTERNET" {Lock-Time} 0 {Condition} Establish {Action} "repeat:300" {Check-For} "" {Owner} "root" {Routing-Tag} 0 {Comment} ""
scheinbar gibt es auch nicht so etwas wie %{xInterfaceName}[index], sodaß präfixlisteneinträge auf diese weise unterscheidbar wären.
ebenfalls scheitert:
Code: Alles auswählen
root@lc-1793va-01:/
> cd /Setup/IPv6/Router-Advertisement/Prefix-Options/INTRANET
Path ambiguous: /Setup/IPv6/Router-Advertisement/Prefix-Options/INTRANET
beste grüße
frank