network configuration

Posted on 2006-04-11
Last Modified: 2013-12-23
trying setup a session to a test machine that is on the other side of the world so I can reinstall solaris and setup some test apps. I can connect to it via a ssh session that I create from a windows terminal server that is in the same subnet. I need to get it where I can connect to it with a ssh session from my side of the world without going through the windows terminal server.  

The test box is a solaris 8 box at the moment.

I can ping the default gateway from my workstation and I can ping the default gateway from the test machine but I cannot ping from my workstation to the test machine or vise versa.

Have something wrong with the broadcast I belive.

Getting this from a ifconfig -a

lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
        inet netmask ff000000
hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet netmask ffff0000 broadcast
        ether 0:3:ba:1:ab:5f

the ip is, the broadcast should be, and netmask

don't think I have the /etc/resolv.conf right for one thing but not sure what to put in it.

Any ideas,



Question by:bt707
    LVL 38

    Accepted Solution

    Check the DNS settings in your Solaris box, make sure:
     make sure your /etc/resolv.conf

      has the correct DND server infor, eg:
      replace "" with your DNS server IP

       check your /etc/nsswitch.conf  file, and make sure hosts use dns:

    hosts:     files dns [NOTFOUND=continue]
    # you can just modify the record to make it use files and DNS
    3. If you had done step 1 & step 2 and it still not working, try:
    to specify the defaulterouter:

    vi /etc/defaultrouter
    and put   in the file, replace " " with your router IP

    echo "" > /etc/defaultrouter

    then reboot.

    LVL 27

    Assisted Solution

    I aggree with yuzh about setting correct /etc/defaultrouter
    I disaggree with him that you need to reboot.

    These values are hardly a correct:
    netmask ffff0000 broadcast

    Please look for correct netmask and boradcast values on your Terminal Server:
    ipconfig /all

    Then apply new netmask and broadcast to your solaris machine:
    ifconfig hme0 netmask x.x.x.x broadcast y.y.y.y

    where x.x.x.x is the same netmask as on Windows machine (in the same subnet) and y.y.y.y is the same broadcast value:

    after setting this values try to ping sombody outside. If it works, make your changes permanent:
    edit /etc/hostname.hme0 (there should be one line with host name) and change it as following:

    inet netmask x.x.x.x broadcast y.y.y.y

    also please paste here 'netstat -rn' output from Solaris and 'cat /etc/resolv.conf' and 'cat /etc/hosts' and 'cat /etc/nsswitch.conf'


    Author Comment

    Thanks to both of you, I got it going, problem was the /etc/netmask

    Will split the points here as both gave some good info here and all is working now.

    Thanks again

    Featured Post

    Free camera licenses with purchase of My Cloud NAS

    Milestone Arcus software is compatible with thousands of industry-leading cameras for added flexibility. Upon installation on your My Cloud NAS, you will receive two (2) camera licenses already enabled in the software. And for a limited time, get additional camera licenses FREE.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    Nexus qos question 2 52
    belkin wifi stick 12 75
    Wireshark 4 32
    IPhone using PC internet 17 0
    Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
    Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
    After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now