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. Now asterisk is up and running, I connected a Thomson 2030 directly to the NIC with an cross cable (to avoid any other problems) and i get an IP from DHCP, but its not registering (with tcpdump i see several SIP messages going from the Phone to *). But its not registering. In sip.conf bindaddres is 0.0.0.0 I want to exclude errors in my asterisk configuration so is there any other network configuration for * i`m not aware of or trouble making things I dont see? What i found before there was a iptables fw running, i deactivated it but no success. Any help appreciated. Kind Regards, Erik
Anselm Martin Hoffmeister
2007-Jun-02 03:09 UTC
[asterisk-users] Asterisk registering problem
Am Samstag, den 02.06.2007, 11:34 +0200 schrieb we@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.0And 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