Access official resources from Carbon Black experts
All
Formatting of IP address turns IP into a signed integer
IP addresses show up as negative numbers
Resolution
=DECIMAL(RIGHT(DEC2HEX(T2),8),16)
=INT(U2/256^3)&"."&INT((U2-(INT(U2/256^3))*256^3)/256^2)&"."&INT((U2-((INT(U2/256^3))*256^3)-(INT((U2-(INT(U2/256^3))*256^3)/256^2)*256^2))/256)&"."&INT((U2-((INT(U2/256^3))*256^3)-((INT((U2-(INT(U2/256^3))*256^3)/256^2))*256^2))-((INT((U2-((INT(U2/256^3))*256^3)-(INT((U2-(INT(U2/256^3))*256^3)/256^2)*256^2))/256))*256))
Result with two new columns:
Resolution 2
Using one formula / column
=INT(DECIMAL(RIGHT(DEC2HEX(T2),8),16)/256^3)&"."&INT((DECIMAL(RIGHT(DEC2HEX(T2),8),16)-(INT(DECIMAL(RIGHT(DEC2HEX(T2),8),16)/256^3))*256^3)/256^2)&"."&INT((DECIMAL(RIGHT(DEC2HEX(T2),8),16)-((INT(DECIMAL(RIGHT(DEC2HEX(T2),8),16)/256^3))*256^3)-(INT((DECIMAL(RIGHT(DEC2HEX(T2),8),16)-(INT(DECIMAL(RIGHT(DEC2HEX(T2),8),16)/256^3))*256^3)/256^2)*256^2))/256)&"."&INT((DECIMAL(RIGHT(DEC2HEX(T2),8),16)-((INT(DECIMAL(RIGHT(DEC2HEX(T2),8),16)/256^3))*256^3)-((INT((DECIMAL(RIGHT(DEC2HEX(T2),8),16)-(INT(DECIMAL(RIGHT(DEC2HEX(T2),8),16)/256^3))*256^3)/256^2))*256^2))-((INT((DECIMAL(RIGHT(DEC2HEX(T2),8),16)-((INT(DECIMAL(RIGHT(DEC2HEX(T2),8),16)/256^3))*256^3)-(INT((DECIMAL(RIGHT(DEC2HEX(T2),8),16)-(INT(DECIMAL(RIGHT(DEC2HEX(T2),8),16)/256^3))*256^3)/256^2)*256^2))/256))*256))
As noted in this article, the process search will convert the IP you are searching for to a signed integer (negative number). This can be particularly confusing on CSV exports, where columns like comms_ip and interface_ip will also show this negative number. The above Excel formulas can be utilized as a work around to convert the number back into an IP address, in case it proves useful to anyone looking at or reporting from those exports.
CB-15266 -> Tracking number which can be perused on each version's release notes to follow if an update on this issue has been introduced.
Copyright © 2005-2023 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.