Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Oct 1999 14:35:25 -0500
From:      Dan Nelson <dnelson@emsphone.com>
To:        Sam Samalin <ssamalin@ionet.net>
Cc:        Zhihui Zhang <zzhang@cs.binghamton.edu>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Where is the routing table?
Message-ID:  <19991029143525.A54252@dan.emsphone.com>
In-Reply-To: <3819E3DD.CBF8BAC8@ionet.net>; from ssamalin@ionet.net on Fri, Oct 29, 1999 at 02:13:49PM -0400
References:  <Pine.GSO.3.96.991029125132.609A-100000@sol.cs.binghamton.edu> <3819E3DD.CBF8BAC8@ionet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Oct 29), Sam Samalin said:
> Zhihui Zhang wrote:
> > I know two facts about routing tables: (1) They are definitely
> > needed by a router; (2) They can be shown with netstat -rn command. 
> > I am not sure whether a normal host that is not configured as a
> > gateway (TCP/IP gateway == router, right?) should have a routing
> > table.  Anyway, my machine (not a router) does display a small
> > routing table with "netstat -rn".
> >
> > So is a routing table needed for a normal host that is not a
> > router?  Why?
>
> All tcp hosts route.  Hosts that aren't routers usually have a simple
> routing table with one route: the default route which routes to a
> router.

Also note that under FreeBSD, the routing table and the arp table are
the same, so a "netstat -rn" will show arp entries as well as standard
IP routing entries.

-- 
	Dan Nelson
	dnelson@emsphone.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991029143525.A54252>