Aastra 53i DHCP issue

scarr
Posts: 19
Member Since:
2006-10-12

Hello all. I just received some Aastra 53i phones and tried to set them up the new way (I've updated the Trixbox stuff for Aastra phones, run the setup-aastra-xml and updated the firmware on the phones successfully). If I give the phone a static IP address then everything works like a charm, it picks up all the settings from Trixbox and then asks for the Extension then voice mail password. Once entered everything is just fine. the problem is that I'd prefer not to have to give every phone a static IP, I'd just like DHCP to work but no matter what I try if I switch the phone back to DHCP and reboot it I get "No Service" and when I look at the phone status IP it shows a 169.254.x.x IP (even though I see an entry in the DHCP log showing that the phone did "renew" an IP successfully at the time of the boot (running DHCP on Windows 2003 server). So, somehow the phone decides it doesn't like what it got and changes to the non-useable 169.254.x.x . Any ideas why this is happening (I have Polycom phones that pick up DHCP no problem, this is just with the Aastra 53i).
thanks in advance

--

Steve
Trixbox Rookie



aspegic500mg
Posts: 20
Member Since:
2008-02-09
Maybe the "dhcp server" is

Maybe the "dhcp server" is not the same (win 2003) in Aastra's config file: dhcp is ok at boot time (=> dhcp of 2003 server), and not ok after phone boot (=> other dhcp who don't work whith him)
Can you read the log of dhcp server ?



scarr
Posts: 19
Member Since:
2006-10-12
Setup DHCP mode

Hmmm, all I see in the aastra.cfg file for DHCP is this:

# Setup DHCP mode
dhcp: 1

Not sure if this is causing the issue but I will look into it further and see.
thanks for the pointer.

--

Steve
Trixbox Rookie



scarr
Posts: 19
Member Since:
2006-10-12
No Dice

well, I tried playing with the setting until I realized it never gets to the config. It gets a DHCP lease from my Windows 2003 server successfully and then something makes it decide to reject it before it can grab the config file (it fails when trying to get the config). Thing is I can't even try to debug it cuz there wouldn't be a way to get the info to a syslog server. No one else is having this issue?
BTW, I tried this on a Windows 2000 DHCP server too on a different network and got the same result

--

Steve
Trixbox Rookie



KodaK
Posts: 1692
Member Since:
2006-06-14
I'm wondering if you've got

I'm wondering if you've got another instance of bonjour or mDNS on your network somewhere.

Regardless, break out wireshark and start doing some captures. That's the only way you're going to figure out what's going on.

--

I'm happy to try to help in these forums for free, but if you feel compelled, or if you desire one on one help, my Paypal address is: sakodak@gmail.com



scarr
Posts: 19
Member Since:
2006-10-12
It doesn't get that far

if I packet sniff the connection I see a mDNS request from the phone but it comes from a 169.254.x.x IP. There is only one response and it comes from the Asterisk server (with the info) so I don't think mDNS is the issue since the phone has already lost its good IP by the time it looks for a config server.

--

Steve
Trixbox Rookie



scarr
Posts: 19
Member Since:
2006-10-12
Well, I did a bunch of

Well, I did a bunch of different testing and sniffing and finally figured out that the problem was between the Aastra phone and the Cisco switch it is plugged into (3524XL). It seems that in the middle of the critical handshakes (right after it gets an IP) the port goes down and then back up again (haven't figured out the cause yet) so the phone bails into a 169.254.x.x ip and never gets in contact with the mDNS or TFTP. As soon as I put a hub in between the two (phone and Cisco switch) everything worked like a charm from the factory defaults. I'm going to dig a little more on the Cisco switch and see if I can figure out why the port is "bouncing" and if there is anything to be done.
thanks for all the help pointing me in the right direction

BTW, I do already have spanning-tree portfast on that port (that used to cause DHCP problems for regular workstations) so I'm not sure what else it could be

--

Steve
Trixbox Rookie



scarr
Posts: 19
Member Since:
2006-10-12
whoa this is fun. So, it

whoa this is fun. So, it turns out that since the Cisco switches we have run the old Cisco-proprietary inline power (we purchased them a long time ago for Access Point power etc) that is where the conflict is. The switch and the phone try to negotiate power even though the phone is already getting it from a plug into the wall. When I set the port on the Cisco switch to have "power inline never" everything worked like a charm. I guess I would've assumed the Aastra would have worked this out better to make it clear to the switch (like any normal workstation does). ANyway, just for everyone's edification, the new auto-config setup for the Aastra phones won't work if you have an old Cisco power switch (not PoE).

--

Steve
Trixbox Rookie



aastra2
Posts: 245
Member Since:
2006-10-05
Depending on the version of

Depending on the version of IOS you are running on the Cisco, you should be able to set a configuration parameter on the switch to help with this. It's possible to extend the power shutdown timer on the interface, thus avoiding the power-cycle.

The syntax of the command you need is:

power inline {auto | never} | [delay {shutdown seconds initial seconds}]

What we've found is that you set the delay option and extend the time, then the switch won't reset the power. For example, we've had success using the following on some switches:

power inline delay shutdown 20 initial 30

But you may have to use different values depending on the switch. Also, you'll need to run this command on each of the interfaces.

--

----
Gareth

Firmware 1.4.2 and 2.2.1 Released - download from http://www.aastratelecom.com/



scarr
Posts: 19
Member Since:
2006-10-12
Excellent! thanks for that

Excellent! thanks for that tip. I had just done "power inline never" but would rather use the delay so I don't lose track of ports if I need the power later (for an AP or something).
Much appreciated.

--

Steve
Trixbox Rookie



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.