Bug#500913: net-tools: [PATCH] route.8 - (EXAMPLES): Add single route del
root
jari.aalto at cante.net
Thu Oct 2 14:34:48 UTC 2008
Package: net-tools
Version: 1.60-20
Severity: wishlist
Tags: patch
How to delete single route? The patch add an example.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages net-tools depends on:
ii libc6 2.7-13 GNU C Library: Shared libraries
net-tools recommends no packages.
net-tools suggests no packages.
-- no debconf information
-------------- next part --------------
>From 271bc91560f8f101e007fadb5a102c49b4358b4b Mon Sep 17 00:00:00 2001
From: Jari Aalto <jari.aalto at cante.net>
Date: Thu, 2 Oct 2008 17:33:26 +0300
Subject: [PATCH] man/en_US/route.8: (EXAMPLES): Add single route del
Signed-off-by: Jari Aalto <jari.aalto at cante.net>
---
man/en_US/route.8 | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/man/en_US/route.8 b/man/en_US/route.8
index 29927fe..65c1560 100644
--- a/man/en_US/route.8
+++ b/man/en_US/route.8
@@ -195,6 +195,12 @@ deletes the current default route, which is labeled "default" or 0.0.0.0
in the destination field of the current routing table.
.TP
+.B route del \-net 192.56.76.0 netmask 255.255.255.0
+deletes the route. Since the Linux routing kernel uses classless
+addressing, you pretty much always have to specify the netmask that is
+same as as seen in 'route -n' listing.
+
+.TP
.B route add default gw mango\-gw
adds a default route (which will be used if no other route matches).
All packets using this route will be gatewayed through "mango\-gw". The
--
1.5.6.5
More information about the Pkg-net-tools-maintainers
mailing list