Re: Zeroconfig and Multicast DNS



On Fri, Aug 25, 2006 at 10:35:03AM +0900, JINMEI Tatuya / ?$B?@L@C#:H wrote:
On Thu, 24 Aug 2006 13:42:29 -0500,
Brooks Davis <brooks@xxxxxxxxxxxxxxxxxx> said:

Um...I'm not sure if this is even possible. Let's forget mDNS and
go back to basic IP.
Say a multi-homed host has two interfaces both configured with an
address in the rage 169.254/16, say 169.254.1.1 and 169.254.2.1 and
it wants to initiate a connection to 169.254.3.1, how on earth should
it be able to tell on which side 3.1 is located? There might even be
one 3.1 on both side that could be completely different hosts.

You probably would need an extension similiar to the one for IPv6 LLAs.
i.e. the %bge0 in fe80::2e0:81ff:fe31:9f00%bge0.

(I've not followed the discussion closely, so my apologize in advance
if this message reacts to an off-topic.)

Note that the '%bge0' notation works well thanks to the sin6_scope_id
field of the sockaddr_in6{} structure. Since sockaddr_in{} doesn't
have such an additional member to solve the ambiguity, the extension
to the IPv4 addresses would not be that trivial.

Thanks for the response. That makes sense. I think due to the
sin_zero member in sockaddr_in{} we could fix this without breaking
ABI compatability if we shrunk sin_zero appropriatly (or for API
compatability created a union and #defined sin_zero) and then added a
reference to the interface index. That would have the advantage of also
letting us clean up the abuse of sin_zero to store the interface name in
ip_divert.c.

-- Brooks

Attachment: pgpJkMchdwHgW.pgp
Description: PGP signature



Relevant Pages

  • Re: Design Problem Aggregation
    ... >Class E has a member of type A. ... As D is the base class of E and F we can add to the container ... >that interface in E and F. A and B have many member functions and I ... This is called the Interface Segregation Principle. ...
    (comp.object)
  • Re: abstract class does not implement interface member ...
    ... saying that a protected member can not expose an internal ... Why can't I return an internal interface from a protected member ... internal interface IInvocableInternals: IInvocable ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: implementing roles in OOP......
    ... > e.g. a person is a member of a network of family members and a member ... > bla bla bla ... the fact that I have two different contexts ... > I can ask the object for a reference to an interface to that role (and ...
    (comp.object)
  • Recomendation for Public Safety Use
    ... I am a member of a volunteer ambulance service and am looking for a good GPS receiver for my service's use. ... -Vehicle mounted with external antenna and hardwired power supply, but can be removed with minimal fuss and used portable with built-in antenna and battery supply. ... -Computer interface with standard communication protocol. ...
    (sci.geo.satellite-nav)
  • Re: If_bridge behaving as HUB
    ... I have a bridge setup with a number of vlan IF's as members. ... After a while traffic destined for one member IF are sent to all member IF's. ... A bridge works like a hub, forwarding traffic from one interface to ... Multicast and broadcast packets are always forwarded to all ...
    (freebsd-net)