HOw to add suboptions for option 122 in dhcp server

Gundares vanchik at yandex.ru
Thu Mar 22 12:26:30 UTC 2007


Hello Horacio,

Thursday, March 22, 2007, 1:33:14 AM, you wrote:

HM> I am setting up a dhcp server using Fedora core 9  and I need to send sub
HM> options of option 122  . I've checked the net and manuals and cannot find
HM> any instructions to set sub options.
HM>  

HM> Any help would be appreciated.

HM>  

HM>  

HM> Thanks, horacio

First,      try      to      search     in     dhcp-users     archive:
http://marc.info/?l=dhcp-server&m=112926957916783&w=2

#### dhcpd.conf ####
## Option 122 for Cablelabs Client Configuration (RFC 3495, RFC 3594)
option space PC-MTA;
option PC-MTA.DHCP-server-1     code 1 = ip-address;
option PC-MTA.DHCP-server-2     code 2 = ip-address;
option PC-MTA.Provision-server  code 3 = { integer 8, string };
#option PC-MTA.Provision-server code 3 = { integer 8, ip-address };
option PC-MTA.AS-REQ_AS-REP     code 4 = { integer 32, integer 32, integer 32 };
option PC-MTA.AP-REQ_AP-REP     code 5 = { integer 32, integer 32, integer 32 };
option PC-MTA.Kerberos-realm    code 6 = string;
option PC-MTA.TGS-util          code 7 = integer 8;
option PC-MTA.Provision-timer   code 8 = integer 8;
option PC-MTA.Ticket-ctrl-mask  code 9 = integer 16;
option PC-MTA-122 code 122 = encapsulate PC-MTA;
##

Note  that  suboption 3 may be configured in two ways: it can be FQDN,
in  this  case  its  first byte must be set to zero, or IP-address, in
this case the first byte must be set to 0x01 (read RFCs carefully).

Then you can place

option PC-MTA.DHCP-server-1 192.168.10.1;

into your subnet, host or class declaration for cable modems, and

#ivan.bcs.vimcom.ru = 192.168.10.1
option PC-MTA.Provision-server 0 04:69:76:61:6e:03:62:63:73:06:76:69:6d:63:6f:6d:02:72:75:00;
# HYBRID.2
option PC-MTA.Kerberos-realm 06:48:59:42:52:49:44:01:32:00;

into your subnet, host or class declaration for cable MTAs

Use your favorite sniffer (Wireshark, Ethereal) to debug




More information about the dhcp-users mailing list