TCP/IP and Data Communications Administration Guide

Use snoop to Monitor Network Traffic

  1. Log in to the root account on a DHCP server or BOOTP relay agent on the same subnet as the client.

  2. Use the snoop command to trace network traffic. For example:


    snoop -o /tmp/output udp port 67 or udp port 68
    
    or

    snoop -o /tmp/output udp port bootps or udp port bootpc
    
    plus the per-interface argument, if there is one.

  3. Boot the client and watch the network messages on the server.

  4. Type:


    snoop -i /tmp/output -x 0 -v
    
    to view the packet traces.