Bonjour Tofoo93,
Je connais bien cette page de la BBox et son serveur DHCP. Dans mon cas, je cherche la structure de la chaîne de caractère à saisir pour l'option 82 et pour cela je n'ai pas de réponse. La RFC 3046 me donne des pistes mais
2.0 Relay Agent Information Option
This document defines a new DHCP Option called the Relay Agent
Information Option. It is a "container" option for specific agent-
supplied sub-options. The format of the Relay Agent Information
option is:
Code Len Agent Information Field
+------+------+------+------+------+------+--...-+------+
| 82 | N | i1 | i2 | i3 | i4 | | iN |
+------+------+------+------+------+------+--...-+------+
The length N gives the total number of octets in the Agent
Information Field. The Agent Information field consists of a
sequence of SubOpt/Length/Value tuples for each sub-option, encoded
in the following manner:
SubOpt Len Sub-option Value
+------+------+------+------+------+------+--...-+------+
| 1 | N | s1 | s2 | s3 | s4 | | sN |
+------+------+------+------+------+------+--...-+------+
SubOpt Len Sub-option Value
+------+------+------+------+------+------+--...-+------+
| 2 | N | i1 | i2 | i3 | i4 | | iN |
+------+------+------+------+------+------+--...-+------+
No "pad" sub-option is defined, and the Information field shall NOT
be terminated with a 255 sub-option. The length N of the DHCP Agent
Information Option shall include all bytes of the sub-option
code/length/value tuples. Since at least one sub-option must be
defined, the minimum Relay Agent Information length is two (2). The
length N of the sub-options shall be the number of octets in only
that sub-option's value field. A sub-option length may be zero. The
sub-options need not appear in sub-option code order.
The initial assignment of DHCP Relay Agent Sub-options is as follows:
DHCP Agent Sub-Option Description
Sub-option Code
--------------- ----------------------
1 Agent Circuit ID Sub-option
2 Agent Remote ID Sub-option
Qu'est-ce qui est "câblé" dans la box ?
Je suppose qu'il faut utiliser une sous-option 2 et une adresse IP ?
Faut il mettre le premier Octet de la chaîne à la valeur 82 ?
Bref j'ai besoin d'info précises pour pouvoir répondre à ces questions.
Mariotte91