Re: ICMP Router Discovery
Re: ICMP Router Discovery
- Subject: Re: ICMP Router Discovery
- From: Chase <email@hidden>
- Date: Tue, 28 Jun 2005 19:10:56 -0500
i have been eyebrows-deep in the route source code for two weeks now
(and, of course, the manpage too).
the bottom line is that i need **all routers** and everything that
interacts with the routing table that i've seen so far only
acknowledges the **default** router.
you may be right, but you weren't specific enough to convince me of
anything.
and netstat does not display all the router addresses on the
network. it only displays the address of the default router.
someone else chimed in earlier saying the same thing, but it simply
doesn't do it, at least not with the arguments he had suggested and
not with any of the arguments that i've tried previously or since.
if you know how to get netstat to display the router addresses for
all connected networks, i'd love to know too. :)
note: on another list, someone pointed out that this info can be
obtained using the SystemConfiguration apis. i've figured out how to
get it that way and it works fine, but it isn't portable to other
operating systems, obviously. since the first release of this app is
for mac os only, for the time being, i'll be using that technique,
but i still want to find out **some** way of doing this in a platform-
agnostic way for possible future ports.
also note: i just found out that windows machines don't respond to
broadcast pings, which would explain why all i received back was my
address and the address of the router (all the other machines on both
lans are running windows). so that's out the door i guess.
- chase
_______________________________________________
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