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

now if I want to make a ping to a host in my network (ping, 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?

  • You say ping doesn't work. What specifically happens when you run ping? What error messages do you get? – Kenster Apr 23 '15 at 13:43

Dummy interfaces won't do anything until you make them part of a bridge.

As this is an old question and the asker is not explaining what he actually wants to achieve, and it's impossible to guess this, the question is difficult to answer.

The most straightforward way is to create a bridge on an ethernet interface etc., but then you could have just added the address to the ethernet interface in the first place.


Is it correct, you want to use your eth10 interface as source interface to make ping If yes, you should use ping command with -I option and specify source IP address, or source interface name. Here is an example:

ping -I


ping -I eth10

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