I've created a virtual interface in Ubuntu with the following:
sudo ifconfig eth0:0 192.168.1.99 netmask 255.255.255.0 up
Now I need to be able to ping from the new virtual interface.
ping -I 192.168.1.99 www.google.co.in
I am unable to do that. I have enabled IP forwarding.