Difference between revisions of "IPv6: Mikrotik: Router Sederhana"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 18: | Line 18: | ||
.. | .. | ||
.. | .. | ||
+ | |||
+ | # LAN IPv6 RA Server | ||
+ | /ipv6 address add address=fddd:1234:5678:4::1/62 interface=bridge1 | ||
+ | /ipv6 nd add interface=bridge1 advertise-mac-address=yes advertise-dns=yes managed-address-configuration=yes | ||
+ | /ipv6 nd prefix add prefix=fddd:1234:5678:4:f::/64 interface=bridge1 | ||
+ | /ipv6 nd enable numbers=1 | ||
+ | |||
# LAN IPV6 DHCP Server | # LAN IPV6 DHCP Server |
Revision as of 10:30, 5 April 2020
Reset Mikrotik
/system reset-configuration no-defaults=yes
Membuat router IPv6 sederhana
# Setup WAN /ipv6 dhcp-client add request=prefix add-default-route=yes pool-name=test-ipv6 pool-prefix-length=51 interface=ether1 use-peer-dns=yes
# 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 .. ..
# LAN IPv6 RA Server /ipv6 address add address=fddd:1234:5678:4::1/62 interface=bridge1 /ipv6 nd add interface=bridge1 advertise-mac-address=yes advertise-dns=yes managed-address-configuration=yes /ipv6 nd prefix add prefix=fddd:1234:5678:4:f::/64 interface=bridge1 /ipv6 nd enable numbers=1
# LAN IPV6 DHCP Server /ipv6 address add from-pool=test-ipv6 interface=bridge1 /ipv6 dhcp-server add name=LAN-IPv6 address-pool=test-ipv6 interface=bridge1 /ipv6 dhcp-server add name=LAN-IPv6 address-pool=test-ipv6 interface=bridge1 lease-time=10m preference=1
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