Re: [RESOLVED] ICMP Router Discovery
Re: [RESOLVED] ICMP Router Discovery
- Subject: Re: [RESOLVED] ICMP Router Discovery
- From: "Justin C. Walker" <email@hidden>
- Date: Wed, 29 Jun 2005 17:16:17 -0700
On Jun 29, 2005, at 15:56 , Andre Smith wrote:
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').
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden