Re: IP of a connected Mac
Re: IP of a connected Mac
- Subject: Re: IP of a connected Mac
- From: Douglas Davidson <email@hidden>
- Date: Mon, 6 Jan 2003 13:56:49 -0800
On Monday, January 6, 2003, at 01:28 PM, Joshua Graessley wrote:
In general, it's best to send all addresses to remote host and let the
host decide which address to connect to. The only tricky part is
making sure you don't forward an address beyond it's scope. It's fine
to send an IPv4LL address in an IPv4 link-local multicast, but not a
site-local multicast. A 10.x.x.x or 192.168.x.x address should not be
forwarded off of the network for which that address is valid.
What I usually say is--don't send any of your IP addresses to a remote
machine, if you can possibly help it. What the remote machine really
wants is its idea of your IP address(es), which may not have any
relation to your idea of your IP address(es).
If the remote machine is already receiving packets from your machine,
then it should be able to extract from them an IP address that it can
use to contact you. If it isn't, then how are you going to send it
anything? If it's a matter of advertising to the world what your IP
address is, then use DNS.
It gets a bit tricky if you are connected to machine B, and you want to
tell machine A what machine B's IP address is; your idea of machine B's
IP address may not be the same as A's idea of it.
Douglas Davidson
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.