Smarts SAM: IPv6 traps received successfully by Trap Exploder(TE), but not forwarded to Trap adapter(TA); IPv4 traps are being forwarded only, IPv6 traps are not
search cancel

Smarts SAM: IPv6 traps received successfully by Trap Exploder(TE), but not forwarded to Trap adapter(TA); IPv4 traps are being forwarded only, IPv6 traps are not

book

Article ID: 331945

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Symptoms:


IPv6 traps received successfully by Trap Exploder(TE), but not forwarded to Trap adapter(TA)

My IPV4 traps are being fowarded with my forwarding statement, but not my IPV6.

Environment

VMware Smart Assurance - SMARTS

Cause

The line in the trapd.conf file was forumulated for IPV4 addresses- it had only 4 octets.

FORWARD *.*.*.* .* * * -nosmtrapaddr localhost:7071

Resolution

Change the same line to catch both IPV4 and IPV6 addresses.

FORWARD * .* * * -nosmtrapaddr localhost:7071

The Trap Exploder (TE) will now forward both ipv4 and ipv6 addresses.

Use sm_edit to edit this file:
  1. ./sm_edit ../conf/trapd/trapd.conf
  2. Add the forwarding statement as above, then save and close the file.
  3. Restart the TE to reload the conf file.
Other examples:
The following FORWARD entry examples demonstrate how to forward just IPv4 traps, just IPv6 traps, and all IPv4 and IPv6 traps to the IP Availability Manager. The destination <host>:<port> (host IP address/hostname and trap port number)
would be replaced with the IP Availability Manager destination that is to receive the trap messages.
  • Forward just IPv4 traps to the IP Availability Manager
FORWARD: *.*.*.* .* * * <host>:<port>
  • # Forward just IPv6 traps to the IP Availability Manager
FORWARD: *:*:* .* * * <host>:<port>
  • # Forward all IPv4 and IPv6 traps to the IP Availability Manager
FORWARD: * .* * * <host>:<port>