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-02-25 10:38:10 -0800
commitf62f7280611731fbd0f6a883a10e676a35518264 (patch)
treed94f8aa91c49ebc1c6370cb982a584619da26384
parent6c9f83f6bcf081973f25c7564cc61ba07ae2cfd2 (diff)
downloadvyatta-cfg-quagga-f62f7280611731fbd0f6a883a10e676a35518264.tar.gz
vyatta-cfg-quagga-f62f7280611731fbd0f6a883a10e676a35518264.zip
Change where ipv6 route table size is increased
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.conf3
2 files changed, 3 insertions, 3 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 9927e8f0..5121488d 100644
--- a/sysconf/vyatta-sysctl.conf
+++ b/sysconf/vyatta-sysctl.conf
@@ -62,6 +62,3 @@ net.ipv4.conf.default.accept_source_route=0
# Enable send_redirects by default
net.ipv4.conf.all.send_redirects=1
-
-# Increase upper limit of IPV6 route table
-net.ipv6.route.max_size=32768