[Opensim-users] how can i assign one public ip to
Justin Clark-Casey
jjustincc at googlemail.com
Tue Jan 8 23:25:03 UTC 2013
In this case, the relevant use is the C# SDK method [1], as used in OpenSimUDPBase.StartInbound() for receiving UDP
packets. As you can see from the doc, specifying IPAddress.Any binds it to the 'most appropriate network address' (I've
never been able to find out what 'most appropriate' actually means.). And IPAddress.Any == 0.0.0.0.
So if you have more than one network adaptor, you need to choose the one which viewers should use.
[1] http://msdn.microsoft.com/en-us/library/system.net.sockets.socket.bind.aspx
On 08/01/13 17:16, Emperor Starfinder wrote:
> Okay so seeing there seems to have been some questions I've noticed
> regarding 0.0.0.0 I thought I would have a little fun during my lunch break
> and research it as some have had mixed results with it in their region
> config files. This is what I have found regarding 0.0.0.0:
>
> The IP address 0.0.0.0 can have very different meanings, depending on where
> it's used.
>
> * It's not a valid address to be given to an actual network interface,
> along with any other address in the 0.0.0.0/8 subnet (i.e. any address
> starting with 0.).
> * It can't be used as the source address on any IP packet, unless this
> happens when a computer still doesn't know its own IP address and it's
> trying to acquire one (classic example: DHCP).
> * If used in a routing table, it identifies the default gateway; a route
> to 0.0.0.0 is the default one, i.e. the one used when there is not any more
> specific route available to a destination address.
> * Lastly, when seen in the output of the netstat command (which is what
> you asked for), it means that a given socket is listening on all the
> available IP address the computer has; when a computer has more than one IP
> address, a socket can be bound only to a specific address and port pair, or
> to a port and all addresses; if you see an IP address there, it means that
> socket is listening only on that port and that specific address; if you see
> 0.0.0.0, it means it's listening on that port on all addresses of the
> machine, including the loopback one (127.0.0.1).
>
> My guess is this also holds true on linux based systems. In most cases
> today on Windows at least, most computers will operate on 127.0.0.1 which is
> the localhost numeric IP address which also happens to be the loopback ip of
> your machine. Thus if your computer is on a LAN local area network your
> better off having your computer's IP on your network as your InternalIP and
> the external IP should be the IP provided by the ISP (This is how I solved
> the region handshake problem on Linksys 54G.)
>
> Hope that helps a little.
>
> Emperor
>
> -----Original Message-----
> From: opensim-users-bounces at lists.berlios.de
> [mailto:opensim-users-bounces at lists.berlios.de] On Behalf Of
> opensim-users-request at lists.berlios.de
> Sent: Tuesday, January 08, 2013 6:00 AM
> To: opensim-users at lists.berlios.de
> Subject: Opensim-users Digest, Vol 65, Issue 12
>
> Send Opensim-users mailing list submissions to
> opensim-users at lists.berlios.de
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.berlios.de/mailman/listinfo/opensim-users
> or, via email, send a message with subject or body 'help' to
> opensim-users-request at lists.berlios.de
>
> You can reach the person managing the list at
> opensim-users-owner at lists.berlios.de
>
> When replying, please edit your Subject line so it is more specific than
> "Re: Contents of Opensim-users digest..."
>
>
> Today's Topics:
>
> 1. Re: how can i assign one public ip to multiple
> (Justin Clark-Casey)
> 2. Re: OpenSimulator 0.7.5-rc1 now available (Justin Clark-Casey)
> 3. Re: lost NPC attachments and editing appearance note cards
> (Justin Clark-Casey)
> 4. Re: OpenSimulator 0.7.5-rc1 now available (Randy Pierce)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 07 Jan 2013 22:19:10 +0000
> From: Justin Clark-Casey <jjustincc at googlemail.com>
> To: opensim-users at lists.berlios.de
> Subject: Re: [Opensim-users] how can i assign one public ip to
> multiple
> Message-ID: <50EB49DE.2020209 at googlemail.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> I believe the InternalIP is used to choose between network adaptors when the
> machine has more than one. If it's left as 0.0.0.0, then the .net SDK will
> choose the 'main' one - but I've no idea how it works this out (the .NET SDK
> docs are not clear on this matter, AFAIR).
>
> On 05/01/13 18:28, Emperor Starfinder wrote:
>> Hashim,
>>
>> I am assuming that you are running off of your own network LAN and not
>> a hosting provider. If I am correct then it might be that your
>> regions.ini file may need to be fixed.
>>
>> On windows (for myself at least) I have found that the internal IP
>> should not be 0.0.0.0 as this does cause viewers to hang at region
>> handshake (Why this should matter I have no idea but it appears to in
>> some cases.)
>>
>> In the regions.ini file I use for my grid I did as follows:
>>
>> [Example Region]
>> RegionUUID = Your_Region_UUID
>> Coordinates = 1000,1000
>> InternalIP = 192.168.1.xx
>> Port = 9000
>> Alternate Ports = false
>> External IP = Your_Domain_Name_Or_IP_Address
>>
>> Also the computer your region server is on should also have a static
>> IP address assigned in our local network. Theres a simple tool you can
>> find at portforwrd.com that will do that for you quite quickly.
>>
>> Also there has been some known issues with some FQDN names which have
>> mixed results. Some are from DynDNS.
>>
>> I hope this helps a little. As Ive indicated I am assuming your
>> running on Windows operating system but in some cases what I say might
>> actually work on Linux based operating systems as well. Ive certainly
>> found some of the linux based tutorials I've found also seem to give
>> me a guide with windows also.
>>
>> Emperor
>>
>> -----Original Message-----
>> From: opensim-users-bounces at lists.berlios.de
>> [mailto:opensim-users-bounces at lists.berlios.de] On Behalf Of
>> opensim-users-request at lists.berlios.de
>> Sent: Friday, January 04, 2013 11:19 PM
>> To: opensim-users at lists.berlios.de
>> Subject: Opensim-users Digest, Vol 65, Issue 7
>>
>> Send Opensim-users mailing list submissions to
>> opensim-users at lists.berlios.de
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> https://lists.berlios.de/mailman/listinfo/opensim-users
>> or, via email, send a message with subject or body 'help' to
>> opensim-users-request at lists.berlios.de
>>
>> You can reach the person managing the list at
>> opensim-users-owner at lists.berlios.de
>>
>> When replying, please edit your Subject line so it is more specific
>> than
>> "Re: Contents of Opensim-users digest..."
>>
>>
>> Today's Topics:
>>
>> 1. Re: Opensim in amazon (Ken Grunke)
>> 2. Groups : Invalid (or No) Read Key Specified (Laurent Bechir)
>> 3. Re: Groups : Invalid (or No) Read Key Specified (Nebadon Izumi)
>> 4. Re: Groups : Invalid (or No) Read Key Specified (InuYasha Meiji)
>> 5. Re: Groups : Invalid (or No) Read Key Specified (InuYasha Meiji)
>> 6. Re: Groups : Invalid (or No) Read Key Specified (Laurent Bechir)
>> 7. OpenSimulator 0.7.5-rc1 now available (Justin Clark-Casey)
>> 8. how can i assign one public ip to multiple simulators (Hashim)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Fri, 04 Jan 2013 12:01:11 -0600
>> From: Ken Grunke <kenearlg at gmail.com>
>> To: opensim-users at lists.berlios.de
>> Subject: Re: [Opensim-users] Opensim in amazon
>> Message-ID: <50E718E7.4020908 at gmail.com>
>> Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
>>
>> On 1/4/2013 2:02 AM, john felipe urrego mejia wrote:
>>>
>>> Hi, please tell me or share me a tutorial or video explain me process
>>> opensim un amazon with instances.
>>> Tnks a lot
>>>
>>
>> Here is something I wrote for Ubuntu on OSGrid, but parts of it can
>> apply to other distros (and grids or standalone) as well. Hope this helps!
>>
>> http://forums.osgrid.org/viewtopic.php?f=15&t=4010&p=18067
>>
>> Ken Grunke aka Key Gruin @ OSGrid
>>
>>>
>>>
>>> _______________________________________________
>>> Opensim-users mailing list
>>> Opensim-users at lists.berlios.de
>>> https://lists.berlios.de/mailman/listinfo/opensim-users
>>
>> -------------- next part -------------- An HTML attachment was
>> scrubbed...
>> URL:
>> <https://lists.berlios.de/pipermail/opensim-users/attachments/20130104
>> /64c2d
>> f6d/attachment-0001.html>
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Fri, 4 Jan 2013 19:19:06 +0100
>> From: Laurent Bechir <laurent.bechir at madonie.org>
>> To: opensim-users at lists.berlios.de
>> Subject: [Opensim-users] Groups : Invalid (or No) Read Key Specified
>> Message-ID: <538BA6E1-7287-40E9-A0E9-3801926C1741 at madonie.org>
>> Content-Type: text/plain; charset=us-ascii
>>
>>
>> Hello,
>>
>> What value should I put in OpensIm.ini and in config.php in front of
>> XmlRpcServiceReadKey and XmlRpcServiceWriteKey for the groups to work
>> ? I've tried thinks like '1a33b' or 'group_read_key', without success.
>>
>> Thank you
>>
>> ------------------------------
>>
>> Message: 3
>> Date: Fri, 4 Jan 2013 14:28:43 -0500
>> From: Nebadon Izumi <nebadon2025 at gmail.com>
>> To: opensim-users at lists.berlios.de
>> Subject: Re: [Opensim-users] Groups : Invalid (or No) Read Key
>> Specified
>> Message-ID:
>> <CAF5=rqXoN0TsABxOHCcQAUegos2cF3D9brvXnfVWxii7YO3a9g at mail.gmail.com>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> I would leave these blank as the default shows, they really do not
>> provide any kind of security.
>>
>> On Fri, Jan 4, 2013 at 1:19 PM, Laurent Bechir
>> <laurent.bechir at madonie.org>wrote:
>>
>>>
>>> Hello,
>>>
>>> What value should I put in OpensIm.ini and in config.php in front of
>>> XmlRpcServiceReadKey and XmlRpcServiceWriteKey for the groups to work ?
>>> I've tried thinks like '1a33b' or 'group_read_key', without success.
>>>
>>> Thank you
>>> _______________________________________________
>>> Opensim-users mailing list
>>> Opensim-users at lists.berlios.de
>>> https://lists.berlios.de/mailman/listinfo/opensim-users
>>>
>>
>>
>>
>> --
>> Michael Emory Cerquoni
>> -------------- next part -------------- An HTML attachment was
>> scrubbed...
>> URL:
>> <https://lists.berlios.de/pipermail/opensim-users/attachments/20130104
>> /f42d3
>> dcf/attachment-0001.html>
>>
>> ------------------------------
>>
>> Message: 4
>> Date: Fri, 04 Jan 2013 16:59:37 -0500
>> From: InuYasha Meiji <inuyasha.meiji at gmail.com>
>> To: opensim-users at lists.berlios.de
>> Subject: Re: [Opensim-users] Groups : Invalid (or No) Read Key
>> Specified
>> Message-ID: <50E750C9.4060508 at gmail.com>
>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>>
>> It shouldn't matter as long as it is the same thing in your config.php
>> file, under those lines. it is a small attempt at some kind of security.
>> InuYasha.
>>
>>
>>
>> On 1/4/2013 1:19 PM, Laurent Bechir wrote:
>>> Hello,
>>>
>>> What value should I put in OpensIm.ini and in config.php in front of
>> XmlRpcServiceReadKey and XmlRpcServiceWriteKey for the groups to work
>> ? I've tried thinks like '1a33b' or 'group_read_key', without success.
>>>
>>> Thank you
>>> _______________________________________________
>>> Opensim-users mailing list
>>> Opensim-users at lists.berlios.de
>>> https://lists.berlios.de/mailman/listinfo/opensim-users
>>>
>>
>>
>
>
> --
> Justin Clark-Casey (justincc)
> OSVW Consulting
> http://justincc.org
> http://twitter.com/justincc
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 07 Jan 2013 22:26:17 +0000
> From: Justin Clark-Casey <jjustincc at googlemail.com>
> To: opensim-users at lists.berlios.de
> Subject: Re: [Opensim-users] OpenSimulator 0.7.5-rc1 now available
> Message-ID: <50EB4B89.7050609 at googlemail.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Randy, presuming that OpenSimulator at least starts up, you can run the
> command
>
> "config show DatabaseService"
>
> from the console. This will show you what settings OpenSimulator is
> actually using.
>
> If SQLite still appears there then it is hiding in your config files
> somewhere. The top of the log will show all the
> various config files that OpenSimulator ends up including on startup.
>
> On 05/01/13 23:38, Randy Pierce wrote:
>> Thanks for the assist, but this was the very first thing I checked.
>>
>> At the present time, I am totally removing the 0.7.4 version directory and
>> replacing it with 0.7.5 to ensure there are no leftovers. As I said, 0.7.4
>> ran totally fine with no errors. Just got to heavy in the memory category
> to
>> warrant staying on 7.4 when this version became available.
>>
>>
>>
>> --
>> View this message in context:
> http://opensim-users.2152040.n2.nabble.com/OpenSimulator-0-7-5-rc1-now-avail
> able-tp7579258p7579266.html
>> Sent from the opensim-users mailing list archive at Nabble.com.
>> _______________________________________________
>> Opensim-users mailing list
>> Opensim-users at lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/opensim-users
>>
>
>
--
Justin Clark-Casey (justincc)
OSVW Consulting
http://justincc.org
http://twitter.com/justincc
More information about the Opensim-users
mailing list