Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I've been doing some research into improving performance for OpenVPN and I found out about setting fastforwarding to 1 but when I tried I got the error error: "net.inet.ip.fastforwarding" is an unknown key and tried error: "net.ipv4.ip.fastforwarding" is an unknown keyand wanted to know if I needed to load a module?

This is a CentoOS 6.x 64bit box.

share|improve this question

2 Answers 2

You can see the list of kernel parameters using the command:

$ sysctl -a

I looked on a CentOS 6.x system along with a Ubuntu 12.04 system and neither had that parameter too.

$ sysctl -a | grep forwarding

I wonder if it's a BSD only parameter?This forum thread shows it as just being a pfSense & BSD option, net.inet.ip.fastforwarding performance tweak

I haven't found it referenced anywhere except in connection to pfsense. Googling for "net.inet.ip.fastforwarding" only shows BSD related links.

This tutorial, FreeBSD Tuning and Optimization also shows it as just a BSD option.

net.inet.ip

This entire tree doesn't even exist in Linux, it would appear to be BSD only Kernel Parameters. Here's a post that covers the rest of them, titled: FreeBSD net.inet.ip Sysctls Explained. Linux uses net.ipv4.inet.

share|improve this answer
    
sysctl -a | grep forwarding –  Rahul Patil Oct 9 '13 at 12:09
    
@RahulPatil - yes I did that and got nothing on those systems. –  slm Oct 9 '13 at 12:13

The net.inet.ip.fastforwarding is a FreeBSD sysctl option, which will enable an optimization path in the network stack.

It was introduced to the FreeBSD kernel in 2003. The fast forwarding path omits some checks for packets being forwarded to an outgoing interface. Non-unicast packets, packets with IP options or packets destined to local IP addresses fall back to the normal processing path.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.