Home     Blog

Null Route

A null route is a route that goes to nowhere.

The reason for creating a null route is to prevent your system from sending any data to a remote system.

Creating a null route

Null routes are usually created using the `route` command. This works under both Windows and Unix, although the syntax differs.

The example shows the creation of a null route for an entire Class C network:


# route add 193.252.19.0 0.0.0.0
add net 193.252.19.0: gateway 0.0.0.0

We can see the route which this command created using the `netstat -nr` command:

Null Route Null Route


# netstat -nr
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
...
193.252.19 0.0.0.0 UGS 0 0 fxp0
..

The result of this command is that no matter what packets we receive from this network, we will never send any packets to this network in reply.

Null routes are useful against spammers and other nasty folks on the Internet.

VN:F [1.9.17_1161]
Rating: 10.0/10 (1 vote cast)
Null Route, 10.0 out of 10 based on 1 rating
Follow Will.Spencer on

Leave a Reply

Related Posts

  • Static Route

    A static route is one that a network administrator creates manually. The opposite of a static route is a dynamic route. Dynamic routes are created by routing protocols. Static routes have advantages and disadvantages when compared to dynamic routes. Advantages of Static Routes: Easy to configure No routing protocol overhead Disadvantages of Static Routes: Network [...]...


  • Null Modem Adapter

    An adapter is a hardware device or software component that converts transmitted data from one presentation form to another. The data presentation can be, for example, a message sent between objects in an application or a packet sent through a network. A null modem adapter enables users to transform a normal serial cable into a [...]...


  • traceroute

    traceroute is a command which is used to trace the route of a packet through a TCP/IP network. traceroute is a Unix command. Under Microsoft Windows, the traceroute command has been renamed `tracert`. Unix `traceroute` and Microsoft Windows `tracert` are designed to accomplish the same task, but differ in the way they display output, in [...]...


  • Null Modem Cable

    A null modem cable will enable you to connect two computers together for serial communications. It is a particularly designed cable that permits anyone to connect two computers directly to each other via their communications ports called RS-232 ports. Serial communications with RS232 is one of the oldest and most widely spread communication methods in [...]...


  • Routing Protocols

    A routing protocol is the implementation of a routing algorithm in software or hardware. A routing protocol uses metrics to determine which path to utilize to transmit a packet across an internetwork. The metrics that routing protocols use include: Number of network layer devices along the path (hop count) Bandwidth Delay Load MTU Cost Routing [...]...