Skip to content

Commit

Permalink
Enable IPv6 RA's on WAN Port
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
  • Loading branch information
RedDog99 committed Mar 30, 2013
1 parent 192dd37 commit 118d7d8
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions bsp/default/root_file_system/etc/sysctl.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand All @@ -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

0 comments on commit 118d7d8

Please sign in to comment.