DHCP Option 66 - Cisco Routers

Discussion in '3CX Phone System - General' started by mazhar, Jul 4, 2011.

Thread Status:
Not open for further replies.
  1. mazhar

    Joined:
    Apr 27, 2010
    Messages:
    10
    Likes Received:
    0
    Can anyone help me in configuring the DHCP option 66 to auto provision url during dhcp lease on CISCO ROUTERS.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. danoh

    Joined:
    Aug 18, 2010
    Messages:
    56
    Likes Received:
    0
    Assuming you already have the dhcp pool setup.

    For the sake of example, we'll say it's called "DHCPPOOL"

    ip dhcp pool DHCPPOOL
    option 66 ascii "http://whatever.you.want.here/"

    If you have trouble with the device not picking up the option 66, it could be because of the quotes. Try removing them like:

    ip dhcp pool DHCPPOOL
    no option 66 ascii "http://whatever.you.want.here/"
    option 66 ascii http://whatever.you.want.here/
     
  3. mazhar

    Joined:
    Apr 27, 2010
    Messages:
    10
    Likes Received:
    0
    Hi,

    Thank you for the post. I tried the option 66 as specified in your post. It doesn't work. I checked it on Cisco 1841, Cisco 837 routers. May be it takes only the IP address for the TFTP server and it doesn't work for a URL.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Thread Status:
Not open for further replies.