Null routing

route add -net <subnet> gw 127.0.0.1 lo

Note

Just remove -net when only doing one IP