Ping in solaris 10

Hi , i am havign a problem with ping in solaris 10 . i need the ping to return the actual canonical name not the alias . ( like in solaris 8 )
but in solaris 10 wheni use ping it just returns the alias
e.g. in sol 10 ..
ping active-1
active-1 is alive
but it solaris 8 it used to return the actual hostname
is there anyway around this ? because i have many scripts that rely on the return to be the actual hostname before it kicks off a program or makes a connection . I really dont want to be going through hundreds of scripts amending that
thanks

are you familiar with ipf? it comes with solaris. check man ipf for some starter background if you are unfamiliar with it.

Similar Messages

  • Fail to ping to Solaris 10 system.

    I install Solaris 10 but sometime I could not ping to system but sometime it is ok to ping. Is there any problem with network configuration in Solaris 10 or it is a network environment because I rent my server in the share rack (Data Center) and I dont know other factor that make my server fail to ping for sometime ?
    Thanks

    1) How's the uptime on the box?
    2) is 'svcs -xv' clean?
    3) Perhaps smokeping might be able to help you: http://oss.oetiker.ch/smokeping/

  • How to block Ping requests in Solaris 10

    Hello all,
    Could you pls let me know how to block icmp packets (ping) on solaris 10.
    thanks a lot
    tpiranav

    are you familiar with ipf? it comes with solaris. check man ipf for some starter background if you are unfamiliar with it.

  • Problem setting up networking in Solaris 8

    Hi,
    I have been struggling for a couple of days with the following problem:
    I am running Solaris 8 on an Intel networked machine. The NIC is D-Link DFE-530TX+, I had to download a beta driver for Solaris 8 from Realtek (this NIC uses a Reltek 8139 chipset). As far as I could see the driver installation went OK, I see the Ethernet interface with "ifconfig -a".
    I am using a home network with a Linux gateway to a cable Internet connection. The problem is, however, that the gateway (or any other machine on the local network) is not visible from my new Solaris 8 box. When I try to ping other machines on the network, the Solaris 8 box first broadcasts an ARP request to resolve the IP address to a hardware address -- I verified that with "snoop" and could also see that the network switch was showing traffic to all nodes. It seems, however, that none of the other machines reply or that they reply but the Solaris box does not get the answer... I tried to "hardcode" the Ethernet hardware addresses of the other machines into ARP (as in "arp -s <host_name> <hardware_address>") -- the result was that the Solaris did not do the ARP broadcast before the ping (since it had the hardware address of the pinged box) but it also did not receive a reply to any of the ping requests (this time, the network switch showed traffic between the Solaris box and the pinged box only).
    Exactly the same problem occurs when I try to ping the Solaris box from other boxes on the local network (first, no reply to the ARP broadcast, then, after hardcoding the Ethernet address, no reply to the ping request). It seems that the Solaris and the rest of the machines on the network do not speak the same language :)
    I am really kind of stuck since I do not know if it is a problem with the beta driver for the D-Link DFE-530TX+ (unlikely) or something that I am doing wrong (likely). I considered using another NIC to test if I sould configure the machine fine but I decided to check if anyone can help me with an advice.
    Any help or suggestion will be greatly appreciated.
    Thanks,
    [email protected]

    Hi,
    It's me again. Just wanted to give some more information...
    I could confirm that the Solaris 8 box actually transmits data on the network via the D-Link DFE-530TX+ adapter but does not receive anything. What I did was:
    1. A "tcpdump" (Linux stuff) on the gateway Linux machine and then a "ping" from the Solaris 8 machine to the Linux box with no ARP setup on the Solaris 8 box (the Solaris box first sends an ARP request to get the MAC address of the Linux box). The Linux machine showed that it does receive the ARP requests (something like "who is linux.machine.name") and that it does send back its MAC address to the Solaris box (something like "linux.machine.name is at MAC ..."). The Solaris machine did not receive crap ("snoop" did not show anything and "netstat" showed no incoming packages).
    2. Same thing as above but specified the Linux machine MAC in ARP manually. Solaris did not send the ARP request but sent an ICMP echo request right away from the "ping". The Linux box got the request ("tcpdump" showed that) and sent an acknowledgement back. Solaris did not see crap again.
    3. A "ping" request from Linux to Solaris. Linux sent the ARP request first to get the MAC of Solaris and (you may have already guessed it) Solaris did not receive crap and Linux decided that Solaris is unreachable.
    4. Same as 3 but I ran it a short period of time after case 1 (note that the ARP request from the Solaris box was received during case 1 and had the Solaris MAC address in it which Linux wisely cached and used for the ICMP echo request from the "ping" instead of trying to obtain it like in case 3). Well, it should sound familiar, but Solaris did not see crap again.
    Actually, I think it is impossible for my Solaris machine to receive anything on the D-Link DFE-530TX+ adapter using the RealTek driver (rtls is the name). After a day of futile efforts, netstat showed 0 incoming packages.
    I am about ready to give up... My D-Link card is revision C1 which, according to the D-Link support people, should have a RealTek 8139 chipset (that is NOT the name printed on the chip itself). Obviously either the RealTek driver is buggy or the chipset on my card is not what it is...
    Any (last) suggestions are welcome. Is there anybody out there that used ANY drivers for the D-Link DFE-520TX+ and got it working? Anybody?
    St0yan

  • Unable to ping across subnet

    hi
    i have a solaris system
    hostname sun
    router (IP) 10.xx.xx.1
    IP 10.xx.xx.20
    network id 10.xx.xx.0
    mask 255.255.255.0
    where problem is
    i can't ping from solaris machine(sun) to any PC across the subnet ( with IP as well as name).
    resolution
    --> /etc/defaultrouter is in order
    --> network card is properly setup and running
    --> can ping any system on local subnet including router(with IP ! DNS is across the subnet).
    --> can ping from other PC's(win) on same subnet to systems across subnet using same default gateway settings
    ( that is routing settings at router are okay) .
    --> netstat -r (shows following output )
    sun% netstat -r
    Routing Table:
    Destination Gateway Flags Ref Use Interface
    10.xx.xx.0 sun U 3 2460 hme0
    224.0.0.0 sun U 3 0 hme0
    default 10.xx.xx.1 UG 0 37756
    localhost localhost UH 0 6502 lo0
    sun%
    --> /etc/netmasks
    10.0.0.0 255.255.255.0
    --> it takes unreasonably long time to set default interface for multicast during boot.
    any suggestions where the problem could be.
    thnx
    garry

    Hi garry
    Yes you cannot ping with name unless you dont include that system's name and ip in the host file.
    Due to the following reasons, you cannot ping ip across the subnet :
    1. The pinging ip may be in a different vlan for which you dont have any access.
    2. The default gatway has to be added which is accessable to other subnet also.
    To over come your problem :
    sample diagram of your problem
    sub net 1- - - - - - - - - - - - - - - -
    you are here |
    sub net 2 - - - - - - - - - - - - route - - - - -dns / internet
    |
    sub net 3- - - - - - - - - - - - - - - -
    is this n/w diag ok.
    still you have any problem check the ACL of the router.
    Regards
    Sridhar M

  • Cannot ping or FTP other computer, but can access WEB

    I just finish installing Solaris 10. I setup the proxy information and I can browse thru the web. But I cannot ping or FTP to other computers and this computers can't also ping my Solaris.
    What I'm missing?
    Thanks.

    I just finish installing Solaris 10. I setup the
    proxy information and I can browse thru the web. Since you don't describe it, we don't know anything about your network configuration or why you're using a proxy.
    But
    I cannot ping or FTP to other computers and this
    computers can't also ping my Solaris.Perhaps all traffic that doesn't go through the web proxy is blocked?
    What I'm missing? Do you have reason to believe that ping should work between your host and external machines (you don't mention which machines you're having trouble pinging).
    Darren

  • Configure Solaris network on vmware

    Hi all
    I've installed solaris on vmware and now want to configure the network so that I can ping the solaris OS from outside vm (or from the different vm)
    Could you please let me know the steps of configurations?
    Thanks in advance

    Please provide the name of the network adapter on your solaris vm?
    Run dladm show-dev , this will show all network adapters.
    If you dont see any then within vmware add a network adapter on the right network to the VM then reboot the VM and run that command again.
    Then just let me know and ill proceed with next steps.

  • Basic networking - getting a Sun Ultra 10 on my home network

    Hello,
    I have a Sun Ultra 10 at home running Solaris 8.
    I am trying to teach myself a bit about networking so I thought I would try to get the box online. I am having little success. Hopefully someone will tell me where I'm going wrong. Here's what I've done:
    - Created /etc/hostname.hme0 with entry "mymachine" (without the quotes)
    - Edited /etc/hosts so that its contents are:
    127.0.0.1 localhost
    192.168.1.110 mymachine loghost
    My documentation states that the fully qualified domain name should appear on the second of the above 2 lines, but I don't have a "mycompany.com" type domain thing, so I'm not sure what I should put, if anything?
    - verified that /etc/nodename contains the single line:
    mymachine
    - created /etc/defaultrouter with sinlge line entry:
    192.168.0.1
    This is the IP of my broadband router.
    When I rebooted the machine, an ifconfig -a reported an IP of 127.0.0.1 against hme0. That seemed odd (given that I put the IP in the hosts file) so I ran:
    ifconfig hme0 plumb
    ifconfig hme0 192.168.1.110 up
    and ifconfig -a then reported that the IP of hme0 was 192.168.0.1.
    However, I cannot ping 192.168.0.1. I get "ICMP Host Unreachable from gateway 192.168.1.110 for icmp 192.168.1.110 to 192.168.0.1".
    I think it is quite likely that my problem is hardware. I have a network cable running from the network port on my Ultra 10 to port 3 on my 4 port hub (I've tried 1,2, and 3). Port 4 is the Normal/Uplink. I have a cable running from a port on my broadband router to port 4 on the hub. The port is set to "Normal" rather than Uplink. The Rx light flashes on port 4 - but not on port 3.
    I'd be extremely grateful for any pointers on this!
    Regards,
    Paul

    I changed the IP on my Solaris box to 192.168.0.110 and all was well. Well, I can get onto the internet now, and can see my Windows boxes from my Solaris box, but oddly I can't see (using ping) my Solaris box from my Windows box.

  • Latency in dataguard !!!

    Hi ,
    How can I get the time it takes (latency) for the primary instance to get an archive log over to the physical standby instance and get it "archived" and "applied".
    Any ideas on how I can get the latency info I'm looking for?
    is latency value should be defined for dataguard?
    Thanks
    JP

    You can use ping to check latency.
    Below is an example i found from IBM.
    During the process, ping can monitor the time it takes to send and receive the response, which can be an effective method of measuring the response time of the echo process. In the simplest form, you can send an echo request to a host and find out the response time
    Listing 1. Using ping to determine latency
    $ ping example
    PING example.example.pri (192.168.0.2): 56 data bytes
    64 bytes from 192.168.0.2: icmp_seq=0 ttl=64 time=0.169 ms
    64 bytes from 192.168.0.2: icmp_seq=1 ttl=64 time=0.167 ms
    ^C
    --- example.example.pri ping statistics ---
    2 packets transmitted, 2 packets received, 0% packet loss
    round-trip min/avg/max/stddev = 0.167/0.168/0.169/0.001 ms
    On Solaris and AIX®, you need to use the -s option to send more than one echo packet and get the timing information. For getting baseline figures, you can use the -c option (on Linux®) to specify the count. On Solaris/AIX, you must specify the packet size (the default is 56 bytes), and the number of packets to send so that you do not have to manually terminate the process. You can then use this to extract the timing information automatically (see Listing 2).
    Listing 2. Specifying the packet size when using ping on Solaris/AIX
    $ ping -s example 56 10
    PING example: 56 data bytes
    64 bytes from example.example.pri (192.168.0.2): icmp_seq=0. time=0.143 ms
    64 bytes from example.example.pri (192.168.0.2): icmp_seq=1. time=0.163 ms
    64 bytes from example.example.pri (192.168.0.2): icmp_seq=2. time=0.146 ms
    64 bytes from example.example.pri (192.168.0.2): icmp_seq=3. time=0.134 ms
    64 bytes from example.example.pri (192.168.0.2): icmp_seq=4. time=0.151 ms
    64 bytes from example.example.pri (192.168.0.2): icmp_seq=5. time=0.107 ms
    64 bytes from example.example.pri (192.168.0.2): icmp_seq=6. time=0.142 ms
    64 bytes from example.example.pri (192.168.0.2): icmp_seq=7. time=0.136 ms
    64 bytes from example.example.pri (192.168.0.2): icmp_seq=8. time=0.143 ms
    64 bytes from example.example.pri (192.168.0.2): icmp_seq=9. time=0.103 ms
    ----example PING Statistics----
    10 packets transmitted, 10 packets received, 0% packet loss
    round-trip (ms) min/avg/max/stddev = 0.103/0.137/0.163/0.019

  • Strange ARP entries

    We have about 20 solaris 10u7 installations built from identical templates that run oracle databases with windows 2k3 2k8 front end on dell poweredge servers with Broadcom teamed nics. The problem affects only some connections. dell1 can ping 100% solaris1 but drops packets against solaris2 where dell2 can ping 100% solaris1 but drops packets against solaris2 and dell3 and solaris3 can ping everyone 100%. All the servers are on the same subnet. When the dell box cannot ping the solaris box I run an arp -a on the solaris box and it returns the wrong mac address for the dell box. The mac address can be a duplicate address from another server / gateway. When the mac address is correct the pings return. I have now changed the ip address on one of the solaris boxes and everyones happy for now...... I have tried setting static mac addresses with arp -s but these are overwritten. We are starting to see arp entries for computers no longer on our network.

    We have tried to packet sniffing. I do not know how you can get the source from the prying eyes of the ARP I tried to find the information. Just like the firewire device, you need to make sure that your [sata dock station|http://www.espow.com/wholesale-sata-hdd-docking-station-for-mac-support-1394b-1394a-firewire-port.html] is ok, and then we raise all in the same subnet Dell Broadcom hard drivers and firmware of most issues. There is a new Solaris operating system 10u4 hdd dock and Broadcom network card problem. Adhere to the old drivers close rfc86 Solaris version 4.1 does not run upto Broadcom to the same level. We are still looking into more than 2 Boos from the ARP table entry. We think this is Broadcom's problem, not the existence of Solaris seems to be a re-entries on the Internet a lot of the problem.
    Edited by: jackdrogba on Apr 1, 2010 12:58 AM

  • Solaris 10 Dev. Edition - Network config issue (NIC,DHCP,Can't ping router)

    I am a developer getting started with Solaris 10 configuration. I recently installed Solaris 10 and have run into an issue with network connectivity.
    I have done much research on this and I was able to get communiction to the internet established once, but the settings were lost on reboot.
    Overview - The Solaris box is connected to a router which is acting as a DHCP server.
    AMD 64 dual 2.6
    nForce4+ integrated NIC
    1) I am not able to obtain an address from the router. Nor do I get a respons back when I ping it. I get an IP etc if I boot into Windows so phyicial connectivity is fine.
    2) Upon reboot the device nfo0 as shown using ifconfig -a has an IP of 0.0.0.0.
    3) If I run ifconfig [hostname] my machine gets the ip from the hosts file, but I would like to obtain this from the router.
    4) NOTE - the machine shows as active on my router, but the Solaris box cannot be reached from other computers on the networ, nor do I get a reply back when pinging the router from the Solaris box.
    GOAL - reach and obtain a DHCP from the router and have the changes stick upon reboot.
    /etc/hosts contents
    127.0.0.1 localhost loghost
    192.168.1.55 solarisX /*<-- this is what I get when I do ifconfig nfo0 solarisX */
    /etc/hosname.nfo0
    netmask + 255.255.255.0
    solarisX
    /etc/defaultrouter
    192.168.1.254
    /et c/netmasks
    192.168.0.0 255.255.2550
    Specific Steps taken:
    Using the driver nfo-2.4.5 locate at http://homepage2.nifty.com/mrym3/taiyodo/eng/ I did the following.
    % cd /.../nfo-x.x.x
    % rm obj Makefile
    % ln -s Makefile.${KARCH}_${COMPILER} Makefile
    % ln -s ${KARCH} obj
    where ${KARCH} is the result of `isainfo -n`, and ${COMPILER} is
    "gcc" or "suncc" which you want to use to make the driver.
    4. Testing
    Testing before installation is strongly recommended.
    # cd /.../nfo-x.x.x
    # /usr/ccs/bin/make install
    # ./adddrv.sh
    # /usr/ccs/bin/make uninstall (for solaris7, don't remove the file )
    # modload obj/nfo
    # devfsadm -i nfo (for solaris7, use drvconfig and reboot with -r )
    # ifconfig nfoN plumb ( where N is an instance number, typcally 0 for first card)
    # ifconfig -a ( you will see an entry for nfoN)
    # ifconfig nfoN YOUR-HOST-NAME
    # ifconfig nfoN ( ensure IP address is correct)
    # ifconfig nfoN up ( and then you can test with ping, telnet, ftp ...)
    5. Installation
    After you ensure that the nfo driver is fully functional, install it.
    (1) copy the nfo driver into the kernel directory
    # cd /.../nfo-x.x.x
    # /usr/ccs/bin/make install
    If you do not test the nfo driver yet, execute the following commands:
    # ./adddrv.sh
    # devfsadm -i nfo (for solaris7, use drvconfig and reboot with -r)
    (2) Configure the network interface. Create and/or modify the following file:
    /etc/hostname.nfoN
    (3) Reboot the system.
    # init 6
    Edited by: hedger on Nov 16, 2007 11:17 PM

    Thanks Alan. I worked on trying to get the NIC working again last night. I had it working once, although the settings did not perist. I can still get the device to load, but I can't communciate with the router (it's not physical because another OS can reach it.
    I took your advice and tried the sys-unconfig. But I did not have much success.
    I am wondering if plopping in a new PCI NIC would be the most efficient route to get the server up.
    What kind of NIC do you utilize and have had success with?
    I am looking at possibly a DLINK DFE-530 or NetGear FA-311. I don't need wireless at this point just a rock solid DEV box.
    Thanks again for the previous info.
    Ted

  • Solaris 10 network status shows 'disconnected' & cannot ping out

    Hi,
    In my solaris 10 sparc t4-1 server, the network status shows 'disconnected'
    I cannot ping to any servers in the lan.
    Please help
    thanks

    Sounds like it's either infrastructure or faulty hardware. Are you sure the port is turned on that you are plugging into?

  • Icmp poller on solaris 10: lot's of unexplained ping failed

    Hello to everybody, and if someone can help me on the following problem...
    I use the IBM tivoli netcool network manager icmp poller on a solaris sparc local zone server, and for a reason I don't understand, regularly, I have lot's of unexplained ping failed.
    Note that the poller is configured to poll about 9000 Ip address every 4 minutes. And often, some of the IP address (but generally not the same) don't reply to the icmp request for 2-10 seconds max. And it seems that the tool is not the problem because, when I test myself with the ping command on concerned IP address, I have effectively the following message for only few seconds:
    "icmp host unreacheable from gateway yvasl110" (yvasl110 is the name of the local zone server)
    I notice that the ipOutNoRoutes increases very often on this specific server:
    netstat -s -P ip
    IPv4 ipForwarding = 2 ipDefaultTTL = 255
    ipInReceives =3113915 ipInHdrErrors = 0
    ipInAddrErrors = 0 ipInCksumErrs = 0
    ipForwDatagrams = 0 ipForwProhibits = 187
    ipInUnknownProtos = 3 ipInDiscards = 3495
    ipInDelivers =4391757 ipOutRequests =3059887
    ipOutDiscards = 0 ipOutNoRoutes =117387
    ipReasmTimeout = 15 ipReasmReqds = 0
    ipReasmOKs = 0 ipReasmFails = 0
    ipReasmDuplicates = 0 ipReasmPartDups = 0
    ipFragOKs = 0 ipFragFails = 0
    ipFragCreates = 0 ipRoutingDiscards = 0
    tcpInErrs = 0 udpNoPorts = 4495
    udpInCksumErrs = 0 udpInOverflows = 0
    rawipInOverflows = 0 ipsecInSucceeded = 0
    ipsecInFailed = 0 ipInIPv6 = 0
    ipOutIPv6 = 0 ipOutSwitchIPv6 = 0
    Note that I have another same server with the same tool and same list of IP address, and I have no problem: no ping failed and ipOutNoRoutes = 0
    I have already analyzed the network connexion (and already switched on another network connexion: network card+switch) = no effect.
    I install the last Solaris patch = no effect.
    And tcp solaris parameters are the same on the 2 servers.
    So, I don't understand. :o(

    Solaris ships with NTP code that is probably more than a decade old. xntpd is version 3 (probably with some patches by Sun), but ntp version 4 has been out for years.
    That said, even the ancient version 3 stuff is usually functional, so the fact that yours isn't working seems somewhat odd.
    But if you can't restart NTP, then it'll be difficult to debug. Looks like it's running, but has no servers configured. Possibly at the time the machine booted, the names could not be resolved? So NTPD came up with no servers listed. Just a guess.
    Darren

  • Solaris 10. Strange ping behavior.

    Good day everybody.
    Please excuse my really awfull english , i will try to explain our problem as best as i can.
    Basicly , we have Solaris 10 box in our inside network (for example ip 10.10.1.2). Defaultrouter is set to 10.10.1.1 . There are several remote networks siting behind the router (10.10.2.0,10.10.3.0 etc). One of the goals of Solaris box is to monitor hardware devices in the remote networks , using simple icmp scripts. Here is the problem , it seems that Solaris randomly looses connection to some of remote networks (i can't ping remote devices). After box reboot the problem seems to go away for a few hours and then reappears again.
    Any help would be appritiated. Thanks in advance , Dmitriy.

    problably your problems is a know bug on windows driver of broadcom cards that "poison" the arp cache o solaris
    http://blogs.sun.com/swas/entry/solaris_10_8_07_broadcom
    solution: update the drivers of your broadcom based servers

  • Solaris 10 on M4000 sparc bge link down cannot ping to other

    Hi all,
    I setup solaris 10 on sun M4000 sparc server, every thing is good when install complete I cannot ping to Gateway from Solaris 10 OS, but on XSCF console I can ping to gateway
    SPARCM4000# ifconfig -a
    lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
    inet 127.0.0.1 netmask ff000000
    bge1: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 2
    inet 172.16.3.235 netmask ffffff00 broadcast 172.16.3.255
    ether 0:14:4f:3a:7b:5a
    sppp0: flags=10010008d1<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST,IPv4,FIXEDMTU> mtu 1500 index 3
    inet 192.168.224.2 --> 192.168.224.1 netmask ffffff00
    ether 0:0:0:0:0:0
    SPARCM4000#
    Any body can help me?

    Thanks for quick reply
    I've checked already all cables are connected and LEDs light ok, but I don't know whats wrong with M4000 box, Or on XSCF have any command to enables Ethernet cards?
    for my XSCF LAN config is :
    XSCF> shownetwork -a
    xscf#0-lan#0
    Link encap:Ethernet HWaddr 00:21:28:6E:88:10
    inet addr:10.0.19.235 Bcast:10.0.19.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:62549 errors:0 dropped:0 overruns:0 frame:0
    TX packets:2201 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:5459443 (5.2 MiB) TX bytes:334404 (326.5 KiB)
    Base address:0xe000
    xscf#0-lan#1
    Link encap:Ethernet HWaddr 00:21:28:6E:88:11
    inet addr:172.16.3.223 Bcast:172.16.3.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:12616 errors:0 dropped:0 overruns:0 frame:0
    TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:1092370 (1.0 MiB) TX bytes:492 (492.0 B)
    Base address:0xc000
    XSCF> showroute -a
    Destination Gateway Netmask Flags Interface
    172.16.3.0 * 255.255.255.0 U xscf#0-lan#1
    10.0.19.0 * 255.255.255.0 U xscf#0-lan#0
    default 10.0.19.1 0.0.0.0 UG xscf#0-lan#0
    Regards
    Edited by: 986418 on Feb 7, 2013 5:18 PM

Maybe you are looking for