Sorry I haven't replied in a few days, had an inconvenient office move in the middle of all this. <div><br></div><div>Justin wrote: </div><div><br></div><div><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "><i>Confusingly, the 'internal port' is used for both the internal UDP listener and is passed to the client as the external connection port.</i></span></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><i><br></i></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">It sounds like this might be part of the problem with our campus set up. I couldn't figure out where the client was even getting the 10.23.23.x internal address to send packets to, but it appears that if I leave the default InternalAddress = 0.0.0.0 in the region.ini file, then somehow that is passed to the off-campus client as the internal IP, which of course doesn't work.</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; ">Will consult with the NOC again with this latest information and many thanks to all for helping shed light on this.</span></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Sincerely,</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">- Chris/Fleep</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br>
</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Chris M. Collins (SL: Fleep Tuque)</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Project Manager, UC Second Life </span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Second Life Ambassador, Ohio Learning Network </span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">UCit Instructional & Research Computing</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">University of Cincinnati </span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">406E Zimmer Hall</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">PO Box 210088</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Cincinnati, OH 45221-0088</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">(513)556-3018</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><a href="mailto:chris.collins@uc.edu">chris.collins@uc.edu</a></span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">UC Second Life: <a href="http://homepages.uc.edu/secondlife">http://homepages.uc.edu/secondlife</a></span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">OLN Second Life: <a href="http://www.oln.org/emerging_technologies/emtech.php">http://www.oln.org/emerging_technologies/emtech.php</a></span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br>
</span></font><br><div class="gmail_quote">On Thu, Mar 31, 2011 at 7:43 PM, Justin Clark-Casey <span dir="ltr"><<a href="mailto:jjustincc@googlemail.com">jjustincc@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
>From my understanding of the code, using 0.0.0.0 will make the UDP listen to the 'most appropriate' IP address as assigned to the server's NICs (see <a href="http://msdn.microsoft.com/en-us/library/system.net.sockets.socket.bind.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/system.net.sockets.socket.bind.aspx</a>, IPAddress.Any = 0.0.0.0).<br>
<br>
On a machine with just one NIC this should be fine. But on a machine with two NICs I'm guessing you would really want to explicitly state the right address.<br>
<br>
The internal address is used to bind the UDP listener. However, the client is told to connect to the external host name (if this or the port is incorrect then the client connection will timeout on the 'connecting to region' bit).<br>
<br>
Confusingly, the 'internal port' is used for both the internal UDP listener and is passed to the client as the external connection port.<br>
<br>
Some people on Stack Overflow think that IPAddress.Any means listen on all NICs (<a href="http://stackoverflow.com/questions/1777629/how-to-listen-on-multiple-ip-addresses" target="_blank">http://stackoverflow.com/questions/1777629/how-to-listen-on-multiple-ip-addresses</a>). But my reading of the MS SDK reference above means that it only binds to one. Anybody able to comment on this?<br>
<br>
And does anybody actually use a non 0.0.0.0 internal address and in what context? I'd really like to clear up my understanding of this so that we can improve the instructions.<div class="im"><br>
<br>
<br>
On 30/03/11 17:28, Adelle Fitzgerald wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
As I understand it, that is used for binding opensim to a specific IP<br>
address, where the opensim server may have more than one IP address on a<br>
network interface or multiple network interfaces.<br>
<br>
0.0.0.0 = listen on all available IP addresses, or specify (bind) to a<br>
specific IP address.<br>
<br>
<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:opensim-users-bounces@lists.berlios.de" target="_blank">opensim-users-bounces@lists.berlios.de</a><br>
[mailto:<a href="mailto:opensim-users-bounces@lists.berlios.de" target="_blank">opensim-users-bounces@lists.berlios.de</a>] On Behalf Of Edmund<br>
Edgar<br>
Sent: 30 March 2011 17:16<br>
To: <a href="mailto:opensim-users@lists.berlios.de" target="_blank">opensim-users@lists.berlios.de</a><br>
Subject: Re: [Opensim-users] NAT& Corporate Firewall<br>
<br>
This probably won't help Fleep, but does anyone know what this<br>
broken-Englished sentence on the wiki is supposed to say?<br>
<br>
# Internal IP address - This should always be 0.0.0.0 (0.0.0.0 means<br>
"listen for connections on any interface", basically a wildcard) if<br>
you want to access this server from the internet or another server on<br>
your internal network, this should be the IP address assigned to the<br>
OpenSim Server.<br>
<br>
<a href="http://opensimulator.org/wiki/Configuration" target="_blank">http://opensimulator.org/wiki/Configuration</a><br>
<br>
</blockquote>
<br>
<br>
-- <br></div><font color="#888888">
Justin Clark-Casey (justincc)<br>
<a href="http://justincc.org/blog" target="_blank">http://justincc.org/blog</a><br>
<a href="http://twitter.com/justincc" target="_blank">http://twitter.com/justincc</a></font><div><div></div><div class="h5"><br>
_______________________________________________<br>
Opensim-users mailing list<br>
<a href="mailto:Opensim-users@lists.berlios.de" target="_blank">Opensim-users@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-users" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-users</a><br>
</div></div></blockquote></div><br></div>