Re: Understanding Flags, Refs, Use, Expire in Routing Table
Hi Daniel, you find mostl of you questions answered in man netstat (the relevant passage is posted below) The missing part is the expiry, which IMHO are the seconds, the ARP entry is valid (after this time a new arp request would be issued) I hope this is the information you needed. br, Robert +++ The routing table display indicates the available routes and their sta- tus. Each route consists of a destination host or network, and a gateway to use in forwarding packets. The flags field shows a collection of information about the route stored as binary choices. The individual flags are discussed in more detail in the route(8) and route(4) manual pages. The mapping between letters and flags is: 1RTF_PROTO1 Protocol specific routing flag #1 2RTF_PROTO2 Protocol specific routing flag #2 3RTF_PROTO3 Protocol specific routing flag #3 BRTF_BLACKHOLEJust discard pkts (during updates) bRTF_BROADCASTThe route represents a broadcast address CRTF_CLONING Generate new routes on use cRTF_PRCLONINGProtocol-specified generate new routes on use DRTF_DYNAMIC Created dynamically (by redirect) GRTF_GATEWAY Destination requires forwarding by intermediary HRTF_HOST Host entry (net otherwise) LRTF_LLINFO Valid protocol to link address translation MRTF_MODIFIED Modified dynamically (by redirect) RRTF_REJECT Host or net unreachable SRTF_STATIC Manually added URTF_UP Route usable WRTF_WASCLONEDRoute was generated as a result of cloning XRTF_XRESOLVE External daemon translates proto to link address Direct routes are created for each interface attached to the local host; the gateway field for such entries shows the address of the outgoing interface. The refcnt field gives the current number of active uses of the route. Connection oriented protocols normally hold on to a single route for the duration of a connection while connectionless protocols obtain a route while sending to the same destination. The use field pro- vides a count of the number of packets sent using that route. The inter- face entry indicates the network interface utilized for the route. + On 28.03.2008, at 00:39, Daniel Dias Gonçalves wrote: I would like an explanation on each field it command netstat - rn, example: Flags,Refs,Use,Expire In Flags: UGS, UC, UHLW, UH Somebody can explain me ? Thanks, Daniel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Understanding Flags, Refs, Use, Expire in Routing Table
From: Robert Jesacher [EMAIL PROTECTED] Date: Fri, 28 Mar 2008 16:39:31 +0100 Sender: [EMAIL PROTECTED] Hi Daniel, you find mostl of you questions answered in man netstat (the relevant passage is posted below) The missing part is the expiry, which IMHO are the seconds, the ARP entry is valid (after this time a new arp request would be issued) I hope this is the information you needed. It makes following a thread really hard. It's all (mostly) Microsoft's fault! Why? I wish people would stop top-posting! The Expire entry is the result of FreeBSD's unfortunate co-mingling network layer routing information with layer 2 ARP information. The only entries with Expire values are actually ARP entries. (Note the MAC address os Gateway.) Expire is in seconds remaining until the entry expires and is no longer used. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: [EMAIL PROTECTED] Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 pgpYyGAparmmn.pgp Description: PGP signature
Re: Understanding Flags, Refs, Use, Expire in Routing Table
On Fri, Mar 28, 2008 at 09:48:28AM -0700, Kevin Oberman wrote: From: Robert Jesacher [EMAIL PROTECTED] Date: Fri, 28 Mar 2008 16:39:31 +0100 Sender: [EMAIL PROTECTED] Hi Daniel, you find mostl of you questions answered in man netstat (the relevant passage is posted below) The missing part is the expiry, which IMHO are the seconds, the ARP entry is valid (after this time a new arp request would be issued) I hope this is the information you needed. Isn't everything?! It makes following a thread really hard. It's all (mostly) Microsoft's fault! Why? I wish people would stop top-posting! The Expire entry is the result of FreeBSD's unfortunate co-mingling network layer routing information with layer 2 ARP information. The only entries with Expire values are actually ARP entries. (Note the MAC address os Gateway.) Expire is in seconds remaining until the entry expires and is no longer used. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: [EMAIL PROTECTED] Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Understanding Flags, Refs, Use, Expire in Routing Table
I would like an explanation on each field it command netstat - rn, example: Flags,Refs,Use,Expire In Flags: UGS, UC, UHLW, UH Somebody can explain me ? Thanks, Daniel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]