Networking Forums

Networking Forums > Computer Networking > Linux Networking > Does Linux DHCP server support OPTION 122?

Reply
Thread Tools Display Modes

Does Linux DHCP server support OPTION 122?

 
 
Hans Ren
Guest
Posts: n/a

 
      03-02-2004, 07:34 AM
Hello

I'm now studying PacketCable.

The PacketCable VoIP Client Configuration DHCP option contains configuration
information for MTA devices, which is sent by the DHCP server to the MTA
device. This option consists of a series of sub-options that contain
different types of data and configuration for the MTA device. In March 2003,
RFC 3495 standardized this DHCP option as 122.

Please take a look at the following links.
http://www.networksorcery.com/enp/pr...tp/options.htm
http://www.networksorcery.com/enp/rfc/rfc3495.txt

However, I didn't know how to add this option in the dhcpd.conf after I
reading the following document.
http://leaf.sourceforge.net/devel/jn...p-options.html

Does anybody know a solution?

Thanks

Hans


 
Reply With Quote
 
 
 
 
Hans Ren
Guest
Posts: n/a

 
      03-03-2004, 12:55 AM
Are there anybody know how to support bootp OPTION 122 in the DHCP server of
Linux?

Hans

"Hans Ren" <(E-Mail Removed)> wrote in message
news:c21gua$(E-Mail Removed)...
> Hello
>
> I'm now studying PacketCable.
>
> The PacketCable VoIP Client Configuration DHCP option contains

configuration
> information for MTA devices, which is sent by the DHCP server to the MTA
> device. This option consists of a series of sub-options that contain
> different types of data and configuration for the MTA device. In March

2003,
> RFC 3495 standardized this DHCP option as 122.
>
> Please take a look at the following links.
> http://www.networksorcery.com/enp/pr...tp/options.htm
> http://www.networksorcery.com/enp/rfc/rfc3495.txt
>
> However, I didn't know how to add this option in the dhcpd.conf after I
> reading the following document.
> http://leaf.sourceforge.net/devel/jn...p-options.html
>
> Does anybody know a solution?
>
> Thanks
>
> Hans
>
>



 
Reply With Quote
 
Cameron Kerr
Guest
Posts: n/a

 
      03-04-2004, 03:25 AM
[Followups set to COLN]

In comp.os.linux.networking Hans Ren <(E-Mail Removed)> wrote:
> Are there anybody know how to support bootp OPTION 122 in the DHCP server of
> Linux?


Certainly, its quite easy once you've seen it the first time. IIRC, you
will require DHCPv3 if you're using the standard ISC software. Here is
an example. It's not the option you want, its taken from my terminal
server at work that uses Etherboot.

option etherboot-magic code 128 = string;
option nic-settings code 129 = text;
option menu-options code 160 = text;
option menu-entry-1 code 192 = text;
option menu-entry-2 code 193 = text;
option menu-entry-3 code 194 = text;
option menu-entry-4 code 195 = text;
option menu-entry-5 code 196 = text;
option wpad code 252 = string;

subnet 192.168.1.0 netmask 255.255.255.0 {
option wpad "http://medussa.localdomain/wpad.dat";

...
}

subnet 192.168.3.0 netmask 255.255.255.0 {
...

group {
filename "/tftpboot/lts/vmlinuz-2.4.9-ltsp-5";
next-server medussa.xterms;
use-host-decl-names on;
option root-path "192.168.3.1:/opt/ltsp/i386";
option log-servers 192.168.3.1;

option etherboot-magic e4:45:74:68:00:00;

option menu-options "timeout=30";
option menu-entry-1 "X-Terminal:::-:::";
option menu-entry-2 "First Hard Disk:::/dev/hda:::";
option menu-entry-3 "Install Slackware Linux 8.1:::slack81inst.nb:::";
option menu-entry-5 "System Imager:::systemimager.nb:::";
}



>
> Hans
>
> "Hans Ren" <(E-Mail Removed)> wrote in message
> news:c21gua$(E-Mail Removed)...
>> Hello
>>
>> I'm now studying PacketCable.
>>
>> The PacketCable VoIP Client Configuration DHCP option contains

> configuration
>> information for MTA devices, which is sent by the DHCP server to the MTA
>> device. This option consists of a series of sub-options that contain
>> different types of data and configuration for the MTA device. In March

> 2003,
>> RFC 3495 standardized this DHCP option as 122.
>>
>> Please take a look at the following links.
>> http://www.networksorcery.com/enp/pr...tp/options.htm
>> http://www.networksorcery.com/enp/rfc/rfc3495.txt
>>
>> However, I didn't know how to add this option in the dhcpd.conf after I
>> reading the following document.
>> http://leaf.sourceforge.net/devel/jn...p-options.html
>>
>> Does anybody know a solution?
>>
>> Thanks
>>
>> Hans
>>
>>

>
>


--
Cameron Kerr
(E-Mail Removed) : http://nzgeeks.org/cameron/
Empowered by Perl!
 
Reply With Quote
 
Hans Ren
Guest
Posts: n/a

 
      03-04-2004, 08:19 AM
Cameron

Thank you very much for your help.

It seems that OPTION 122 can be supported by adding one line in dhcpd.conf.
"option CableLabs-Client-Configuration code 122 = string;"

But how to add suboptions under OPTION 122?
For example, if I want to add suboption 1, shall I add
"option CableLabs-Client-Configuration.Primary-DHCP-Server code 1 =
ip-address;"
and it will be quoted by "option
CableLabs-Client-Configuration.Primary-DHCP-Server"?

Or it can be just quoted by "option CableLabs-Client-Configuration.1"?

I'll do a test when I got a Linux Machine.

Hans


"Cameron Kerr" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
[Followups set to COLN]


Certainly, its quite easy once you've seen it the first time. IIRC, you
will require DHCPv3 if you're using the standard ISC software. Here is
an example. It's not the option you want, its taken from my terminal
server at work that uses Etherboot.

option etherboot-magic code 128 = string;
option nic-settings code 129 = text;
option menu-options code 160 = text;
option menu-entry-1 code 192 = text;
option menu-entry-2 code 193 = text;
option menu-entry-3 code 194 = text;
option menu-entry-4 code 195 = text;
option menu-entry-5 code 196 = text;
option wpad code 252 = string;

subnet 192.168.1.0 netmask 255.255.255.0 {
option wpad "http://medussa.localdomain/wpad.dat";

...
}

subnet 192.168.3.0 netmask 255.255.255.0 {
...

group {
filename "/tftpboot/lts/vmlinuz-2.4.9-ltsp-5";
next-server medussa.xterms;
use-host-decl-names on;
option root-path "192.168.3.1:/opt/ltsp/i386";
option log-servers 192.168.3.1;

option etherboot-magic e4:45:74:68:00:00;

option menu-options "timeout=30";
option menu-entry-1 "X-Terminal:::-:::";
option menu-entry-2 "First Hard Disk:::/dev/hda:::";
option menu-entry-3 "Install Slackware Linux 8.1:::slack81inst.nb:::";
option menu-entry-5 "System Imager:::systemimager.nb:::";
}





 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
secondary dns server in dhcp scope option tree leafs Windows Networking 3 11-10-2008 10:52 AM
client Windows, Server DHCP Linux and option User Class Information(code 77) [HELP] Tyy Linux Networking 0 09-24-2007 11:29 AM
DHCP server option 123 configuration needed nEo Linux Networking 0 07-11-2007 10:09 AM
Windows 2003 Server DHCP Option 82 Igor Windows Networking 1 01-23-2006 10:44 PM
MS 2003 Dhcp server and option 82 config ifabrizio Windows Networking 0 10-22-2005 10:15 AM



1 2 3 4 5 6 7 8 9 10 11