Difference between revisions of "IPv6: Mikrotik: Router Sederhana WAN Statik"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 14: | Line 14: | ||
# WAN IPv6 static | # WAN IPv6 static | ||
− | /ipv6 address add address=fddd:0000:0000::1/64 interface=ether1 advertise=yes | + | # /ipv6 address add address=fddd:0000:0000::1/64 interface=ether1 advertise=yes |
+ | /ipv6 address add address=fddd::1/64 interface=ether1 advertise=yes | ||
==Setup LAN== | ==Setup LAN== | ||
Line 35: | Line 36: | ||
# LAN setup | # LAN setup | ||
# /ipv6 address add address=::1 interface=bridge1 advertise=yes | # /ipv6 address add address=::1 interface=bridge1 advertise=yes | ||
− | /ipv6 address add address=fddd:0000:1000::1/64 interface=bridge1 advertise=yes | + | # /ipv6 address add address=fddd:0000:1000::1/64 interface=bridge1 advertise=yes |
+ | /ipv6 address add address=fddd:0:1000::1/64 interface=bridge1 advertise=yes | ||
+ | |||
+ | # ND | ||
+ | /ipv6 nd add interface=bridge1 ra-interval=20s-60s | ||
+ | |||
+ | |||
+ | |||
+ | ==Setup Server Ubuntu di WAN fddd::/64== | ||
+ | |||
+ | |||
+ | ip -6 addr add fddd::2/64 dev enp0s3 | ||
+ | ip -6 route add fddd:0:1000::/64 via fddd::1 |
Latest revision as of 09:55, 13 May 2025
Topology
- WAN : fddd:0000:0000::/64
- LAN : fddd:0000:1000::/64
Setup WAN
# enable IPv6 /system package enable ipv6
# Disable RA di semua interface # /ipv6 nd set [ find default=yes ] disabled=yes /ipv6 nd set disabled=yes
# WAN IPv6 static # /ipv6 address add address=fddd:0000:0000::1/64 interface=ether1 advertise=yes /ipv6 address add address=fddd::1/64 interface=ether1 advertise=yes
Setup LAN
# 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 add bridge=bridge1 interface=ether6 add bridge=bridge1 interface=ether7 add bridge=bridge1 interface=ether8 .. ..
# LAN setup # /ipv6 address add address=::1 interface=bridge1 advertise=yes # /ipv6 address add address=fddd:0000:1000::1/64 interface=bridge1 advertise=yes /ipv6 address add address=fddd:0:1000::1/64 interface=bridge1 advertise=yes
# ND /ipv6 nd add interface=bridge1 ra-interval=20s-60s
Setup Server Ubuntu di WAN fddd::/64
ip -6 addr add fddd::2/64 dev enp0s3 ip -6 route add fddd:0:1000::/64 via fddd::1