I have a IP configured which is not visible for another network (suppose IP: A).
I have a common machine/switch which is in between two networks, now need to set up IP forwarding such a way that the packets coming to IP: A should be forwarded to that machine correctly.
sysctl -a |grep forward
and then set the needed parameters to 1 for
- the interface you want
using sysctl -w parameter
and you will have a router
If the output is 1 IP forwarding is enabled,
If the output is 0, run this command,
cat 1 > /proc/sys/net/ipv4/ip_forward
ipv4 and ipv6 directories are present inside "/proc/sys/net/".
For more, Check Kernel Doc
Does anybody know if it makes a difference to enable IP forwarding on the (linux) host? I know both works (enabled or disabled), but is there a good choice regarding the use of virtio_net inside the (linux) guests?
How to make of use of GNUPLOT in Linux for plotting graphs by taking input from files? Data in one file represents X-axis and other file data represents Y-axis. Can anyone help me out?
I am used to traditional update-rc.d et all.
Now I wonder how to add a a script that used to called by init.d (with start/sop ..) to the new "service start xx" regime.
All the tutorials I found talk about how to use update-rc.d..
Can someone describe in detail about the Ghost security hole. And is there any patch or a solution to fix it?
I am a newbie and using fedora machine, please help with point by point C programming setup.
Forgot Your Password?
2018 © Queryhome