N E T S H E L L

( A ROOF FOR NET BEGINNERS )

1. Basic Networking Commands

       i. To verify the Ip address and Mac Address of a Host.

             # ipconfig  -a     ( for i86 pc )

                ok  banner         ( for sparc machine )

      ii. To change the hostname  

    Host name can be changed by editing the /etc/nodename file and      rebooting

       #  cat   /etc/nodename        

host1

         iii.  Configuring Interfaces at Boot time.

     The   /etc/rcs.d/S30network.sh file is one of the startup scripts which uses the ifconfig utility to configure each interfaces with an ipaddress. The script searches for the file called hostname.xxn in the /etc directory. ( where xxn is the instance name of NIC )

          # cat /etc/hostname.iprb0

           host1

iv. To Assign IP address for an interface.

           #  ifconfig iprb0 192.168.10.30 up 

v. To Capture the Packets in between the systems.

          # snoop  -P  host1  host2 

( Solaris Topics )

Hosted by www.Geocities.ws

1