6 Replies Latest reply: Feb 26, 2013 6:02 AM by Nik RSS

    ping no answer from another IP

    993094
      platform: solaris 10
      Hi all
      I'm having a trouble refer to pinging a server. On my machine name M5K2-SysAdmDev2 (10.194.23.195) I cant ping to another machine name somc245 (10.194.21.207) both by name or by IP.

      I've added an entry for somc245 in /etc/hosts/ and /ect/hosts.equiv and then updated NIS but problem is not solved. (if not add, i just can ping by IP, not by name)
      I've tested with a third machine name M4K2-SysAdmDev2 (10.194.23.205), it can ping both M5K2-SysAdmDev2 (10.194.23.195) and somc245 (10.194.21.207).
      On somc245, I also can ping M5K2-SysAdmDev2 (10.194.23.195):
      +$ ping M5K2-SysAdmDev2+
      M5K2-SysAdmDev2 is alive
      But cant do vice versa. When i ping somc245 from M5K2-SysAdmDev2 it returns "no answer from 10.194.21.207":
      +$ ping 10.194.21.207+
      no answer from 10.194.21.207
      +$ ping somc245+
      no answer from somc245

      I dont know how can I ping somc245 (10.194.21.207)  from M5K2-SysAdmDev2 (10.194.23.195)?
      Do I need to config anything in known_hosts or authorized_keys in .ssh directory?
      Here is some information on my servers:

      on somc245:
      $ ifconfig -a
      lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
      inet 127.0.0.1 netmask ff000000
      ce0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
      inet 10.194.21.207 netmask ffff0000 broadcast 10.194.255.255
      ce2: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 3
      inet 10.194.23.195 netmask ffff0000 broadcast 10.194.255.255

      on M4K2-SysAdmDev2 (10.194.23.205)
      $ ifconfig -a
      lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
      inet 127.0.0.1 netmask ff000000
      bge0: flags=201000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,CoS> mtu 1500 index 2
      inet 10.194.23.205 netmask ffff0000 broadcast 10.194.255.255
      groupname ipmp0
      bge0:1: flags=4209040842<BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER,CoS,DUPLICATE> mtu 1500 index 2
      inet 10.194.0.1 netmask ffff0000 broadcast 10.194.255.255
      bge1: flags=239040802<BROADCAST,MULTICAST,DEPRECATED,IPv4,NOFAILOVER,FAILED,STANDBY,CoS> mtu 1500 index 3
      inet 10.194.0.1 netmask ffff0000 broadcast 10.194.255.255
      groupname ipmp0

      on M5K2-SysAdmDev2 (10.194.23.195)
      $ ifconfig -a
      lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
      inet 127.0.0.1 netmask ff000000
      bge0: flags=201000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,CoS> mtu 1500 index 2
      inet 10.194.23.195 netmask ffff0000 broadcast 10.194.255.255
      bge1: flags=201000802<BROADCAST,MULTICAST,IPv4,CoS> mtu 1500 index 3
      inet 0.0.0.0 netmask 0