ping by IP address and by hostname
807557Mar 27 2006 — edited Mar 28 2006I have installed solaris 10 on SPARC.
Now when I did ping
ping -s 192.168.2.105 .I get the response.
But when I do ping -s alpha. I got an error.It tried to reach 127.0.0.1.
My /etc/hosts contains entry for alpha to 192.168.2.105.
I removed every entry to loopback or 127.0.0.1.
Also when I tried to do
ifconfig hme0 alpha -netmask 255.255.255.0.It config my hme0 to 127.0.0.1
I unplumb my lo0 and also reboot my machine, but nothing is working.
regards,
mujeeb