• 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: 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

  • Follow-Ups:
    • Re: ICMP Router Discovery
      • From: Chase <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>)

  • 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