Why solaris can't ping gateway?
After reboot solaris 10,when it starts,it raise following information:
myhost console login:Jan 21 15:05:11 myhost sendmail[565]: My unqualified host name (myhost) unknown; sleeping for retry
Jan 21 15:05:12 myhost sendmail[570]: My unqualified host name (myhost) unknown: sleeping for retry
After logined,I ping gateway,it failed!
#ping 172.15.2.1
no answer from 10.18.18.1
#cat /etc/hosts
::1 localhost
127.0.0.1 localhost
172.15.2.10 myhost loghost
#ifconfig -a
lo0:flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 172.15.2.10 netmask ff000000 broadcast 172.255.255.255
#cat /etc/defaultrouter
172.15.2.1
Why solaris10 ping 172.15.2.1 fail? How to correct it?
Thanks