Solaris Basic Networking - PowerPoint PPT Presentation

1 / 7
About This Presentation
Title:

Solaris Basic Networking

Description:

The 0 is not shown in the device special file name. Solaris Basic Networking ' ... inetd.conf/ as well as the files in the /etc/rc2.d and /etc/rc3.d directories. ... – PowerPoint PPT presentation

Number of Views:169
Avg rating:3.0/5.0
Slides: 8
Provided by: pubwe2
Category:

less

Transcript and Presenter's Notes

Title: Solaris Basic Networking


1
Solaris Basic Networking
  • Usually configured through the startup GUI
    accessed by inserting the Solaris Installation CD
    and typing 'boot cdrom' at the ok prompt.
  • Occasionally configured through the use of
    'sys-unconfig' at a shell prompt.
  • Configured even less frequently by using the
    system files /etc/inet/hosts, /etc/resolv.conf,
    /etc/hme0.hostname, /etc/inet/networks,
    /etc/defaultrouter, /etc/nodename and the
    commands /usr/sbin/ifconfig.

2
Solaris Basic Networking
  • Ifconfig -a shows all configured interfaces
  • If this is a new network card, you must run 'boot
    -r' at the ok prompt so that the device tree can
    be updated.
  • Check /dev for the appropriate interface name.
    This computer's interface name is hme0 so look
    for /dev/hme. The 0 is not shown in the device
    special file name.

3
Solaris Basic Networking
  • 'ifconfig hme0 plumb' will mark the interface as
    available for configuration.
  • 'ifconfig hme0 inet 10.0.0.33 netmask
    255.255.255.0 up' will configure the hme0
    interface and bring it online.
  • route add default 10.0.0.1 will set a default
    route.
  • If you have edited /etc/resolv.conf, you will be
    able to access the Internet.

4
Solaris Basic Networking
  • Startup services are controlled through the files
    /etc/inittab and /etc/inet/inetd.conf/ as well as
    the files in the /etc/rc2.d and /etc/rc3.d
    directories.
  • /etc/inittab controls what is run at specific run
    levels.
  • Very rarely modified.

5
Basic Solaris Networking
  • /etc/inet/inetd.conf is the list of services
    which the inet daemon invokes when contacted
    through the network.
  • Ideally you should make a backup copy and then
    delete all of the contents from the original
    only adding back in those services which are
    critical to your server.
  • For an explanation of each service and what they
    do please see http//www.nsa.gov/snac/os/sunsol/So
    laris8.pdf

6
Basic Solaris Networking
  • The directories /etc/rc2.d and /etc/rc3.d contain
    the services and actions which are to be
    preformed as the system comes up through the run
    levels.
  • Make a directory called 'disabled' in each of the
    rc directories.
  • 'cd /etc/rc2.d'
  • mkdir disabled
  • Move the entire contents of the /etc/rc3.d
    directory into into disabled.
  • Leave only those services you must have.

7
Basic Solaris Networking
  • The rc3.d directory contains services which MUST
    be allowed to run.
  • Again, reference http//www.nsa.gov/snac/os/sunos/
    sunsol/Solaris.pdf
Write a Comment
User Comments (0)
About PowerShow.com