IPv6: Mikrotik: ND / RA contoh konfigurasi

From OnnoWiki
Revision as of 13:13, 6 February 2019 by Onnowpurbo (talk | contribs) (→‎Mikrotik)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Topology

C1 -- R1 -- NAT
R1
e0 -- NAT
e1 -- C1 e0
C1
e0 -- R1 e1



Mikrotik

/ipv6 address add address=2345::1/64 interface=ether2
/ipv6 nd prefix add prefix=2345::/64 interface=ether2

Penting alokasi prefix nd, satu keluarga dengan ipv6 address di interface.

Client

OS: Ubuntu

interface tidak perlu di konfigurasi / di sentuh, karena automatis autoconfiguration.

echo 1 > /proc/sys/net/ipv6/conf/all/accept_ra
echo 1 > /proc/sys/net/ipv6/conf/default/accept_ra
echo 1 > /proc/sys/net/ipv6/conf/enp0s3/accept_ra
echo 1 > /proc/sys/net/ipv6/conf/all/accept_ra_from_local 
echo 1 > /proc/sys/net/ipv6/conf/default/accept_ra_from_local 
echo 1 > /proc/sys/net/ipv6/conf/enp0s3/accept_ra_from_local
echo 1 > /proc/sys/net/ipv6/conf/all/accept_ra_defrtr 
echo 1 > /proc/sys/net/ipv6/conf/default/accept_ra_defrtr 
echo 1 > /proc/sys/net/ipv6/conf/enp0s3/accept_ra_defrtr


Pranala Menarik