Date: Thu, 13 Dec 2001 16:11:04 -0800 (PST) From: Doug White <dwhite@resnet.uoregon.edu> To: <qingli@speakeasy.net> Cc: <freebsd-stable@FreeBSD.ORG> Subject: Re: route add - ?? Message-ID: <Pine.BSF.4.33.0112131609590.26770-100000@resnet.uoregon.edu> In-Reply-To: <200112122351.fBCNpFq30812@spidey.speakeasy.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.33.0112131609590.26770-100000>