site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Jun 28, 2005, at 9:00 PM, Chase wrote: the goal is simply to get a router address for a given interface. Regards.....Peter _______________________________________________ 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... i have a list of interfaces. some have ip addresses. some don't. for those that do, i need the gateway address that they are connected to. But the point is that not every interface will have a router or gateway on it. Some will, others may not. Even if there is a router prepared to handle a certain type of traffic, your local configuration might have been configured to not use it, and handle traffic through a different one. Possible reasons for this are load balancing and network redundancy. So there might be a router on each interface, and then again possibly not. There doesn't even HAVE to be a default gateway, as I can attest from having borking a configuration. In this situation you can connect only to machines local on the same net. Not very useful for what we mostly want to do, yet it's still a "valid" configuration. This email sent to site_archiver@lists.apple.com
participants (1)
-
Peter Lovell