sorry, didnt realize that this is common code for slpd and libslp. it wont work with env. Any other suggestions?
On Wednesday, August 25, 2010 12:26:50 pm Varun Chandramohan wrote: > interestingly i wonder what would happen if i do a bind call for some > ipv4/ipv6 address here SLPNetworkCreateDatagram() > After the socket creating we can just call bind( which is optional, only when > some env variable is set). > Iam think some env variable like "SLP_BIND_ADDR=fe80:xxxxx%eth0". If this env > is null we skip bind call. > Will this work? > > Varun > > On Wednesday, August 25, 2010 12:13:45 pm Varun Chandramohan wrote: > > yes thats possible, but their problem is that the system does not have > > admit priv to make changes to routing table or ip address. So by default > > the system generates the same > > ip address with fe80 as prefix. That will automatically add routes as shown > > below. Hence the problem. > > > > > > On Wednesday, August 25, 2010 11:41:28 am Nick Wagner wrote: > > > Is it possible to set eth1 to a different link-local address, e.g. > > > fe90::/64, and then unicast to that in slptool? > > > > > > --Nick > > > > > > On Tue, Aug 24, 2010 at 10:48 PM, Varun Chandramohan < > > > var...@linux.vnet.ibm.com> wrote: > > > > > > > Hi All, > > > > > > > > A customer using openslp faced a funny problem. They use > > > > slptool > > > > to get their results. The system where slptool runs have multiple > > > > interfaces. They use eth1 as the interface that connects to slpd. In > > > > linux > > > > the route table > > > > shows something like this > > > > > > > > fe80::/64 eth0 > > > > fe80::/64 eth1 > > > > > > > > When they use slptool with -u (unicast) option for linklocal address of > > > > slpd (server) they dont get any reply. The reason is quite simple. > > > > slptool > > > > tries to send request via eth0 as that is first route hit in the routing > > > > table. > > > > But the slpd is reachable only via eth1. So every time it fails. When > > > > they > > > > sawp the route it works. They do not want any admin work everytime they > > > > want > > > > to use different interface to do the same. They want to know > > > > if its possible to let libslp to take in -I option or some such so that > > > > we > > > > can specify the interface the slptool or libslp should use to send the > > > > request. Is this feasible? I think by binding we can achieve this. Does > > > > anyone have any idea if this a good addition to libslp? If so any > > > > pointer on > > > > how to go about it? > > > > > > > > Regards, > > > > Varun > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > Sell apps to millions through the Intel(R) Atom(Tm) Developer Program > > > > Be part of this innovative community and reach millions of netbook users > > > > worldwide. Take advantage of special opportunities to increase revenue > > > > and > > > > speed time-to-market. Join now, and jumpstart your future. > > > > http://p.sf.net/sfu/intel-atom-d2d > > > > _______________________________________________ > > > > Openslp-devel mailing list > > > > Openslp-devel@lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/openslp-devel > > > > > > > > > > > ------------------------------------------------------------------------------ > > Sell apps to millions through the Intel(R) Atom(Tm) Developer Program > > Be part of this innovative community and reach millions of netbook users > > worldwide. Take advantage of special opportunities to increase revenue and > > speed time-to-market. Join now, and jumpstart your future. > > http://p.sf.net/sfu/intel-atom-d2d > > _______________________________________________ > > Openslp-devel mailing list > > Openslp-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/openslp-devel > > > > ------------------------------------------------------------------------------ > Sell apps to millions through the Intel(R) Atom(Tm) Developer Program > Be part of this innovative community and reach millions of netbook users > worldwide. Take advantage of special opportunities to increase revenue and > speed time-to-market. Join now, and jumpstart your future. > http://p.sf.net/sfu/intel-atom-d2d > _______________________________________________ > Openslp-devel mailing list > Openslp-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/openslp-devel > ------------------------------------------------------------------------------ Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d _______________________________________________ Openslp-devel mailing list Openslp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openslp-devel