I crated a virtual interface as indicated in this link.
sudo modprobe dummy
sudo ip link set name eth10 dev dummy0
sudo ifconfig eth10 up
sudo ifconfig eth10 192.168.1.150
now if I want to make a ping to a host in my network (ping 192.168.1.133
), then the ping will not work.
I tried to add
sysctl -w net.ipv4.conf.eth10.forwarding=1
But the ping does not work neither.
What should I have to add to make the ping works?