Difference between revisions of "IPv6: Mikrotik: Router /48"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) (Created page with "Jika kita cukup beruntung dapat /48 Reset Mikrotik /system reset-configuration no-defaults=yes Membuat router IPv6 sederhana # Setup WAN /ipv6 dhcp-client add request=p...") |
Onnowpurbo (talk | contribs) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
Membuat router IPv6 sederhana | Membuat router IPv6 sederhana | ||
− | |||
− | |||
− | |||
# LAN Bridge | # LAN Bridge | ||
/interface bridge | /interface bridge | ||
Line 20: | Line 17: | ||
.. | .. | ||
.. | .. | ||
− | # /ipv6 address add interface=bridge1 from-pool= | + | |
− | /ipv6 address add interface=bridge1 address=2002:1234:5678:: | + | # Setup WAN |
+ | /ipv6 settings set accept-router-advertisements=yes | ||
+ | /ipv6 dhcp-client add request=prefix interface=ether1 add-default-route=yes pool-name=delegate pool-prefix-length=64 use-peer-dns=yes | ||
+ | |||
+ | # LAN | ||
+ | # /ipv6 address add interface=bridge1 from-pool=delegate advertise=yes eui-64=yes | ||
+ | # /ipv6 address add interface=bridge1 address=2002:1234:5678::/60 eui-64=yes | ||
+ | /ipv6 address add interface=bridge1 address=2002:1234:5678::/60 | ||
# LAN IPv6 RA Server | # LAN IPv6 RA Server | ||
− | /ipv6 nd add interface=bridge1 advertise-mac-address=yes advertise-dns=yes managed-address-configuration=yes | + | /ipv6 nd prefix add prefix=2002:1234:5678::/60 interface=bridge1 |
+ | # /ipv6 nd add interface=bridge1 advertise-mac-address=yes advertise-dns=yes managed-address-configuration=yes | ||
/ipv6 nd enable numbers=1 | /ipv6 nd enable numbers=1 | ||
# LAN IPV6 DHCP Server | # LAN IPV6 DHCP Server | ||
− | /ipv6 pool add name=pool-ipv6 prefix=2002:1234:5678::/ | + | /ipv6 pool add name=pool-ipv6 prefix=2002:1234:5678::/60 prefix-length=64 |
/ipv6 dhcp-server add name=LAN-IPv6 address-pool=pool-ipv6 interface=bridge1 lease-time=10m | /ipv6 dhcp-server add name=LAN-IPv6 address-pool=pool-ipv6 interface=bridge1 lease-time=10m | ||
/ipv6 dhcp-server enable 0 | /ipv6 dhcp-server enable 0 | ||
Line 46: | Line 51: | ||
add gateway=fe80::1:1%ether1 | add gateway=fe80::1:1%ether1 | ||
add dst-address=2001:db8:0:2::/64 gateway=fe80::219:d1ff:fe39:3535%ether2 | add dst-address=2001:db8:0:2::/64 gateway=fe80::219:d1ff:fe39:3535%ether2 | ||
+ | |||
+ | ==Referensi== | ||
+ | |||
+ | * https://kb.pentanet.com.au/faq/how-to-configure-a-mikrotik-routerboard-router-to-accept-ipv6 | ||
+ | |||
==Pranala Menarik== | ==Pranala Menarik== |
Latest revision as of 11:31, 22 July 2021
Jika kita cukup beruntung dapat /48
Reset Mikrotik
/system reset-configuration no-defaults=yes
Membuat router IPv6 sederhana
# LAN Bridge /interface bridge add name=bridge1 /interface bridge port add bridge=bridge1 interface=ether2 add bridge=bridge1 interface=ether3 add bridge=bridge1 interface=ether4 add bridge=bridge1 interface=ether5 .. ..
# Setup WAN /ipv6 settings set accept-router-advertisements=yes /ipv6 dhcp-client add request=prefix interface=ether1 add-default-route=yes pool-name=delegate pool-prefix-length=64 use-peer-dns=yes # LAN # /ipv6 address add interface=bridge1 from-pool=delegate advertise=yes eui-64=yes # /ipv6 address add interface=bridge1 address=2002:1234:5678::/60 eui-64=yes /ipv6 address add interface=bridge1 address=2002:1234:5678::/60
# LAN IPv6 RA Server /ipv6 nd prefix add prefix=2002:1234:5678::/60 interface=bridge1 # /ipv6 nd add interface=bridge1 advertise-mac-address=yes advertise-dns=yes managed-address-configuration=yes /ipv6 nd enable numbers=1 # LAN IPV6 DHCP Server /ipv6 pool add name=pool-ipv6 prefix=2002:1234:5678::/60 prefix-length=64 /ipv6 dhcp-server add name=LAN-IPv6 address-pool=pool-ipv6 interface=bridge1 lease-time=10m /ipv6 dhcp-server enable 0
Cek
/ipv6 route print ping [IPv6-router-up-stream]
Atau IPv6 WAN Statik
/ipv6 address add address=2001:db8:0:1::1/64 interface=ether3 advertise=yes
/ipv6 route add gateway=fe80::1:1%ether1 add dst-address=2001:db8:0:2::/64 gateway=fe80::219:d1ff:fe39:3535%ether2
Referensi