Softpanorama
(slightly skeptical) Open Source Software Educational Society

May the source be with you, but remember the KISS principle ;-)

Google   


Solaris Networking Tips

News See Also Recommended Links Humor Etc

Changing the System Host Name

The host name of a system is contained in six files on the system. You must modify all of these files to successfully change a system’s host name.

The files that contain the host name of a system are:

  1. The /etc/nodename file
  2. The /etc/hostname.xxn file
  3. The /etc/inet/hosts file
  4. The /etc/net/ticlts/hosts file
  5. The /etc/net/ticots/hosts file
  6. The /etc/net/ticotsord/hosts file

Capturing and Inspecting Network Packets

You can use the snoop utility to capture and inspect network packets to determine what kind of data is transferred between systems. You can use the snoop utility to see what happens when one system uses the ping command to communicate with another system. To view network traffic between two specific systems, perform the command:

# snoop sys41 sys42
sys41 -> sys42 ICMP Echo request
sys42 -> sys41 ICMP Echo reply

Use the -a option to enable audible clicks, which notify you of any network traffic. Although noisy, the clicks are useful when troubleshooting.

The following example shows how to turn on audible clicks for all network traffic related to a Dynamic Host Configuration Protocol (DHCP) boot:

# snoop -a dhcp

Some additional snoop options include:

 


Copyright © 1996-2007 by Dr. Nikolai Bezroukov. www.softpanorama.org was created as a service to the UN Sustainable Development Networking Programme (SDNP) in the author free time. Submit comments This document is an industrial compilation designed and created exclusively for educational use and is placed under the copyright of the Open Content License(OPL). Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.

Standard disclaimer: The statements, views and opinions presented on this web page are those of the author and are not endorsed by, nor do they necessarily reflect, the opinions of the author present and former employers, SDNP or any other organization the author may be associated with. We do not warrant the correctness of the information provided or its fitness for any purpose.

Last modified: February 28, 2008