Hi all,
I was trying to add a extra IP address to my server's localhost because I wanted to run a apache virtual host on a separate IP address.
I used sudo ip addr add 127.0.0.5/32 dev lo
and then I could ping 127.0.0.5 successfully. When I'd finished, I ran
sudo ip addr del 127.0.0.5/32 dev lo
which didn't return any error messages.
I than ran ping 127.0.0.5 and still got responses.
I ran sudo ip addr del 127.0.0.5/32 dev lo again and it told me that it could not do it "RTNETLINK answers: Cannot assign requested address"
It may be that the ip addr add has nothing to do with it, but on this machine, my server, I can ping any address I've tried in the 127.*.*.* range and get a response. Is this normal, or have I messed something up? If so, what have I messed up? Is there anything I can run that show's what's providing these ports?
It's an Ubuntu machine, running dnsmasq, apache.
Ubuntu 10.04.3 LTS
Any ideas? Or am I being thick???
Steve