Thursday, January 21, 2010

Setting up the Network on System V (IRIX)

Setting up the Network on System V (IRIX)

The basic ideas are the same as in the BSD version but the configuration files are done differently. Under IRIX, there is a shell script /etc/init.d/network that controls all the network related setup. That shell script gets it information from some files described below.

  • The hostname can be defined by created a file named /etc/sys_id and placing the name of the host on a line in that file. The network script will check for that file and set the hostname.



  • Irix uses a file named /etc/config/netif.options to define the network interfaces available and the IP addresses associated with those interfaces. Instead of IP-addresses the interface addresses can be a hostname and IRIX will look up the IP address in the /etc/hosts file. The file /etc/config/netif.options has the format:
    if1name=et0
    if1addr=130.85.199.2     OR   if1addr=$HOSTNAME
    




  • To set the netmask and broadcast addresses you must define a config file for each interface under the name /etc/config/ifconfig-N.options where N is the interface number starting with 1. The contents of this file contain a single line with the netmask and broadcsat keywords, as in:
    netmask 255.255.255.0 broadcast 130.85.199.255 
    




  • To turn on routed for the system you must use the command
    chkconfig routed on
    Then upon startup, the network script will look for a file named /etc/config/routed.options. This file contains any command options you want run such as default route, etc. On our systems we just run this with the option -q to place the system in quiet mode and only listen for RIP requests. To set up a static route the routed.options file would contain the line:
    add default 130.85.199.1



  • Edit the /etc/resolv.conf file and list the nameservers to use. The format of this file is
    domain umbc.edu 
    hostresorder local bind nis
    nameserver 130.85.1.4
    nameserver 130.85.1.5
    




  • Select the application deamons to support. On Irix, the network script automatically starts the master internet service deamon inetd which reads a file named /etc/inetd.conf. This file has a line for each application to be served by inetd.



  • No comments:

    Post a Comment