docsis_server dhcp options | docsis.org

You are here

docsis_server dhcp options

2 posts / 0 new
Last post
mum
docsis_server dhcp options

Hi,

I would like to set the dhcp options in sequence. I want to obtain the same dhcp offer messege options sequence in docsis_server like in isc-dhcp-server:

dhcp offer from isc-dhcp-server

OPTION: 53 ( 1) DHCP message type
OPTION: 54 ( 4) Server identifier
OPTION: 51 ( 4) IP address leasetime
OPTION: 1 ( 4) Subnet mask
OPTION: 3 ( 4) Routers
OPTION: 4 ( 4) Time server
OPTION: 6 ( 4) DNS server
OPTION: 7 ( 4) Log server
OPTION: 82 ( 25) Relay Agent Information

dhcp offer from docsis_server

OPTION: 53 ( 1) DHCP message type
OPTION: 1 ( 4) Subnet mask
OPTION: 3 ( 4) Routers
OPTION: 28 ( 4) Broadcast address
OPTION: 51 ( 4) IP address leasetime
OPTION: 2 ( 4) Time offset
OPTION: 4 ( 4) Time server
OPTION: 6 ( 8) DNS server
OPTION: 7 ( 4) Log server
OPTION: 54 ( 4) Server identifier
OPTION: 66 ( 4) TFTP server name
OPTION: 122 ( 12)
OPTION: 67 ( 10) Bootfile name

I tried to do that by changing sequence in config_opts table, but it's not working:

+--------+----------+---------+-----------+-------------------------------------------------------------------------------+---------+---------------------+
| opt_id | opt_type | opt_len | opt_dtype | opt_value | sub_opt | comment |
+--------+----------+---------+-----------+-------------------------------------------------------------------------------+---------+---------------------+
| 10 | 54 | 4 | IP | 10.0.0.41 | 0 | Lease Server IP |
| 10 | 4 | 4 | IP | 10.0.0.41 | 0 | Time Server |
| 10 | 6 | 8 | 2IP |xxxxxxxxxxxxxxxxxxxxx | 0 | DNS servers |
| 10 | 7 | 4 | IP | 10.0.0.41 | 0 | LOG server |
| 10 | 66 | 4 | IP | 10.0.0.41 | 0 | TFTP server |
| 10 | 122 | 12 | BITY | xxxxxxxxxxxxxxxxxxxxx | 0 | Opcja 122 sub 1,2 |

Someone know how to do that ? Thanks in advance

Lopez
option 122 docsis_server

Option 122 does not work properly, you must change the source or write for a new feature support

Log in or register to post comments