1

I have few system with ipv6 addresses. I want to forward request from one system to another. hence I kept the option

net.ipv6.conf.all.forwarding = 1

in sysctl.conf

but the request is not getting forwarded as it is doing in ipv4, its giving me the error in booting also. net.ipv6.conf.all.forwarding 1 is an unknown key

Peter Grace
  • 3,446
  • 1
  • 26
  • 42
sanketmlad
  • 183
  • 3
  • 9

1 Answers1

6

It is possible you don't have the ipv6 kernel module loaded on the system you're referring to. If you execute sysctl -a|grep ipv6 you will get a list of all available sysctl's referring specifically to ipv6. If that list is empty, that would lead me to believe ipv6 is not loaded.

If you do see the net.ipv6.conf.all.forwarding entry in that sysctl grep, then I would suggest copy-and-pasting the line from the output into sysctl.conf directly so as to be sure there aren't any incorrect characters added. Simply change the 0 to a 1 in the config if it shows as 0 (disabled.)

Peter Grace
  • 3,446
  • 1
  • 26
  • 42