Skip to main content

Linux Networking

Routing

null route (blackhole)

ip route add blackhole 10.1.2.199
ip route add blackhole 10.1.2.199/24
ip routeĀ 
ip route del 10.1.2.199

null route an ip list
for string in $(cat ips.txt); do ip route add blackhole $string; done