Add a your IP-addresses to Sitecore.Analytics.ExcludeRobots.config. This method does allow the use of single IP addresses, ranges and subnets. Those IP addresses will not be tracked anymore. However, I'm not sure if these settings are applied to existing records in the XDB:
Supported values and formates: IP address, e.g. 10.2.3.4; IP range, e.g. 10.1.2.3 - 10.1.2.30; Subnet, e.g. 10.2.3.*
If you want to remove the interactions based on those IP-addresses from the XDB, please note that you need to write some custom logic. Anders Laub wrote a nice blogpost on this subject: https://laubplusco.net/sitecore-dms-visits-specific-ip-addresses/
The IP-address is stored in the Interactions table (fieldname: IP), but the IP-address stored as a binary object.
*please note: all IP addresses might be stored as a hash in the XDB about that.
edit: confirmation on the hashed IP addresses by @Matthias Gmur from the Sitecore slack channel:
<!-- ANALYTICS - REDACT IP ADDRESS
Determines if the IP addresses that initiated the interaction are redacted when writing to the database.
Note: IP addresses are hashed by default. Setting this value to true removes your ability to determine the actual IP address that initiated the interaction.
When the setting is enabled, the database stores an empty IP address (0.0.0.0) instead of the actual IP address.
Default value: false
-->
<setting name="Analytics.RedactIpAddress" value="false" />