Difference between revisions of "IPv6: Mikrotik: ND / RA contoh konfigurasi"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 17: | Line 17: | ||
ipv6 address add address=2345::1/64 interface=ether2 | ipv6 address add address=2345::1/64 interface=ether2 | ||
ipv6 nd prefix add prefix=2345::/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 |
Revision as of 10:10, 6 February 2019
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