From owner-freebsd-stable Thu Dec 13 16:11: 1 2001 Delivered-To: freebsd-stable@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.122.47]) by hub.freebsd.org (Postfix) with ESMTP id 4743537B41C for ; Thu, 13 Dec 2001 16:10:44 -0800 (PST) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.11.3/8.10.1) with ESMTP id fBE0B4q37157; Thu, 13 Dec 2001 16:11:04 -0800 (PST) Date: Thu, 13 Dec 2001 16:11:04 -0800 (PST) From: Doug White To: Cc: Subject: Re: route add - ?? In-Reply-To: <200112122351.fBCNpFq30812@spidey.speakeasy.net> Message-ID: X-All-Your-Base: are belong to us MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 12 Dec 2001 qingli@speakeasy.net wrote: > netstat -r Could you use 'netstat -rn' instead of just -r? The names aren't too useful when they get chopped off. > ============ > Destination Gateway Flags Refs Use Netif Expire > default gateway-38 UGSc 59 0 ep0 > localhost localhost UH 1 713 lo0 > 147.11.38/24 link#6 UC 1 0 ep0 > gateway-38 0:0:c:7:ac:26 UHLW 58 0 ep0 575 > > Now I do > ======== > route add -net 192.103.54.0 64.81.55.1 It's usually customary to specify a netmask with -net, although not required. You can use CIDR net/mask syntax if you like. Is a /24 what you want? Doug White | FreeBSD: The Power to Serve dwhite@resnet.uoregon.edu | www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message