Skip to main content
Blackhole routes are used to discard traffic destined for specific IP addresses or subnets. It might be useful to set up blackhole routes for security reasons, to prevent traffic from reaching certain destinations, or for temporary testing and troubleshooting purposes. Blackhole routes can be configured in Talos Linux using the BlackholeRouteConfig machine configuration document:
This configuration creates a blackhole route for the IP address 169.254.1.1 - any traffic destined for this IP address will be discarded by the system. Blackhole route will appear as a route attached to the loopback interface lo (for IPv6) or as a route attached to no interface (for IPv4) with the blackhole type: