FW: Bonjour IPv6
FW: Bonjour IPv6
- Subject: FW: Bonjour IPv6
- From: "Vivek-Kumar Gupta" <email@hidden>
- Date: Tue, 26 Jun 2007 21:22:24 -0700
- Thread-topic: Bonjour IPv6
Hi Andrew,
Excellent suggestion.
Done the same:
1. Created distinct records for v6 and v4. (Also Service Name for both
are different now). Its like both protocol don't know each other. Only
common thing is Host name.
2. Both are sending A and AAAA respectively. No merging now as I did
last time, like in v4 mDNS advertisement contains A and AAAA Records.
Now Results:
I am able to see v4 service Name but not v6. While in ethereal it is
show both mDNS packets are going and coming. On my Printer side log I am
able to see mDNS send and receive of both protocols. Which I think is
now is the right way. (Section 24 draft-cheshire-dnsext-multicastdns.txt
also suggest the same way)
Why I am not able to see mDNS IPv6????
I also tried ping6 fe80::217:8ff:fe83:314a%en0 , this did not work for
me, it gives error "UDP connect: No route to host.
Also tried http://[fe80::217:8ff:fe83:314a%en0] , this did not work....
Still I am searching a way to set default interface for IPv6 application
like Safari.
Have you added any route to the system, or any other setting is there.
I don't know but v6 link local address should ping by default.
Regards,
Vivek Kumar Gupta
Marvell Semiconductor | 77A, IFFCO ROAD | SECTOR 18 | GURGAON. India.
*: (Work) +91-124-4516954 | 7: (Fax) +91-124-4516970 |
email@hidden
-----Original Message-----
From: Andrew White [mailto:email@hidden]
Sent: Tuesday, June 26, 2007 4:09 AM
To: Vivek-Kumar Gupta
Cc: email@hidden
Subject: Re: Bonjour IPv6
Vivek-Kumar Gupta wrote:
> What I'm trying to do is to differentiate IPv4 and IPv6 link for demo
of
> my Printer.
> So I can do that by creating different Bonjour Service Name for each
> protocol. I don't know if this is possible or not.
Normally you don't want to do this. Support both v4 and v6 and let the
client pick whichever it prefers.
It might be useful to disambiguate them for demo and testing purposes.
Actually doing this is a little tricky. The v4/v6 aliasing is not
occurring in the SRV advertisement but in the machine's hostname.
Thus, you would need to:
(1) Create distinct synthetic A and AAAA records for your machine. You
can
do this via DNSServiceCreateConnection and DNSServiceAddRecord.
(2) Create separate service registrations for the v4 and v6 versions and
associate them with the hostnames. This requires setting the 'name' and
'host' parameters in DNSServiceRegister.
> One more problem I am facing with IPv6 on Safari, it doesn't open IPv6
> URL
> I am using Safari 3.0, how to give IPv6 URL on it for Link Local.
> (I think it is the easiest of all in IPv6)
> I have tried http://[fe80::217:8ff:fe83:314a]
> http://[fe80::217:8ff:fe83:314a%4] // this way works for Mozilla (not
> for Safari)
> http://[fe80::217:8ff:fe83:314a%en0]/ // Safari Crashed...ha ha ha
>
> While doing a ping I saw ping6 doesn't assume default interface like I
> have to give
>
> Ping6 -Ien0 fe80::217:8ff:fe83:314a // it works
>
> Ping6 fe80::217:8ff:fe83:314a%4 // it won't work
Standard IPv6 syntax on a BSD box is <addr>%<interface>. Thus,
ping6 fe80::217:8ff:fe83:314a%en0
should work. The equivalent works for me.
When using en0, I don't even need the qualifier.
--
Andrew White
Researcher, National ICT Australia
http://www.nicta.com.au/
+61 2 8306 0587
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bonjour-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
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