Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple IP binding for single DSS



Hi,
This is a known issue/problem with the bind_ip_addr setting- you can
only specify one IP address.

Here are a couple of workarounds:
* run bogus DSS processes which bind to the addresses that you DO NOT
want to stream media from. (One DSS proccess per IP address.)
* run the real DSS process that you wish to serve media from, using the
default XML config.  It will bind to all addresses that you did not
attach the "bogus" DSS processes to.
* kill off the "bogus" DSS processes.  You are left with only one DSS
process running on the desired IP addresses.

Or:

* Write a wrapper script (Perl?) that binds to all interfaces/ports that
you DO NOT want DSS to use.  The script then launches DSS, sleeps for a
few seconds, then terminates.  The result is that DSS can only bind to
the addresses/ports that your wrapper script did not bind to.


Another option is to download the DSS source code and change the
bind_ip_addr preference into a list than can contain multiple items..
but I'm not sure how much work that would take.

-Joel Hedden

On Thu, 2003-02-27 at 13:46, Kuniyoshi Murata wrote:
> Hi,
> 
> I'm running DSS on RedHat7.3 box which five IPs including three global, one
> local network one local loopback.
> 
> What I want to do is to run DSS on two selective IPs among five. I don't
> want to run two different server apps and I can't use non binding setting of
> 0.0.0.0 since I want to let apache web server and port 80 streaming coexist
> on the same box.
> 
>  I failed to configure "bind_ip_addr" line on streamingserver.xml with two
> IPs. 
> 
> Is that possible to allocate two IPs to DSS among multiple IPs on the same
> box?
> 
> Date: 17 Feb 2003 13:45:23 -0800 [zone:Los Angeles], In msg: <Re: multiple
> instances of DSS on same hardware (2 different IPs)>, Mr./Ms. Joel Hedden
> mentioned:
> 
> > Peter,
> > Yes, you can run multiple DSS servers on the same box.  Make a copy of
> > the "streamingserver.xml" file to use with the second server, then
> > modify both XML files and replace the "bind_ip_addr" preference with an
> > alternate IP address to bind to.  Ie. in the first file use "127.0.0.1"
> > and use "10.1.1.1" in the second file.  You may also want to use
> > different movie/log directories or make other changes to the configs.
> > 
> > Use the "-c" DSS command line option to specify your alternate config
> > file for each DSS process.  You can run "DarwinStreamingServer -v" to
> > get a listing of all of the possible command line flags.
> > 
> > Remember that you can use IP aliases to assign multiple IP addresses to
> > the same NIC, in case you only have one NIC available.
> > 
> > -Joel Hedden
> 
> --
> Kuniyoshi Murata.........................iChat/AIM:macwebcaster
> English-Japanese Interpreter     mailto:email@hidden
> Macintosh Webcast Specialist        http://www.macwebcaster.com
> _______________________________________________
> streaming-server-users mailing list | email@hidden
> Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/streaming-server-users
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
streaming-server-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/streaming-server-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Multiple IP binding for single DSS (From: Kuniyoshi Murata <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.