Endpoints repeatedly Unreachable! for a few seconds

Hello all, This may be a little long winded as i have already tried numerous things to fix this and will detail all.
Firstly, FreePBX version is 3.211.63-8 running Asterisk 11 at setup.
I have the same problem on 2 systems setup the same using same hardware.
What i am seeing is that every so often a phone will not ring for an incoming call. If i look into the CLI at this time i see
[2013-05-18 03:47:21] NOTICE[1821] chan_sip.c: Peer ‘106’ is now UNREACHABLE! Last qualify: 18
Followed (normally 10 seconds later by
[2013-05-18 03:47:31] NOTICE[1821] chan_sip.c: Peer ‘106’ is now Reachable. (20ms / 2000ms)

There are 6 SNOM 370 handset attached to the system and at some point most hours at some time they go offline and people cannot answer their phones and they don’t ring.

The phones are all plugged into a DLink DGS1210-10P switch and are running on VLAN 512. The phones then have a PC plugged into their PC port running in VLAN 1.
DHCP is running on the system and handed out on VLAN 512 successfully and phones provision on that VLAN.

Topology is:
VLAN 1 - 10.10.10.0 network (data and PC internet)
VLAN 512 - 192.168.2.0 network (phones only)
Eth0 is 10.10.10.1
Eth0.512 is 192.168.2.1
Eth1 is 192.168.1.1 (PBX traffic to internet on this connection - 1 x IAX trunk setup)
Gateway is only setup for 192.168.1.250 (modem attached directly to Eth1) tested by removing cable from Eth0 and still getting internet whereas if i remove cable from Eth1 i cannot get internet.
In /etc/resolve.conf i have:
nameserver=127.0.0.1
nameserver=192.168.1.250

QoS applied to give VLAN 512 higher priority

Firstly, it appears the add VLAN section of networking in sysadmin module only does half the job as it does not add the value vlan=yes to the setup and try as i might i cannot get a phone to autoprovision straight out of the box on that VLAN. i have to set VLAN 512 on the phone handset and tell settings server to be 192.168.2.1 then all works happily. When i use physical network cards on systems i don’t have this problem. (but that is a problem for another thread).

Troubleshooting already done:
Switch - replaced with newer version (still same model) all power saving turned off and negotiation manually set to 100Mbps on each port (as handsets only have 100Mb switch in them).
QoS settings turned on and off. Voice VLAN prioritization turned on and off.
FreePBX - check nat settings to Never

I am testing same setup on same system now using physical nics instead of VLANs to try and woork out if this is a FreePBX, Asterisk, VLAN or hardware error.
So far the problem has not recurred.

Below is from asterisk log full file from a couple days ago.

[2013-05-18 03:47:21] NOTICE[1821] chan_sip.c: Peer '106' is now UNREACHABLE! Last qualify: 18 [2013-05-18 03:47:21] VERBOSE[1698] chan_sip.c: == Extension Changed 106[ext-local] new state Unavailable for Notify User 106 [2013-05-18 03:47:21] VERBOSE[1698] chan_sip.c: == Extension Changed 106[ext-local] new state Unavailable for Notify User 102 [2013-05-18 03:47:21] VERBOSE[1698] chan_sip.c: == Extension Changed 106[ext-local] new state Unavailable for Notify User 105 [2013-05-18 03:47:21] VERBOSE[1698] chan_sip.c: == Extension Changed 106[ext-local] new state Unavailable for Notify User 101 [2013-05-18 03:47:21] VERBOSE[1698] chan_sip.c: == Extension Changed 106[ext-local] new state Unavailable for Notify User 103 [2013-05-18 03:47:21] VERBOSE[1698] chan_sip.c: == Extension Changed 106[ext-local] new state Unavailable for Notify User 104 [2013-05-18 03:47:21] VERBOSE[1698] chan_sip.c: == Extension Changed 106[ext-local] new state Unavailable for Notify User 103 [2013-05-18 03:47:21] VERBOSE[1698] chan_sip.c: == Extension Changed 106[ext-local] new state Unavailable for Notify User 104 [2013-05-18 03:47:31] NOTICE[1821] chan_sip.c: Peer '106' is now Reachable. (20ms / 2000ms) [2013-05-18 03:47:31] VERBOSE[1698] chan_sip.c: == Extension Changed 106[ext-local] new state Idle for Notify User 106 [2013-05-18 03:47:31] VERBOSE[1698] chan_sip.c: == Extension Changed 106[ext-local] new state Idle for Notify User 102 [2013-05-18 03:47:31] VERBOSE[1698] chan_sip.c: == Extension Changed 106[ext-local] new state Idle for Notify User 105 [2013-05-18 03:47:31] VERBOSE[1698] chan_sip.c: == Extension Changed 106[ext-local] new state Idle for Notify User 101 [2013-05-18 03:47:31] VERBOSE[1698] chan_sip.c: == Extension Changed 106[ext-local] new state Idle for Notify User 103 (queued) [2013-05-18 03:47:31] VERBOSE[1698] chan_sip.c: == Extension Changed 106[ext-local] new state Idle for Notify User 103 [2013-05-18 03:47:31] VERBOSE[1698] chan_sip.c: == Extension Changed 106[ext-local] new state Idle for Notify User 104 [2013-05-18 03:47:31] NOTICE[1821] chan_sip.c: Peer '105' is now Lagged. (3692ms / 2000ms) [2013-05-18 03:47:31] VERBOSE[1698] chan_sip.c: == Extension Changed 105[ext-local] new state Unavailable for Notify User 106 [2013-05-18 03:47:31] VERBOSE[1698] chan_sip.c: == Extension Changed 105[ext-local] new state Unavailable for Notify User 102 [2013-05-18 03:47:31] VERBOSE[1698] chan_sip.c: == Extension Changed 105[ext-local] new state Unavailable for Notify User 105 [2013-05-18 03:47:31] VERBOSE[1698] chan_sip.c: == Extension Changed 105[ext-local] new state Unavailable for Notify User 101 [2013-05-18 03:47:31] VERBOSE[1698] chan_sip.c: == Extension Changed 105[ext-local] new state Unavailable for Notify User 103 [2013-05-18 03:47:31] VERBOSE[1698] chan_sip.c: == Extension Changed 105[ext-local] new state Unavailable for Notify User 104 [2013-05-18 03:47:31] VERBOSE[1698] chan_sip.c: == Extension Changed 105[ext-local] new state Unavailable for Notify User 103 [2013-05-18 03:47:31] VERBOSE[1698] chan_sip.c: == Extension Changed 105[ext-local] new state Unavailable for Notify User 104 [2013-05-18 03:47:41] NOTICE[1821] chan_sip.c: Peer '105' is now Reachable. (18ms / 2000ms) [2013-05-18 03:47:41] VERBOSE[1698] chan_sip.c: == Extension Changed 105[ext-local] new state Idle for Notify User 106 [2013-05-18 03:47:41] VERBOSE[1698] chan_sip.c: == Extension Changed 105[ext-local] new state Idle for Notify User 102 [2013-05-18 03:47:41] VERBOSE[1698] chan_sip.c: == Extension Changed 105[ext-local] new state Idle for Notify User 105 [2013-05-18 03:47:41] VERBOSE[1698] chan_sip.c: == Extension Changed 105[ext-local] new state Idle for Notify User 101 [2013-05-18 03:47:41] VERBOSE[1698] chan_sip.c: == Extension Changed 105[ext-local] new state Idle for Notify User 103 (queued) [2013-05-18 03:47:41] VERBOSE[1698] chan_sip.c: == Extension Changed 105[ext-local] new state Idle for Notify User 103 [2013-05-18 03:47:41] VERBOSE[1698] chan_sip.c: == Extension Changed 105[ext-local] new state Idle for Notify User 104 [2013-05-18 03:49:04] NOTICE[1821] chan_sip.c: Peer '102' is now UNREACHABLE! Last qualify: 18 [2013-05-18 03:49:04] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Unavailable for Notify User 102 [2013-05-18 03:49:04] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Unavailable for Notify User 105 [2013-05-18 03:49:04] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Unavailable for Notify User 101 [2013-05-18 03:49:04] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Unavailable for Notify User 103 [2013-05-18 03:49:04] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Unavailable for Notify User 104 [2013-05-18 03:49:04] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Unavailable for Notify User 103 [2013-05-18 03:49:04] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Unavailable for Notify User 104 [2013-05-18 03:49:04] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Unavailable for Notify User 106 [2013-05-18 03:49:13] NOTICE[1821] chan_sip.c: Peer '106' is now UNREACHABLE! Last qualify: 198 [2013-05-18 03:49:13] VERBOSE[1698] chan_sip.c: == Extension Changed 106[ext-local] new state Unavailable for Notify User 106 [2013-05-18 03:49:13] VERBOSE[1698] chan_sip.c: == Extension Changed 106[ext-local] new state Unavailable for Notify User 102 [2013-05-18 03:49:13] VERBOSE[1698] chan_sip.c: == Extension Changed 106[ext-local] new state Unavailable for Notify User 105 [2013-05-18 03:49:13] VERBOSE[1698] chan_sip.c: == Extension Changed 106[ext-local] new state Unavailable for Notify User 101 [2013-05-18 03:49:13] VERBOSE[1698] chan_sip.c: == Extension Changed 106[ext-local] new state Unavailable for Notify User 103 (queued) [2013-05-18 03:49:13] VERBOSE[1698] chan_sip.c: == Extension Changed 106[ext-local] new state Unavailable for Notify User 103 [2013-05-18 03:49:13] VERBOSE[1698] chan_sip.c: == Extension Changed 106[ext-local] new state Unavailable for Notify User 104 [2013-05-18 03:49:15] NOTICE[1821] chan_sip.c: Peer '102' is now Reachable. (125ms / 2000ms) [2013-05-18 03:49:15] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Idle for Notify User 102 [2013-05-18 03:49:15] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Idle for Notify User 105 [2013-05-18 03:49:15] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Idle for Notify User 101 [2013-05-18 03:49:15] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Idle for Notify User 103 (queued) [2013-05-18 03:49:15] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Idle for Notify User 103 [2013-05-18 03:49:15] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Idle for Notify User 104 [2013-05-18 03:49:15] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Idle for Notify User 106 (queued) [2013-05-18 03:50:29] VERBOSE[1821] chan_sip.c: -- Registered SIP '106' at 192.168.2.169:5060 [2013-05-18 03:50:29] NOTICE[1821] chan_sip.c: Peer '106' is now Reachable. (54ms / 2000ms) [2013-05-18 03:50:29] VERBOSE[1698] chan_sip.c: == Extension Changed 106[ext-local] new state Idle for Notify User 106 (queued) [2013-05-18 03:50:29] VERBOSE[1698] chan_sip.c: == Extension Changed 106[ext-local] new state Idle for Notify User 105 [2013-05-18 03:50:29] VERBOSE[1698] chan_sip.c: == Extension Changed 106[ext-local] new state Idle for Notify User 101 [2013-05-18 03:50:29] VERBOSE[1698] chan_sip.c: == Extension Changed 106[ext-local] new state Idle for Notify User 103 (queued) [2013-05-18 03:50:29] VERBOSE[1698] chan_sip.c: == Extension Changed 106[ext-local] new state Idle for Notify User 103 [2013-05-18 03:50:29] VERBOSE[1698] chan_sip.c: == Extension Changed 106[ext-local] new state Idle for Notify User 104 [2013-05-18 03:50:29] VERBOSE[1698] chan_sip.c: == Extension Changed 106[ext-local] new state Idle for Notify User 102 [2013-05-18 03:50:51] NOTICE[1821] chan_sip.c: Peer '102' is now UNREACHABLE! Last qualify: 704 [2013-05-18 03:50:51] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Unavailable for Notify User 105 [2013-05-18 03:50:51] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Unavailable for Notify User 101 [2013-05-18 03:50:51] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Unavailable for Notify User 103 (queued) [2013-05-18 03:50:51] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Unavailable for Notify User 103 [2013-05-18 03:50:51] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Unavailable for Notify User 104 [2013-05-18 03:50:51] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Unavailable for Notify User 106 (queued) [2013-05-18 03:50:51] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Unavailable for Notify User 102 [2013-05-18 03:50:51] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Unavailable for Notify User 106 [2013-05-18 03:51:03] NOTICE[1821] chan_sip.c: Peer '102' is now Reachable. (1734ms / 2000ms) [2013-05-18 03:51:03] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Idle for Notify User 105 [2013-05-18 03:51:03] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Idle for Notify User 101 [2013-05-18 03:51:03] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Idle for Notify User 103 (queued) [2013-05-18 03:51:03] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Idle for Notify User 103 [2013-05-18 03:51:03] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Idle for Notify User 104 [2013-05-18 03:51:03] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Idle for Notify User 106 (queued) [2013-05-18 03:51:03] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Idle for Notify User 102 [2013-05-18 03:51:03] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Idle for Notify User 106 [2013-05-18 03:52:07] NOTICE[1821] chan_sip.c: Peer '102' is now UNREACHABLE! Last qualify: 1734 [2013-05-18 03:52:07] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Unavailable for Notify User 105 [2013-05-18 03:52:07] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Unavailable for Notify User 101 [2013-05-18 03:52:07] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Unavailable for Notify User 103 (queued) [2013-05-18 03:52:07] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Unavailable for Notify User 103 [2013-05-18 03:52:07] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Unavailable for Notify User 104 [2013-05-18 03:52:07] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Unavailable for Notify User 106 (queued) [2013-05-18 03:52:07] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Unavailable for Notify User 102 [2013-05-18 03:52:07] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Unavailable for Notify User 106 [2013-05-18 03:53:48] NOTICE[1821] chan_sip.c: Peer '101' is now Lagged. (2813ms / 2000ms) [2013-05-18 03:53:48] VERBOSE[1698] chan_sip.c: == Extension Changed 101[ext-local] new state Unavailable for Notify User 105 [2013-05-18 03:53:48] VERBOSE[1698] chan_sip.c: == Extension Changed 101[ext-local] new state Unavailable for Notify User 101 [2013-05-18 03:53:48] VERBOSE[1698] chan_sip.c: == Extension Changed 101[ext-local] new state Unavailable for Notify User 103 [2013-05-18 03:53:48] VERBOSE[1698] chan_sip.c: == Extension Changed 101[ext-local] new state Unavailable for Notify User 104 [2013-05-18 03:53:48] VERBOSE[1698] chan_sip.c: == Extension Changed 101[ext-local] new state Unavailable for Notify User 103 [2013-05-18 03:53:48] VERBOSE[1698] chan_sip.c: == Extension Changed 101[ext-local] new state Unavailable for Notify User 104 [2013-05-18 03:53:48] VERBOSE[1698] chan_sip.c: == Extension Changed 101[ext-local] new state Unavailable for Notify User 106 [2013-05-18 03:53:48] VERBOSE[1698] chan_sip.c: == Extension Changed 101[ext-local] new state Unavailable for Notify User 102 [2013-05-18 03:53:48] VERBOSE[1698] chan_sip.c: == Extension Changed 101[ext-local] new state Unavailable for Notify User 106 [2013-05-18 03:53:58] NOTICE[1821] chan_sip.c: Peer '101' is now Reachable. (18ms / 2000ms) [2013-05-18 03:53:58] VERBOSE[1698] chan_sip.c: == Extension Changed 101[ext-local] new state Idle for Notify User 105 [2013-05-18 03:53:58] VERBOSE[1698] chan_sip.c: == Extension Changed 101[ext-local] new state Idle for Notify User 101 [2013-05-18 03:53:58] VERBOSE[1698] chan_sip.c: == Extension Changed 101[ext-local] new state Idle for Notify User 103 (queued) [2013-05-18 03:53:58] VERBOSE[1698] chan_sip.c: == Extension Changed 101[ext-local] new state Idle for Notify User 103 [2013-05-18 03:53:58] VERBOSE[1698] chan_sip.c: == Extension Changed 101[ext-local] new state Idle for Notify User 104 [2013-05-18 03:53:58] VERBOSE[1698] chan_sip.c: == Extension Changed 101[ext-local] new state Idle for Notify User 106 (queued) [2013-05-18 03:53:58] VERBOSE[1698] chan_sip.c: == Extension Changed 101[ext-local] new state Idle for Notify User 102 (queued) [2013-05-18 03:53:58] VERBOSE[1698] chan_sip.c: == Extension Changed 101[ext-local] new state Idle for Notify User 106 [2013-05-18 03:54:14] NOTICE[1821] chan_sip.c: Peer '102' is now Reachable. (63ms / 2000ms) [2013-05-18 03:54:14] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Idle for Notify User 105 [2013-05-18 03:54:14] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Idle for Notify User 101 [2013-05-18 03:54:14] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Idle for Notify User 103 (queued) [2013-05-18 03:54:14] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Idle for Notify User 103 [2013-05-18 03:54:14] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Idle for Notify User 104 [2013-05-18 03:54:14] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Idle for Notify User 106 (queued) [2013-05-18 03:54:14] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Idle for Notify User 102 (queued) [2013-05-18 03:54:14] VERBOSE[1698] chan_sip.c: == Extension Changed 102[ext-local] new state Idle for Notify User 106 [2013-05-18 04:08:46] NOTICE[1821] chan_sip.c: Peer '105' is now UNREACHABLE! Last qualify: 18 [2013-05-18 04:08:46] VERBOSE[1698] chan_sip.c: == Extension Changed 105[ext-local] new state Unavailable for Notify User 105 [2013-05-18 04:08:46] VERBOSE[1698] chan_sip.c: == Extension Changed 105[ext-local] new state Unavailable for Notify User 101 [2013-05-18 04:08:46] VERBOSE[1698] chan_sip.c: == Extension Changed 105[ext-local] new state Unavailable for Notify User 103 (queued) [2013-05-18 04:08:46] VERBOSE[1698] chan_sip.c: == Extension Changed 105[ext-local] new state Unavailable for Notify User 103 [2013-05-18 04:08:46] VERBOSE[1698] chan_sip.c: == Extension Changed 105[ext-local] new state Unavailable for Notify User 104 [2013-05-18 04:08:46] VERBOSE[1698] chan_sip.c: == Extension Changed 105[ext-local] new state Unavailable for Notify User 106 [2013-05-18 04:08:46] VERBOSE[1698] chan_sip.c: == Extension Changed 105[ext-local] new state Unavailable for Notify User 102 [2013-05-18 04:08:46] VERBOSE[1698] chan_sip.c: == Extension Changed 105[ext-local] new state Unavailable for Notify User 106 [2013-05-18 04:08:46] VERBOSE[1698] chan_sip.c: == Extension Changed 105[ext-local] new state Unavailable for Notify User 102 [2013-05-18 04:08:57] NOTICE[1821] chan_sip.c: Peer '105' is now Reachable. (505ms / 2000ms)

When I see Dlink I think turd!

Glad you got it fixed.

Do I take it that:

  1. You are running a DNS server on the phone system?
  2. The network switch ports are untagged for VLAN 1 and tagged for VLAN 512?
  3. How are you provisioning? Do you have DHCP set with the option for tftp-server-name set?

If you boot a new phone it will naturally boot into the default untagged VLAN. This will be the data VLAN in your case. Therefore if you want a new phone to auto-provision you will need “tftp-server-name” set on DHCP in this subnet (10.10.10.0 in your case) to the IP address in the data VLAN of the phone system. Then you will need DHCP set on the voice VLAN (192.168.2.0 in your case) to point tftp-server-name to the voice VLAN address of the phone system. A new phone should then boot at least twice to get itself first into the data VLAN and then into the voice VLAN.

Next I have to say that I’ve found using different VLANs on the same network card quite unreliable on some servers (possibly some network cards, not sure) so I always prefer a separate physical network adapter to support different VLANs for voice and data.

Thanks for the response. Please see below.

  1. I think DNS is already running on the box as often threads say that the first line in resolv.conf should be 127.0.0.1
  2. Correct
  3. Correct or where no server just modem/router just use phone interface to put into VLAN 512 (and then update settings server on phone)
    The second section is all the same. I use a windows server with option 66 set to 10.10.10.10 (Data side of PBX in VLAN1) which then makes the phone restart. Phone gets IP of 192.168.2.x and then never does anything else as it waits for the language setup etc. I don’t see the tftp start in /var/log/mesages. If i manually set on the phone the update server to be 192.168.2.1 i then see tftp start just after phones gets ip and all works happy.
    In dhcpd.conf on PBX which hands out addresses on 192.168.2.0 I have:
    option tftp-server-name “192.168.2.1”;
    I am using intel pro 1000 NICs.
    Have been working further with it all and if i set it all up as physical and remove VLANs from the switch and adapter then all seems fine. Phones provision happily and no drop outs.
    Waiting on a friend to check his asterisk full log tomorrow using same setup with HP switch to see if the switch is the culprit. (although have changed switch but used same brand / model just later version).
    So what you suggest to use VLANs is:
    Switch setup (10 port)
    Port 1-8 untagged=vlan1 tagged=vlan512
    Port 9 vlan512 -> eth1
    Port 10 vlan1 -> eth0
    PBX setup
    eth0 10.10.10.1 for data and initial provisioning access
    eth1 192.168.2.1 for phones (DHCP running)
    eth2 192.168.1.1 from internet access for iax to modem on 192.168.1.250 (this is not plugged into the 10 port switch only into eth2 NIC.
    Hope this helps clarify.
    Mark

Couple of comments:

1 - If you switch supports LLDP-MED, use it to assign the voice VLAN. If not consider hard coding the phones to the VLAN (make sure setting is in the phone config on tftp server also so it doesn’t, join, download config then change VLAN’s

2 - Use one adapter on the voice VLAN in your server. Assign routes and security policies in whatever device is doing inter-vlan routing.

That’s it. Once you wrap you arms around the concept of VLAN’s, tagged, untagged and trunked and realize the rest is vendor babble it gets really easy.

Great to hear from you. I have tried it in that setup previously (in the DLink switch it is called Voice VLAN and uses OUI’s to auto add by mac address) but was still unable to get the tftpupdate to flow through automatically. Never tested to see if doing this way would fix the UNREACHABLE! problem. Will try that later.
On a side note, the UNREACHABLE! problem is now solved :slight_smile:
I put in a HP Procurve 2610 with all the rest setup exactly the same and have not had a drop since.
Will be calling DLink today as i thought IEE802.1Q VLAN Tagging was a “Standard” so there should be no difference between what brand switch the VLANs should all work the same.
Looks like the “D” in DLink still means “Doesn’t”.
Thanks again for you help.
Mark.

Hey Scott,
I understand where you are coming from. Thought i would give them a shot again after a couple of years away from their “higher” end stuff. Looking to maybe use Cisco SG300-x P series in future. Just need to find at decent price .
Will see what happens with the DLink guy over the next couple of days.
Mark.

We chased an odd spanning tree issue that cost me 50 man hours, sometimes I am flippant but after that I simply said “never again”.

The Cisco small business series have done me well. My problem is for what you will spend on those you can get 2 refurb’d “big boy” Cisco switches. Everything simpyl seems like a toy.

Juniper is dealing on the their new switches, they so badly want to play at layer 2. It might make sense to meet your local Juniper rep and look at being a partner. Of course Mustardman thinks I own stock in Juniper so I am going to get an earful for this.

Extereme networks gear is solid with the limited experience I had.

We sold a lot of Nortel in the day but have not worked with them since the Lucent acquisition. I can tell you Nortel’s stuff is value priced and voice centric.

HP Procurve I have not touched in years so can’t comment.

Lastly a word on Dell switches. While they seem to work they straddle the line between toys and enterprise switches. They look like full IOS switches but you start digging and while it looks like IOS it isn’t.

Yes, it is always a trade off between cost and functionality.
The client wants to spend the least amount of $ but we need to provide something that works like it should.
I am sure that one day there will be a product that “works as advertised” at a decent price point without a huge amount of complexity and specialized training required.
In the mean time… Dreams are free :slight_smile:
Trying to find something with following:
Gigabit Ports, 802.1Q VLAN Tagging, QoS and PoE. 10 port or 24 port that works.
A friend of mine swears by the HP 2610 switch but it is only 100Mbps. Now that i use Yealink phones i can actually pass through Gigabit. Before i was using Snoms but they only have 100Mb unless you go the expensive ones (in which case you may as well use Yealink)

What price point? Will the client consider used with a service contract?

For 8 port around $300 - $400 and for 24 port around $700 mark sounds about right.
Most of my customers are around 5 - 15 users so if i can integrate into the data network using VLANs and prioritize without impacting network speed then this is what i am chasing.
The prices above are about what the DLinks are.
Mark.

First, at least in Cisco land, if your going to do any trunking, you really want to avoid using the default VLAN-1, as unless you add some extra commands, you will end up with trunking flow and untagged flows in the same place, which is bad! Maybe I am just nit-picky, but I always take all working ports out of VLAN-1 right away, so for example if I want a Data and Voice LAN, I might set VLAN-20 for my data LAN, and then set VLAN-30 for my Voice LAN.

As Scott said, if you can use LLDP with your phones/network, do it, most things are designed to use LLDP and will interact much better.

As to good and cheap switches, I pretty much insist when building a network of any importance that quality gear is used, or I won’t assure you anything will work right. As mentioned above, used Cisco, and I mean good stuff, is dirt cheap on the open market. I am putting in a 300+ phone install currently, and it’s all a combination of Cisco Catalyst 65xx/45xx switches, I assure you no Dlink for me, then again I need a few kilowatts of POE to boot, so small switches are a bit limited.

If you can do it, you also want COS if there is much to the design, sure if you only have a handful of phones, it should work on anything overall, but if your getting fancy enough to be doing VLAN’s and Trunking, that screams use a real switch.

On the HP switches, I haven’t personally used them, but was looking at some of the smaller ones the other day, and they seem quite nice. Also a few people I know seem to swear they are great switches, guess I will pick one up at some point and give it a try…

-Howard

Thanks for the reply. I have a guy i know that does a lot of Cisco coming round tonight to run through a few of the older models and see if i can get a working model.
Mark.

He will probably advise you to use VLAN 512 for telephony, this is the “traditional” voip VLAN from Cisco and most hardware follows the big dog, they are aware of that when it comes to QOS/TOS. It will save all readers a bunch of issues if you “go with the flow”

JM2CWAE

Yeh, the guy coming round was the one who first got me interested in Asterisk by using Druid. Eventually i stumbled onto Trixbox and after trying a bunch of others after the death of Trixbox I found myself here and have stayed for the past couple of years.
This is the reason why my VLIDs were 1 and 512. (He started with Cisco UC)
Mark