Re: attached gateways [MORE_QUESTIONS...]
Re: attached gateways [MORE_QUESTIONS...]
- Subject: Re: attached gateways [MORE_QUESTIONS...]
- From: Chase <email@hidden>
- Date: Mon, 27 Jun 2005 09:38:55 -0500
On Jun 23, 2005, at 7:13 AM, Chase wrote:
The answer is "ICMP Router Discovery"
The abstract from RFC 1256 ( http://www.ietf.org/rfc/rfc1256.txt ):
This document specifies an extension of the Internet Control
Message
Protocol (ICMP) to enable hosts attached to multicast or broadcast
networks to discover the IP addresses of their neighboring routers.
That's **exactly** what I'm looking for.
Now I just have to figure out how to use the api's. ;)
PARTIAL PROBLEM DESCRIPTION:
Okay... so I'm having trouble with this whole router discovery
thing. I'm gonna need some help.
The man page for routed states very clearly that it is responsible
for not only RIP/RIP2 requests, but also router discovery.
Makes sense.
It (routed) sends periodic "solicitations" for directly connected
routers, and in response each router on each connected network
responds with an "advertisement," which basically tells anyone who's
listening (in this case, routed running on my ibook) the address of
the router on that connected network. Other things, of course,
trigger unsolicited advertisements as well, like simply hooking a
router up to an ethernet port.
Note that: ONE solicitation yields ZERO OR MORE advertisements (one
for every router).
routed listens for those advertisements and enters them into the
routing table. A "default" is chosen and marked as such, and the
cycle repeats.
ACTUAL QUESTION:
What I need to know is... well, there are several things, but let's
start with just this one:
How can I be notified of incoming router advertisements as well? Can
I somehow specify that routed should alert me when it gets an
advert? If not, then what? We can't both listen on the same port,
so how can we both be privy to adverts?
Thanks.
- Chase
FRUSTRATED PS (yelling skyward, not at the list): I CAN'T BELIEVE
THIS IS THIS FLIPPIN' DIFFICULT!!!! I'VE NOW BEEN AT THIS FOR TWO
WEEKS!! IT CAN'T BE THIS HARD TO FIND OUT WHAT ROUTERS ARE ATTACHED
TO MY INTERFACES!!!
When I open up the Network Pref Pane and look at the TCP/IP section
of both my Airport card and my Ethernet port, I see:
"Router: 192.168.0.250" for one and
"Router: 192.168.1.250" for the other.
HOW IS IT GETTING THOSE NUMBERS????!!!!!! HELP!! I'M GOING NUTS
WITH THIS!!!!
Whew... okay... blood pressure heading back to norm... heart rate
slowing back down again... breathing into a paper bag...
Someone please help me. I have a million other features to add to
this app, but this one is just killing me. I can't even begin to
think about anything else until this one -- seemingly simple --
problem is solved.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden