summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2011-02-25 10:34:48 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2011-03-15 09:24:53 -0700
commit28d3eed7425dc726e224bc2456304b369b4538a5 (patch)
tree84807149e1d8b88b48531156cc295112fc037071
parent79d607b7b764472d1427fe62b980508e84fc333e (diff)
downloadvyatta-cfg-system-28d3eed7425dc726e224bc2456304b369b4538a5.tar.gz
vyatta-cfg-system-28d3eed7425dc726e224bc2456304b369b4538a5.zip
Change where ipv6 route table size is increased
Bug 6681 Can't do it early in boot because ipv6 module may not be loaded.
-rwxr-xr-xscripts/rl-system.init3
-rw-r--r--sysconf/vyatta-sysctl.conf1
2 files changed, 3 insertions, 1 deletions
diff --git a/scripts/rl-system.init b/scripts/rl-system.init
index 3106d593..115bbc7d 100755
--- a/scripts/rl-system.init
+++ b/scripts/rl-system.init
@@ -140,6 +140,9 @@ set_ipv6_params ()
# Enable forwarding
echo 1 >/proc/sys/net/ipv6/conf/all/forwarding
+ # Increase route table limit
+ echo 32768 >/proc/sys/net/ipv6/route/max_size
+
# These values all should be disabled
for p in accept_source_route accept_redirects
do
diff --git a/sysconf/vyatta-sysctl.conf b/sysconf/vyatta-sysctl.conf
index 671afac1..5121488d 100644
--- a/sysconf/vyatta-sysctl.conf
+++ b/sysconf/vyatta-sysctl.conf
@@ -62,4 +62,3 @@ net.ipv4.conf.default.accept_source_route=0
# Enable send_redirects by default
net.ipv4.conf.all.send_redirects=1
-