Re: ICMP Router Discovery
Re: ICMP Router Discovery
- Subject: Re: ICMP Router Discovery
- From: Chase <email@hidden>
- Date: Tue, 28 Jun 2005 12:40:20 -0500
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
I've tried this in the past and I tried again just now. It only
shows the default router address. There is absolutely no mention of
the other router ip address in the netstat output.
By the way: I just accidentally deleted all my routes and lost
internet connectivity by running "route flush". The only thing I
could think of to do was:
route add default 192.168.0.250
...which seems to have worked. Would a reboot have fixed that
problem, since the routing table is adjusted dynamically? If not,
what's the recommended way to get the defaults back to normal again?
Is "route add default <router_ip>" an incomplete fix in any way?
Thanks.
- 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