site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Jun 29, 2005, at 15:56 , Andre Smith wrote: I don't think he really wants to map the nearby routing infrastructure. Regards, Justin -- Justin C. Walker, Curmudgeon-At-Large Institute for General Semantics -------- If you're not confused, You're not paying attention -------- _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... The routing tables that exist on a workstation or even a server will usually only contain the route for a default router; this could also obtained using a DCHP server. If you want to discover routes advertised by routers, you probably need to implement BGP, etc. There are numerous routing protocols described in detail by RFCs, just do a google search, and you should be well on your way. Be forewarned, it will take a lot more code than a simple ping to obtain advertised routes from internet routers. Good Luck. I think, now that the dust has cleared, that Chase just wants to "know the routers that the workstation knows" (whatever that may mean). On Mac OS X, it means - querying the SystemConfiguration database - finding router addresses when those are manually configured - querying BootP/DHCP/... when they are not (depending on what's recorded for each 'location'). This email sent to site_archiver@lists.apple.com