Find the answer to your Linux question:
Results 1 to 2 of 2
I'm using Debian 4.0r3 for my router/firewall/dhcp server. For my 3Com VoIP PBX I need to add a few options to my dhcpd.conf file. ------- option sip-proxy-encapsulation code 184 = ...
  1. #1
    Just Joined!
    Join Date
    Aug 2008
    Posts
    2

    Debian 4.0r3 DHCP and SIP

    I'm using Debian 4.0r3 for my router/firewall/dhcp server.
    For my 3Com VoIP PBX I need to add a few options to my dhcpd.conf file.
    -------
    option sip-proxy-encapsulation code 184 = encasulate sip-proxy;
    option sip-proxy.address1 1.2.3.4;
    option sip-proxy.address2 5.6.7.8;
    -------
    (with the right ip-numbers of course)
    However I get these errors in syslog:
    -------
    Aug 28 11:08:40 linein dhcpd: /etc/dhcpd.conf line 368: no option named sip-proxy-encapsulation
    Aug 28 11:08:40 linein dhcpd: option sip-proxy-encapsulation code
    Aug 28 11:08:40 linein dhcpd: /etc/dhcpd.conf line 369: no vendor named sip-proxy.
    Aug 28 11:08:40 linein dhcpd: option sip-proxy.address1
    Aug 28 11:08:40 linein dhcpd: /etc/dhcpd.conf line 370: no vendor named sip-proxy.
    Aug 28 11:08:40 linein dhcpd: option sip-proxy.address2
    Aug 28 11:08:40 linein dhcpd: Configuration file errors encountered -- exiting
    -------

    Also adding the option to the global section does not help. It just changes no vendor to no option:
    -------
    Aug 28 11:10:35 linein dhcpd: /etc/dhcpd.conf line 3: no option named sip-proxy-encapsulation
    Aug 28 11:10:35 linein dhcpd: option sip-proxy-encapsulation code
    Aug 28 11:10:35 linein dhcpd: ^
    -------

    How do I solve this? Googling did not help so far.

  2. #2
    Just Joined!
    Join Date
    Aug 2008
    Posts
    2
    Quote Originally Posted by bbloksma View Post
    I'm using Debian 4.0r3 for my router/firewall/dhcp server.
    For my 3Com VoIP PBX I need to add a few options to my dhcpd.conf file.
    -------
    option sip-proxy-encapsulation code 184 = encasulate sip-proxy;
    option sip-proxy.address1 1.2.3.4;
    option sip-proxy.address2 5.6.7.8;
    -------
    (with the right ip-numbers of course)
    However I get these errors in syslog:

    [.....]

    How do I solve this? Googling did not help so far.
    I've tried to create my own sip-proxy option but that also does not work eventhough I am following the proper format as per dhcp-options - Linux Command - Unix Command

    ----------<quote>---------------------------------
    option space sip-proxy;
    option sip-proxy.address1 code 120 = ip-address;
    option sip-proxy.address2 code 120 = ip-address;
    option sip-proxy-encapsulation code 184 = encapsulate sip-proxy;
    ----------<quote>---------------------------------
    Gives an error even on the first option space ... line
    ----------<quote>---------------------------------
    Sep 3 17:22:27 linein dhcpd: /etc/dhcpd.conf line 3: no option named space
    Sep 3 17:22:27 linein dhcpd: option space sip-proxy;
    Sep 3 17:22:27 linein dhcpd: ^
    ----------<quote>---------------------------------
    Is something broken in the DHCP implementation on Debian 4.0r03?

    Does anyone know how to create a new option in Debian DHCP version 2.0p15-19.5etch2, I've run out of options.

    Bonno

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •