You should provide a little more information. I assume you are trying to ping another host from your SunMC server?
If you can SNMP Ping but not ICMP ping this host, then connectivity can be ruled out. Likely a firewall problem.
Using the snoop tool you can confirm that the ICMP packets are arriving at the remote host, and simply being blocked by a local firewall there, if this is the case. On the local host you can also confirm that the packets are going out on the correct interface.
More likely you need to coordinate with your network administrator to figure out where, if any, firewalls, proxies, and NAT devices might be interfering.
Of course if the devices are on the same subnet it should be easy to determine where the problem lies.
good luck
> I am using SMC 3.5.1 and I can get SNMP ping to work
> great but an ICMP does not respond even if I can ping
> from an xterm on the same box.
Do you mean that any "ICMP Ping" icon you create is Down/Black? Or it's normal but you don't think the system is actually performing a ping?
If it's always black/down but it works from the CLI are you sure it's not a hostname issue (i.e. from the CLI you're using an IP, but in SunMC you're using a hostname)?
Also, when you make an icon if you put both a hostname _and_ an IP, I think SunMC will try the hostname first... and if it can't resolve to an IP it gives up (i.e. it ignores the IP you typed in). Try making an icon with just the IP and not the hostname. Also, they may have fixed this behaviour in newer versions of SunMC.
Also, if you initially did have a name resolution issue but you fixed it (i.e. you fixed DNS or /etc/hosts) and now it works from the CLI but not SunMC, then most likely you're seeing a caching issue. The SunMC Java Server caches (or at least it used to) hostnames for speed.. so if the lookup failed once it caches that failure. Solution? Restart the Java Server (es-stop -s;es-start -s). Note: the restart will disconnect all Consoles and you'll have to login again.
Regards,
Mike
mike.kirk@halcyoninc.com
Exactly, I am using hostnames and will try using IP's only. It appears that SMC is not really doing a ping at all. It is possible that NIS was changed recently but I have performed a rediscover on the network and everything seems to resolve fine there. Just no updates. I have imported my topoligy and the icons are not Black/Down or up. When a machine get powered down netither snmp nor icmp respond showing the machine went down. These machines are not Suns but only PC Servers and Workstations that I want to watch. I will also look at cli to see what is going on there.
MrEd