[asterisk-users] Asterisk registering problem

Anselm Martin Hoffmeister anselm at hoffmeister-online.de
Sat Jun 2 03:09:24 MST 2007


Am Samstag, den 02.06.2007, 11:34 +0200 schrieb we at deuromedia.at:
> Hi,
> 
> Problem is:
> I have a Dell 1950 server with 6 NIC's ( 1 for Voice / Asterisk rest of
> them for other functions).
> 
> The Voice LAN is on the 172.16.3.0 (255.255.0.0) subnet. One the other
> NICS there are different but also Class B like 172.15.1.x and so on.
> No problem at all i think.

Nothing to do with Asterisk in special, but you should be aware that the
range 172.16.0.0/16 to 172.31.0.0/16 (that means: 16 networks of
172.16.x.x ~ 16k addresses each) is reserved for "private use", so you
use them correctly. AFAIK 172.15. is a regular network that might be
assigned to someone like Google for use as webserver ip addresses.
Without good reason (or it being assigned to you) you should NOT use it.
Besides, giving 172.16.3.0 (255.255.0.0) is pointless, the "3" is in the
"host number" part of the address. Perhaps you should check the subnet
mask on your server as well as in dhcpd.conf!

> In sip.conf bindaddres is 0.0.0.0

And spelt corrreclty, I suppose ;-)

You can find out which processes listen on which IP addresses by using
the netstat command, for example
# netstat -lnp
on my Linux box will list the SMTP server listening only on one address,
but the SSH server listening on 0.0.0.0 port 22.

Sorry for the comments not being specific to Asterisk. I notice lots of
people get confused by networks that are not Class-C (aka 255.255.255.0
or /24), so I wanted to point that out.

Best regards,
Anselm



More information about the asterisk-users mailing list