I'm looking for an handler or something else in Linux Kernel (v 3.10) to check if there is some kind of option enabled that allows the kernel to make routing on packets from the same subnet.
2 Answers
Check the value of:
/proc/sys/net/ipv4/ip_forward It specifies whether the kernel performs IPv4 packet routing or not.
2 Comments
neoben
Correct, but I need something more specific. The kernel I'm studying seems to perform routing on packets from the same subnet. This is something very strange so I'm trying to understand if there is some option related to this issue.
SuB
This variable keep status of forwarding packets in the kernel. Routing means participating in routing using routing algorithms such as
OSPF.