Null-routing an IP using Routing Table

Issue :

How to null-route IP addresses via Routing Table ?

Fix :

To block a single IP :

ip route add blackhole XX.XX.XX.XX

To block a network range :

ip route add blackhole XX.XX.XX.XX/16

To remove the block :

ip route del XX.XX.XX.XX
ip route del XX.XX.XX.XX/16

  • Share/Bookmark

Filed Under: Quick fixesTechnical

Tags:

About the Author: InstaCarma is a provider of outsourced technical support and server management services to web hosting companies.

RSSComments (0)

Trackback URL

Leave a Reply

Get Adobe Flash playerPlugin by wpburn.com wordpress themes