route equivalent in ip
Greetings,
I'm looking for an ip (iproute2) equivalent to these route commands:
# route add -net 10.0.0.0 netmask 255.0.0.0 reject
and
# route add -host 206.65.183.125 reject
I failed to find any documentation on that.
Cheers,
Cristian
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 4 lines · David Ford
ip route add prohibit 10.0.0.0/8
Pick your flavor of 'prohibit', unreachable, blackhole, etc. "ip route help" for more information.
That was what I've been looking for. Thanks.
Cheers,
Cristian
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/