From owner-freebsd-net Sun Aug 8 17:40:32 1999 Delivered-To: freebsd-net@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id BFE1014E23 for ; Sun, 8 Aug 1999 17:40:17 -0700 (PDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.1/8.9.1) id UAA17281; Sun, 8 Aug 1999 20:38:32 -0400 (EDT) (envelope-from wollman) Date: Sun, 8 Aug 1999 20:38:32 -0400 (EDT) From: Garrett Wollman Message-Id: <199908090038.UAA17281@khavrinen.lcs.mit.edu> To: Christopher Masto Cc: freebsd-net@FreeBSD.ORG Subject: I'm confused (netstat/routing) In-Reply-To: <19990808181617.A2611@netmonger.net> References: <19990808181617.A2611@netmonger.net> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org < said: > It's been a long week, but I don't think I've lost that many brain cells. > Why is this entry in the routing table not showing up with netstat? > flags: > chris@riboflavin:~$ netstat -nr If you wish routes of this flavor to show up in `netstat -r' output, you must supply the `-a' flag as well. wollman@khavrinen$ netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 18.24.4.1 UGSc 12 11589 fxp0 18.24.4/24 link#1 UC 0 0 fxp0 18.24.4.1 0:e0:2b:b:17:0 UHLW 11 53 fxp0 952 18.24.4.11 0:a0:c9:6:90:1c UHLW 0 189 fxp0 1168 18.24.4.47 0:a0:c9:6:95:48 UHLW 1 3015 fxp0 1019 18.24.4.193 0:a0:c9:3c:76:5c UHLW 8 14263893 lo0 127.0.0.1 127.0.0.1 UH 3 7763879 lo0 wollman@khavrinen$ netstat -ran Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 18.24.4.1 UGSc 12 11589 fxp0 18.23.23.23 18.24.4.1 UGHW 2 69362 fxp0 18.24.0.128 18.24.4.1 UGHW 1 6159 fxp0 18.24.4/24 link#1 UC 0 0 fxp0 18.24.4.1 0:e0:2b:b:17:0 UHLW 11 53 fxp0 950 18.24.4.11 0:a0:c9:6:90:1c UHLW 0 189 fxp0 1166 18.24.4.47 0:a0:c9:6:95:48 UHLW 1 3015 fxp0 1017 18.24.4.193 0:a0:c9:3c:76:5c UHLW 8 14263893 lo0 18.24.7.1 18.24.4.1 UGHW 1 10499 fxp0 18.24.10.4 18.24.4.1 UGHW 2 1661 fxp0 18.24.10.20 18.24.4.1 UGHW 5 76340 fxp0 18.24.10.177 18.24.4.1 UGHW 1 3733 fxp0 18.111.0.152 18.24.4.1 UGHW 1 6857 fxp0 18.111.0.200 18.24.4.1 UGHW 1 4 fxp0 127.0.0.1 127.0.0.1 UH 3 7763895 lo0 153.39.194.10 18.24.4.1 UGHW 1 11589 fxp0 204.216.27.18 18.24.4.1 UGHW 2 19211 fxp0 This is a feature. -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message