diff options
author | Christian Hesse <mail@eworm.de> | 2024-10-22 22:35:14 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-10-25 18:20:17 +0200 |
commit | e803f8b3c0956e8b9f3992433d0a3caf9cb4c899 (patch) | |
tree | 74d0d000d715074fe8ac95493e82ce443c60aa1b /doc/ipv6-update.md | |
parent | d022c876514107bd345a17a0c01896947a83b45f (diff) |
ipv6-update: create a dynamic address-list entry only
This should make sure that the script runs once after reboot, even if
the prefix does not change.
An existing static entry needs to be removed to make this work!
https://github.com/eworm-de/routeros-scripts/issues/85
Diffstat (limited to 'doc/ipv6-update.md')
-rw-r--r-- | doc/ipv6-update.md | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/ipv6-update.md b/doc/ipv6-update.md index 88600c5..42f0fe4 100644 --- a/doc/ipv6-update.md +++ b/doc/ipv6-update.md @@ -45,13 +45,17 @@ Installing [ppp-on-up](ppp-on-up.md) may solve this. Configuration ------------- -An address list entry is updated with current prefix and can be used in -firewall rules, comment has to be "`ipv6-pool-`" and actual pool name: +As an address-list entry is mandatory a dynamic one is created automatically. +It is updated with current prefix and can be used in firewall rules. + +Alternatively a static address-list entry can be used, where comment has to +be "`ipv6-pool-`" and actual pool name. Use what ever list is desired, and +create it with: /ipv6/firewall/address-list/add address=2003:cf:2f0f:de00::/56 comment=ipv6-pool-isp list=extern; -As this entry is mandatory it is created automatically if it does not exist, -with the comment also set for list. +If the dynamic entry exists already you need to remove it before creating +the static one.. Address list entries for specific interfaces can be updated as well. The interface needs to get its address from pool `isp` and the address list entry |