List Info

Thread: publishing within differant subnets




publishing within differant subnets
country flaguser name
India
2008-06-05 11:51:45
Hi


I wanted use avahi tool for publishing services . Bear me I am new to avahi.

I have two subnets with in same physical network . For example: I am on a machine with 10.52.10.X( DHCP IP) with default gateway as 10.52.10.254 and domain as "smsv.com" and clients is on machine static ip 10.52.11.x with the gateway 10.52.11.254 and with domain "sadom.com" and I can' publish service with domin option, does specifying domain in following way will help me alone and how ?


avahi-publish --domain="sadom.com" -R "ServiceName" _http._tcp "sadom.com" 80 "XXXXXXX"

I get below error


Failed to add service: Not supported


Please correct me if I am wrong , does avahi support publishing services within subnets and since what version ?


Rupesh


Best Jokes, Best Friends, Best Food. Get all this and more on Best of Yahoo! Groups.
Re: publishing within differant subnets
country flaguser name
Germany
2008-06-05 13:12:42
On Thu, 05.06.08 22:21, Rupesh (thakkar_rupeshyahoo.com) wrote:

> I wanted use avahi tool for
> publishing services . Bear me I am new to avahi.
> I have two subnets with in same
> physical network . For example: I am on a machine with
10.52.10.X(
> DHCP IP) with default gateway as 10.52.10.254
>  and domain as "smsv.com" and clients is on 
machine
> static ip 10.52.11.x with the gateway 10.52.11.254
> and with domain "sadom.com" and I can'
publish service with
> domin option, does specifying domain in following way
will help me
> alone and how ?
> 
> avahi-publish --domain="sadom.com" -R
"ServiceName" _http._tcp
> "sadom.com" 80 "XXXXXXX" I get
below error
> 
> Failed to add service: Not supported

.local is the mDNS domain. All other domains are classic
unicast DNS
domains. Unfortunately, Avahi doesn't (yet) support
registering
services in unicast DNS servers.

In short: if you want to publish services you have to do so
in .local.

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net         ICQ# 11060553
http://0pointer.net/lenn
art/           GnuPG 0x1A015CC4
_______________________________________________
avahi mailing list
avahilists.freedesktop.org
h
ttp://lists.freedesktop.org/mailman/listinfo/avahi

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )