From 118d7d8236d6e3dc67ae68fa41a29fe96de21ac1 Mon Sep 17 00:00:00 2001 From: Tim Niemeyer Date: Sat, 30 Mar 2013 01:21:26 +0100 Subject: [PATCH] Enable IPv6 RA's on WAN Port Signed-off-by: Tim Niemeyer --- bsp/default/root_file_system/etc/sysctl.conf | 21 +++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/bsp/default/root_file_system/etc/sysctl.conf b/bsp/default/root_file_system/etc/sysctl.conf index 9072a862..96bf30dd 100644 --- a/bsp/default/root_file_system/etc/sysctl.conf +++ b/bsp/default/root_file_system/etc/sysctl.conf @@ -38,7 +38,7 @@ net.ipv6.conf.default.accept_dad=0 net.ipv6.conf.default.accept_ra=0 net.ipv6.conf.default.accept_redirects=0 net.ipv6.conf.all.accept_dad=0 -net.ipv6.conf.all.accept_ra=0 +net.ipv6.conf.all.accept_ra=1 net.ipv6.conf.all.accept_redirects=0 # Number of Router Solicitations to send until assuming no routers are present. @@ -48,19 +48,19 @@ net.ipv6.conf.all.router_solicitations = 0 # Accept Router Preference in RA? net.ipv6.conf.default.accept_ra_rtr_pref = 0 -net.ipv6.conf.all.accept_ra_rtr_pref = 0 +net.ipv6.conf.all.accept_ra_rtr_pref = 1 # Learn Prefix Information in Router Advertisement net.ipv6.conf.default.accept_ra_pinfo = 0 -net.ipv6.conf.all.accept_ra_pinfo = 0 +net.ipv6.conf.all.accept_ra_pinfo = 1 # Setting controls whether the system will accept Hop Limit settings from a router advertisement net.ipv6.conf.default.accept_ra_defrtr = 0 -net.ipv6.conf.all.accept_ra_defrtr = 0 +net.ipv6.conf.all.accept_ra_defrtr = 1 #router advertisements can cause the system to assign a global unicast address to an interface net.ipv6.conf.default.autoconf = 0 -net.ipv6.conf.all.autoconf = 0 +net.ipv6.conf.all.autoconf = 1 #how many neighbor solicitations to send out per address? net.ipv6.conf.default.dad_transmits = 3 @@ -69,3 +69,14 @@ net.ipv6.conf.all.dad_transmits = 3 # How many global unicast IPv6 addresses can be assigned to each interface? net.ipv6.conf.default.max_addresses = 0 net.ipv6.conf.all.max_addresses = 0 + + +# Allow IPv6 RAs on WAN Port +net.ipv6.conf.eth0.2.accept_ra_defrtr = 1 +net.ipv6.conf.eth0.2.accept_ra_pinfo = 1 +net.ipv6.conf.eth0.2.autoconf = 1 +net.ipv6.conf.eth0.2.accept_ra_rtr_pref = 1 +net.ipv6.conf.eth1.accept_ra_defrtr = 1 +net.ipv6.conf.eth1.accept_ra_pinfo = 1 +net.ipv6.conf.eth1.autoconf = 1 +net.ipv6.conf.eth1.accept_ra_rtr_pref = 1