Author Topic: Setting up DHCP options  (Read 9874 times)

Offline acejavelin

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4100
  • Country: us
  • Karma: +133/-0
  • High-tech, heavy metal redneck!
    • View Profile
    • Like what I do and wanna help out? Send me a donation!
Setting up DHCP options
« on: January 30, 2014, 05:24:16 PM »
So I am in the middle of installing a 5000 at a small office with 8 phones, and will be using the embedded DHCP server for the phones, that is all working correctly... the Cisco switch is using LDAP to push the phones to VLAN 6, and they are getting Option 125 and coming online normally. I have a port for maintenance that I want to be able to plug into and get DHCP and be able to access the system and the Internet, my laptop gets an IP address in the correct VLAN from the 5000 but I can't seem to figure out how to setup DHCP Option 6 to hand out the DNS servers so I can access the Internet. Setting it statically in the laptop works, but I would prefer to have it automatic, plus I want to know for future reference where there are no VLANs but the Mitel is handing out all DHCP.

I thought I had it right, but there is no option for multiple IP addresses, and when I set Option 6 to a single IP address my laptop never even gets that one. My setting for Option 6 is below... What I want it to hand out for DNS addresses is "24.220.0.10,24.220.0.11" but I just can't for the life of me figure out how to do it.


Offline ralph

  • Mitel Forums Admin
  • Hero Member
  • *****
  • Posts: 5767
  • Country: us
  • Karma: +469/-0
  • Published Author: http://amzn.to/2dcYSY5
    • View Profile
Re: Setting up DHCP options
« Reply #1 on: January 30, 2014, 05:36:23 PM »
Can it use a ';'?

Ralph

Offline acejavelin

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4100
  • Country: us
  • Karma: +133/-0
  • High-tech, heavy metal redneck!
    • View Profile
    • Like what I do and wanna help out? Send me a donation!
Re: Setting up DHCP options
« Reply #2 on: January 30, 2014, 06:50:00 PM »
Can it use a ';'?

Ralph
Nope, won't let you do that... It pops up the standard Mitel 5000 "IP Address" window, one IP address, it's not an open field.

Even so, even with only 1 IP address, my laptop is not seeing it... Just says "DNS Server: unknown" :(

Offline sarond

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1404
  • Country: au
  • Karma: +73/-0
    • View Profile
Re: Setting up DHCP options
« Reply #3 on: January 31, 2014, 05:04:39 AM »
Do you have the Vendor ID must match name set to yes? i.e it will only respond to Mitel devices.
It sound like it is set to no though as you do get a IP address from the 5000, or is there another DHCP server on the VLAN?

Offline acejavelin

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4100
  • Country: us
  • Karma: +133/-0
  • High-tech, heavy metal redneck!
    • View Profile
    • Like what I do and wanna help out? Send me a donation!
Re: Setting up DHCP options
« Reply #4 on: January 31, 2014, 08:13:43 AM »
Do you have the Vendor ID must match name set to yes? i.e it will only respond to Mitel devices.
It sound like it is set to no though as you do get a IP address from the 5000, or is there another DHCP server on the VLAN?
The Vendor ID is set to No, and there is no other DHCP server in the VLAN. Also, every time I make a change I go back and disable then enable the DHCP server again to restart the service... It's weird, my laptop gets an IP address and the gateway, but the DNS value says "Unknown" no matter what I do.

Guess I thought this would be an easy one and just something I forgot or missed, but maybe not... I will open a ticket online with Mitel later today and see what they say I guess.

Offline Tech Electronics

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2983
  • Country: us
  • Karma: +89/-1
    • View Profile
Re: Setting up DHCP options
« Reply #5 on: January 31, 2014, 12:28:06 PM »
Acejavelin,

Have you tried setting up option 15 which is for dns.

Thanks,

TE

Offline bhackbarth

  • Jr. Member
  • **
  • Posts: 73
  • Country: us
  • Karma: +1/-0
    • View Profile
Re: Setting up DHCP options
« Reply #6 on: January 31, 2014, 12:56:15 PM »
I think option 15 is to push out DNS domain names, while option 6 is to push out DNS IP addresses.  This is good stuff though; I haven't used the 5000 for DHCP yet. I'm already learning a ton.

Maybe DHCP is really slotted for 6.0 SP1?  :D

Offline Tech Electronics

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2983
  • Country: us
  • Karma: +89/-1
    • View Profile
Re: Setting up DHCP options
« Reply #7 on: January 31, 2014, 01:44:25 PM »
I know it works as I have set it up before, but I am off work today with no access to my laptop right now. When I get home I will look it up and send more info on what I set up and got working.

Thanks,

TE

Offline Tech Electronics

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2983
  • Country: us
  • Karma: +89/-1
    • View Profile
Re: Setting up DHCP options
« Reply #8 on: January 31, 2014, 08:17:15 PM »
Acejavelin,

Sorry it took so long to get back to you on this, but I had some issues to deal with today that took longer than expected. Anyway, I looked at my databases that I have Option 6 and 15 set up for and they do work.

I then set it up in my home lab CS-5000 and it works there as well.

I have attached some pics to show you my setup, but remember this is on a default database as my running database is not 6.0

DHCP Service Options shows all the Options I set up, notice option 6 and 15
IP Config shows what my laptop recieved once it requested an IP address
Option 6 shows how I set it up in the Options Form
Option 15 shows how I set it up in the Options Form

Hopefully that helps you out with troubleshooting a little. I realize that we set it up the same so I will tell you the software version that I am on in case that may be a factor. Version 6.0.9.61 is the version I loaded up since it was the only one I had on my USB drive at the time.

Anyway that should show you that it does work and it works well so now all you need to do is figure out what else happened. By the way I never setup Option 6 without 15, but that should not matter.

Thanks,

TE


Offline acejavelin

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4100
  • Country: us
  • Karma: +133/-0
  • High-tech, heavy metal redneck!
    • View Profile
    • Like what I do and wanna help out? Send me a donation!
Re: Setting up DHCP options
« Reply #9 on: January 31, 2014, 11:14:05 PM »
Weird... that is exactly what I did, except the Option 15 (which I have never done in any DHCP server)... Weird, might have to try a reset and go at it again.

Offline sarond

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1404
  • Country: au
  • Karma: +73/-0
    • View Profile
Re: Setting up DHCP options
« Reply #10 on: February 01, 2014, 06:40:48 AM »
You could try resetting DHCP Server to defaults and start again. Operations/DHCP Server Operations/Default DHCP Server Settings
I know there was an issue if upgrading from 5.1 to 6.0 DHCP Server didn't work properly until it was defaulted. I know this is a new install but may be worth a shot anyway.

Offline Tech Electronics

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2983
  • Country: us
  • Karma: +89/-1
    • View Profile
Re: Setting up DHCP options
« Reply #11 on: February 04, 2014, 09:22:41 AM »
Acejavelin,

Did you finally get this to work?

Thanks,

TE

Offline acejavelin

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4100
  • Country: us
  • Karma: +133/-0
  • High-tech, heavy metal redneck!
    • View Profile
    • Like what I do and wanna help out? Send me a donation!
Re: Setting up DHCP options
« Reply #12 on: February 04, 2014, 10:17:19 AM »
Acejavelin,

Did you finally get this to work?

Thanks,

TE
Haven't been back onsite... awaiting cable vendor to finish cabling, I should be going back Thursday, will test it some more and let you know.

Offline sarond

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1404
  • Country: au
  • Karma: +73/-0
    • View Profile
Re: Setting up DHCP options
« Reply #13 on: February 06, 2014, 11:35:26 PM »
I am having a similar issue.
6.0.9.67
I create an option 3 (Router) and it doesn't populate the phone.
It only appears to use Option 125 and get the details from that. i.e. TFTP, Call Server.
Do your phones get the gateway address ok?

Offline sarond

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1404
  • Country: au
  • Karma: +73/-0
    • View Profile
Re: Setting up DHCP options
« Reply #14 on: February 06, 2014, 11:50:47 PM »
OK I defaulted the DHCP Server and my phones now get the Router address.
I might try and test this further when I get back to my office on our demo system.


 

Sitemap 1 2 3 4 5 6 7 8 9 10