1

I created a virtual interface as indicated in this Unix.SE post. I.e.

sudo modprobe dummy
sudo ip link set name eth10 dev dummy0
sudo ifconfig eth10 up
sudo ifconfig eth10 192.168.1.150

I want to send a ping to a host in my network (ping 192.168.1.133), but it does not work.

I tried to add

sysctl -w net.ipv4.conf.eth10.forwarding=1

But that does not work either.

What should I do to make the ping work?

1 Answer 1

1

You make mistake

not

sudo ifconfig eth10 192.168.1.150

you must add network mask

sudo ifconfig eth10 192.168.1.150 netmask 255.255.255.0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .