Difference between revisions of "IPv6: Mikrotik: Router Sederhana"

From OnnoWiki
Jump to navigation Jump to search
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
Simulasi Router IPv6 Mikrotik Sederhana.
 +
 +
[[File:Screenshot from 2020-04-06 06-20-30.png|center|600px|thumb]]
 +
 +
 
Reset Mikrotik
 
Reset Mikrotik
  
Line 5: Line 10:
 
Membuat router IPv6 sederhana
 
Membuat router IPv6 sederhana
  
# Setup WAN
 
/ipv6 dhcp-client add request=prefix interface=ether1 add-default-route=yes pool-name=test-ipv6 pool-prefix-length=64  use-peer-dns=yes
 
 
 
  # LAN Bridge
 
  # LAN Bridge
 
  /interface bridge
 
  /interface bridge
Line 16: Line 18:
 
  add bridge=bridge1 interface=ether4
 
  add bridge=bridge1 interface=ether4
 
  add bridge=bridge1 interface=ether5
 
  add bridge=bridge1 interface=ether5
 +
add bridge=bridge1 interface=ether6
 +
add bridge=bridge1 interface=ether7
 +
add bridge=bridge1 interface=ether8
 
  ..
 
  ..
 
  ..
 
  ..
  # /ipv6 address add address=fddd:1234:5678:4::1/62 interface=bridge1
+
 
  /ipv6 address add interface=bridge1 from-pool=test-ipv6 advertise=yes eui-64=yes
+
# Disable RA di semua interface
 +
/ipv6 nd set [ find default=yes ] disabled=yes
 +
 
 +
# WAN IPv6 automatics
 +
/ipv6 dhcp-client
 +
add add-default-route=yes interface=ether1 request=prefix
 +
 
 +
# WAN IPv6 static
 +
  # /ipv6 address add address=2001:db8:0:1::1/64 interface=ether1 advertise=yes
 +
 
 +
 
 +
#
 +
# ATAU
 +
  # /ipv6 dhcp-client add request=address,prefix interface=ether1 add-default-route=yes pool-name=delegation pool-prefix-length=64  use-peer-dns=yes
 +
# /ipv6 settings set accept-router-advertisements=yes
 +
# /ipv6 dhcp-client add request=prefix interface=ether1 add-default-route=yes pool-name=delegation pool-prefix-length=64 use-peer-dns=yes
 
   
 
   
  # LAN IPv6 RA Server
+
  # LAN setup
  /ipv6 nd add interface=bridge1 advertise-mac-address=yes advertise-dns=yes managed-address-configuration=yes
+
  # /ipv6 address add address=::1 interface=bridge1 advertise=yes
  # /ipv6 nd prefix add prefix=fddd:1234:5678:4::/64 interface=bridge1  
+
  /ipv6 address add address=2002:1234:5678::1/64 interface=bridge1 advertise=yes
/ipv6 nd enable numbers=
+
 
+
  # ND
  # LAN IPV6 DHCP Server
+
  /ipv6 nd add interface=bridge1 ra-interval=20s-60s
  # /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
+
 
# /ipv6 dhcp-server enable 0
 
  
 
==Cek==
 
==Cek==
Line 40: Line 59:
  
 
  /ipv6 address  
 
  /ipv6 address  
  add address=2001:db8:0:1::1/64 interface=ether3 advertise=yes
+
  add address=2001:db8:0:1::1/64 interface=ether1 advertise=yes
  
 
  /ipv6 route  
 
  /ipv6 route  
 
  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
 +
 +
==Youtube==
 +
 +
* [https://www.youtube.com/watch?v=sszeC-fzUNE YOUTUBE: IPv6 router Mikrotik sederhana]
 +
  
 
==Pranala Menarik==
 
==Pranala Menarik==

Latest revision as of 18:41, 22 July 2021

Simulasi Router IPv6 Mikrotik Sederhana.

Screenshot from 2020-04-06 06-20-30.png


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
add bridge=bridge1 interface=ether6
add bridge=bridge1 interface=ether7
add bridge=bridge1 interface=ether8
..
..
# Disable RA di semua interface
/ipv6 nd set [ find default=yes ] disabled=yes
# WAN IPv6 automatics
/ipv6 dhcp-client
add add-default-route=yes interface=ether1 request=prefix
# WAN IPv6 static
# /ipv6 address add address=2001:db8:0:1::1/64 interface=ether1 advertise=yes


#
# ATAU
# /ipv6 dhcp-client add request=address,prefix interface=ether1 add-default-route=yes pool-name=delegation pool-prefix-length=64  use-peer-dns=yes
# /ipv6 settings set accept-router-advertisements=yes
# /ipv6 dhcp-client add request=prefix interface=ether1 add-default-route=yes pool-name=delegation pool-prefix-length=64  use-peer-dns=yes

# LAN setup
# /ipv6 address add address=::1 interface=bridge1 advertise=yes
/ipv6 address add address=2002:1234:5678::1/64 interface=bridge1 advertise=yes 
# ND
/ipv6 nd add interface=bridge1 ra-interval=20s-60s


Cek

/ipv6 route print 
ping [IPv6-router-up-stream]


Atau IPv6 WAN Statik

/ipv6 address 
add address=2001:db8:0:1::1/64 interface=ether1 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

Youtube


Pranala Menarik