How to Configure Your System for Networking


This page is a series of instructions for configuring your SGI computer for an Ethernet network connected to the Internet.

Note that these instructions are directed toward SGI users on the ISU campus. These instructions will not work as described for systems not connected to the ISU telecommunications infrastructure.

If you find that you have a question that has not been answered within these pages, please contact ecss_support@eng.iastate.edu.

Getting Connected

The first step in the process is to get a network connection. If you already have other machines in your office that are networked, this step might be done already. You will need to verify that your office has an Ethernet connection to it. Most offices at ISU have a data jack on the same wall connector as the telephone. The data jack is usually orange. But just because you have a data jack doesn't mean that it's Ethernet. Check with your telecommunications coordinator and make sure that you have an active Ethernet jack before proceeding.

Cables, Connectors, Transceivers, and Hubs

You will need to decide on the type of Ethernet media you want to use. There are two common media types for an Ethernet network:

  1. 10Base-T (aka Twisted-Pair). The cable looks like a telephone cable (but isn't). It has an RJ-45 connector at each end. Almost all SGI computers come equipped with Twisted-Pair adaptors ready to go. 10Base-T is the most popular type of media for networking on campus and is fast replacing other network media. If you choose to go with 10Base-T, you will have to provide the network cable and possibly a hub (see below).
  2. 10Base2 (aka BNC or ThinNet). The cable is small round coaxial cable that has special connectors that allow BNC cables to be chained from computer to computer. PCs often use BNC cabling. Most SGI computers have adaptors for BNC but you have to provide a special interface device called an transceiver. The transceiver connects to the back of the computer on the AUI adaptor. If you choose to go with BNC, you will have to provide the BNC cable, BNC connectors, and possibly a hub.

A hub is an electronics device that allows several networked devices in a office to share one network line. They are commonly used when there is only one incoming/outgoing network connection to a room but there are several computers in the room that need to be connected to the outside. Most basic hubs have connections for both 10Base-T and 10Base2 cabling arrangements. So, with a hub, it is possible to have both 10Base-T and 10Base2 cabling within a room. The hubs usually make their final connection to the outgoing data jack over 10Base-T wire. If you need to purchase a hub, you must make sure you purchase all of the cable lengths to connect everything together.

Getting an IP Address

While you are in the process of getting your network connection, you will need to get an IP address for your machine. An IP address is absolutely essential if you want to connect your machine to the Internet. An IP address has two parts: an IP number and an IP name. The easiest way to request and IP address at ISU, is to log in to Project Vincent and use the request utility.

  1. log in to Project Vincent
  2. Type request. You will get a screen like this:
  3.                      Vincent Request Version 1.7 - Main Menu
    
         1) Exit Request
         2) Communication server access
         3) Disk quota
    ->   4) Domain name service (IP# and hostname)
         5) Ethernet service (student residence halls only)
         6) Locker (for software)
         7) Mailing List (Majordomo)
         8) NFS group name
         9) PPP access
        10) Printer connection
        11) Scratch space
        12) Software (Vincent only)
    
  4. Move the arrow key down to select item 4 (Domain name service) and press enter.
  5. Choose Ethernet
  6. Enter your name, department, building, room, and Ethernet jack-id in the fields as in the example below (THIS IS JUST AN EXAMPLE):
  7.                          Domain Name Service Request
    
    Owner/user:         *[Bob Smith                               ]
    Department:          [Engineering Computing Systems Support   ]
    Building:            [Marston Hall                            ]
    Room:               *[210                                     ]
    Ethernet Jack-ID:    [B2333111AA     ] MUST start with "B23"
    Type of system: (make/model as in "Zenith Z-Station" or "Apple Macintosh IIci")
     *[SGI Indy                                                         ]
    Requested name: (optional - one will be supplied if not provided)
      [snoopy.iastate.edu                                         ]
      a-z, 1-9, dash, ONE level, must start with letter a-z
    
    Special Instructions:
    1) Please put this machine in the eng.iastate.edu domain. 
    2)
    3)
    4)
    5)
    Fields preceded with a "*" are REQUIRED
    
    
  8. Note: You can choose any name you'd like for your machine, as long as that name is not already in use.
  9. Note: Most of the colleges and functional organizations on campus have specific subdomains (e.g. eng.iastate.edu, cs.iastate.edu, design.iastate.edu, las.iastate.edu). If you know that most of the machines in your department have a specific subdomain, enter this subdomain on the form under special instructions.
  10. After a request is made for an IP address, the DNS administrator will send you e-mail with a confirmation of the IP number/IP name for your machine.

Configuring Networking on Your Machine.

If you have a network connection to your computer and you've been assigned an IP address, you're on the home stretch. The final part of the process involves modifying certain system files on your computer responsible for networking. The steps below summarize all you need to do to set up networking:

  1. Set the machine name.
  2. Set its IP address.
  3. Set up routing correctly.
  4. Set the broadcast address and the subnet mask.
  5. Set the time zone.
  6. Start networking.

The Gory Details

Follow the steps below carefully. To perform these steps, you will need how to use a simple text editor. SGI supplies a simple text editor called jot. The steps below refer often to the jot editor. On IRIX 6.3 (the O2s) the jot editor has been replaced by nedit. If you have an O2, just substitute jot with nedit in the steps below.

  1. Take the time to read your SGI computer owner's manual to familiarize yourself with your machine's configuration.
  2. Connect all of the cables, hubs, power cables to your computer.
  3. Turn your machine on. When you turn it on for the first time, your machine will not have networking turned on.
  4. Log in as root (Just enter root at the username prompt and press enter.)
  5. Open a Unix shell (Find the tools menu on the desktop, click on Desktop, then click on Unix Shell .) You will type all of the remaining commands at the command line in the Unix Shell.
  6. Inside the Unix shell window, type: jot /etc/sys_id

    Change the word IRIS to the first part of your computers IP name. For example, if your machine has been assigned the IP name snoopy.las.iastate.edu, you would enter the word snoopy in place of IRIS.

    Write and save the /etc/sys_id file.

  7. Type: jot /etc/hosts

    Leave everything else in the file alone but add a line at the end of the file that contains your machine IP address, IP name, and machine name. For example, if your machine's IP name is snoopy.las.iastate.edu, with the IP address 129.186.25.160, you would create a line at the end of the /etc/hosts file as with the following:

    129.186.25.160  snoopy.las.iastate.edu snoopy
    

    Write and save the /etc/hosts file.

  8. At the Unix command line, type: chkconfig routed off
  9. IMPORTANT NOTE: All of the buildings at ISU are connected to the campus network with routers that handle the routing of network traffic to the correct destination. For this reason, it is recommended that you turn off the route daemon with the chkconfig command above. Each router on campus is given the IP address 129.186.{SUBNET}.254, where {SUBNET} is the subnet of your IP address. We recommend that you add a static route to the router in your building. Setting a static route tells your computer to send all of the network traffic to the router. This is by far the easiest and the safest way to set up networking on campus.

    Write and save the /etc/hosts file.

  10. Type: jot /etc/init.d/network

    At around line 400 in the file /etc/init.d/network, you will see a series of lines:

                elif $IS_ON routed && test -x /usr/etc/routed ; then
    
                    # Useful option:
                    #       -q = "quiet": don't act as router if > 1 interface.
                    # See routed(1M) for other options.
    
                    /usr/etc/routed `cat $CONFIG/routed.options 2> /dev/null` &
    
                fi
    

    Change these lines by adding the following lines in bold:

                elif $IS_ON routed && test -x /usr/etc/routed ; then
    
                    # Useful option:
                    #       -q = "quiet": don't act as router if > 1 interface.
                    # See routed(1M) for other options.
    
                    /usr/etc/routed `cat $CONFIG/routed.options 2> /dev/null` &
    
                elif test -x /usr/etc/route ; then
                    $ECHO " Setting default route ...\c"
                    /usr/etc/route add default 129.186.{SUBNET}.254 1
                    $ECHO " done."
    
                fi
    

    Be sure the change the {SUBNET} to the subnet of your IP address. For instance, if your IP address is 129.186.23.163, you would replace {SUBNET} with 23.

  11. Type jot /etc/resolv.conf

    Put the following lines in the file /etc/resolv.conf:

    hostresorder local bind nis
    domain  {Your Domain Name} 
    nameserver 129.186.1.200
    nameserver 129.186.140.200
    nameserver 129.186.142.200
    

    NOTE. Be sure to change {Your Domain Name} to the domain name for your machine. For example, if your machine IP name is snoopy.las.iastate.edu, the correct domain name is las.iastate.edu. The domain name is just the of the IP name that comes after your machine's IP name.

    Write and save the /etc/resolv.conf file.

  12. Type: jot /etc/config/ifconfig-1.options

    Put the following lines in /etc/config/ifconfig-1.options:

    netmask 0xffffff00
    broadcast 129.186.{SUBNET}.255
    

    Be sure to change the {SUBNET} to the subnet of your IP address. When done editing the file, write and save it.

  13. At the command line, type: jot /etc/TIMEZONE
  14. Change the file to read:

    #ident  "@(#)sadmin:etc/TIMEZONE        1.2"
    #ident  "$Revision: 1.6 $"
    #       Set timezone environment to default for the machine
    TZ=CST6CDT
    

    Write and save the /etc/TIMEZONE file.

  15. Start network processes on your machine. To start the network, you can either reboot your computer, or type:
    /etc/init.d/network start

Testing your network connection

If you entered all of the steps under The Gory Details correctly, this section is entirely unnecessary. But since there will always be people who encounter some problems, this section will help you test whether the networking is set up correctly.

  1. Check to see if you can contact the Domain Name Server (DNS). Type: nslookup www.iastate.edu
  2. You should see the result:

    Server:  ns-1.iastate.edu
    Address:  129.186.1.200
    
    Name:    info.iastate.edu
    Address:  129.186.1.20
    Aliases:  www.iastate.edu
    

    If you get the results above, networking is working. If you don't get any results, or the command appears to hang, networking is not working.

  3. Try to "ping" a machine. If you know the IP address of a machine, try to send an ICMP packet to it and have it returned. Type ping -c5 www.sgi.com
  4. You should the following results:

    PING www.sgi.com (204.94.214.4): 56 data bytes
    64 bytes from 204.94.214.4: icmp_seq=0 ttl=245 time=96 ms
    64 bytes from 204.94.214.4: icmp_seq=1 ttl=245 time=156 ms
    64 bytes from 204.94.214.4: icmp_seq=2 ttl=245 time=89 ms
    64 bytes from 204.94.214.4: icmp_seq=3 ttl=245 time=133 ms
    64 bytes from 204.94.214.4: icmp_seq=4 ttl=245 time=94 ms
    
    
    ----www.sgi.com PING Statistics----
    5 packets transmitted, 5 packets received, 0% packet loss
    round-trip min/avg/max = 89/113/156 ms
    

    If you don't get any results or the command appears to hang, then networking is not working. Double check whether you have entered the steps correctly under The Gory Details.

Silicon Graphics®
and the Silicon
Graphics logo® are
registered trademarks
of Silicon Graphics, Inc.
Updated
April 8, 1997;
John Dickerson
Iowa State University