Re: ICMP Router Discovery
Re: ICMP Router Discovery
- Subject: Re: ICMP Router Discovery
- From: Andrew Gallatin <email@hidden>
- Date: Tue, 28 Jun 2005 13:21:31 -0400 (EDT)
Chase writes:
>
> > netstat -rn | grep G
>
> nope. this just shows me the address of the default router.
>
> i need them all.
Actually, it should show you all the gateways, not just the default route:
G RTF_GATEWAY Destination requires forwarding by intermediary
I thought that's what you said you wanted, maybe I was mistaken. From
my machine:
default 172.31.128.254 UGSc 3 103 en0
172.31.192/19 172.31.128.254 UGSc 2 4 en0
The 172.31.192/19 certainly is not a default route.
Do you need host routes too? You can still look for them with netstat.
Like I said, the netstat tool, and its source code are your friend ;)
Drew
_______________________________________________
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