Checking instance level networking

Modified: 28 Apr 2022 01:26 UTC

The snoop(1m) command is useful in helping you troubleshoot networking issues that may arise within your Triton installation.

The snoop command

snoop allows you to check on the packets that are being sent between instances. Below is an example of checking the connectivity between two instances from the global zone.

[root@headnode (coal:0) ~]# snoop -d e1000g0
Using device e1000g0 (promiscuous mode)
  10.88.88.3 -> 10.88.88.7   ICMP Echo request (ID: 34381 Sequence number: 124)
  10.88.88.7 -> 10.88.88.3   ICMP Echo reply (ID: 34381 Sequence number: 124)
  10.88.88.3 -> 10.88.88.7   ICMP Echo request (ID: 34381 Sequence number: 125)
  10.88.88.7 -> 10.88.88.3   ICMP Echo reply (ID: 34381 Sequence number: 125)
  10.88.88.3 -> 10.88.88.7   ICMP Echo request (ID: 34381 Sequence number: 126)
  10.88.88.7 -> 10.88.88.3   ICMP Echo reply (ID: 34381 Sequence number: 126)

The -d flag takes the name of the link you are snooping (as seen via dladm show-link). Here we can see the ICMP request and replies between the two instances.

To filter this output, you can add an optional expression, like so:

Filter by IP address

# snoop -d e1000g0 10.88.88.3

Filter by packet type

# snoop -d e1000g0 icmp