• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ICMP Router Discovery
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: ICMP Router Discovery
      • From: "Justin C. Walker" <email@hidden>
    • Re: ICMP Router Discovery
      • From: Andrew Gallatin <email@hidden>
References: 
 >ICMP Router Discovery (From: Chase <email@hidden>)
 >Re: ICMP Router Discovery (From: "Justin C. Walker" <email@hidden>)
 >Re: ICMP Router Discovery (From: Chase <email@hidden>)
 >Re: ICMP Router Discovery (From: Ian Stewart <email@hidden>)
 >Re: ICMP Router Discovery (From: Chase <email@hidden>)
 >Re: ICMP Router Discovery (From: Andrew Gallatin <email@hidden>)
 >Re: ICMP Router Discovery (From: Chase <email@hidden>)
 >Re: ICMP Router Discovery (From: Andrew Gallatin <email@hidden>)

  • Prev by Date: Re: ICMP Router Discovery
  • Next by Date: Re: ICMP Router Discovery
  • Previous by thread: Re: ICMP Router Discovery
  • Next by thread: Re: ICMP Router Discovery
  • Index(es):
    • Date
    • Thread