-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated about section. Minor update to a post
- Loading branch information
1 parent
5b6896a
commit 5edf1c6
Showing
11 changed files
with
181 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,27 @@ | ||
--- | ||
title: IPv6 prefix delegation on Mikrotik | ||
date: 2024-05-26 | ||
date: 2024-12-14 | ||
tags: ["IPv6", "Mikrotik", "Networking"] | ||
author: "Kapil Agrawal" | ||
comments: false | ||
description: "RouterOS config to get IPv6 prefix delegation from your ISP" | ||
description: "Mikrotik RouterOS config for IPv6 prefix delegation" | ||
--- | ||
## Config | ||
## RouterOS config | ||
|
||
```sh | ||
# Configure interface group | ||
/interface list add comment="UPLINK to ISP" name=WAN | ||
/interface list member add comment="WAN facing interface" interface=ether1 list=WAN | ||
|
||
# Enable router-advertisement incoming from the ISP | ||
/ipv6 settings set accept-router-advertisements=yes | ||
|
||
# Request an IPv6 prefix over WAN interface; my ISP hands out a /56 | ||
/ipv6 dhcp-client add add-default-route=yes interface=ether1 pool-name=delegation pool-prefix-length=56 prefix-hint=::/56 request=address,prefix | ||
|
||
# Only accept inbound router-advertisements on the WAN interface | ||
/ipv6 firewall filter add action=drop chain=input icmp-options=134:0-255 in-interface-list=!WAN protocol=icmpv6 | ||
|
||
# Allow prefix delegatation on WAN interface | ||
/ipv6 firewall filter add action=accept chain=input comment="accept DHCPv6-Client prefix delegation." dst-port=546 protocol=udp src-address=fe80::/10 | ||
``` |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.