# # Test vectors for DHCP attributes # encode-dhcp DHCP-Subnet-Mask = 255.255.0.0 data 01 04 ff ff 00 00 decode-dhcp - data DHCP-Subnet-Mask = 255.255.0.0 # # A long one... with a weird DHCP-specific vendor ID. # decode-dhcp 3501013d0701001ceaadac1e37070103060f2c2e2f3c094d5346545f495054565232011c4c41424f4c54322065746820312f312f30312f30312f31302f312f3209120000197f0d050b4c4142373336304f4c5432 data DHCP-Message-Type = DHCP-Discover, DHCP-Client-Identifier = 0x01001ceaadac1e, DHCP-Parameter-Request-List = DHCP-Subnet-Mask, DHCP-Parameter-Request-List = DHCP-Router-Address, DHCP-Parameter-Request-List = DHCP-Domain-Name-Server, DHCP-Parameter-Request-List = DHCP-Domain-Name, DHCP-Parameter-Request-List = DHCP-NETBIOS-Name-Servers, DHCP-Parameter-Request-List = DHCP-NETBIOS-Node-Type, DHCP-Parameter-Request-List = DHCP-NETBIOS, DHCP-Vendor-Class-Identifier = 0x4d5346545f49505456, DHCP-Relay-Circuit-Id = 0x4c41424f4c54322065746820312f312f30312f30312f31302f312f32, DHCP-Vendor-Specific-Information = 0x0000197f0d050b4c4142373336304f4c5432 encode-dhcp DHCP-Agent-Circuit-Id = 0xabcdef, DHCP-Relay-Remote-Id = 0x010203040506 data 52 0d 01 03 ab cd ef 02 06 01 02 03 04 05 06 decode-dhcp - data DHCP-Relay-Circuit-Id = 0xabcdef, DHCP-Relay-Remote-Id = 0x010203040506 # 35 01 01 # 3d 06 00 a0 bd 11 22 33 # 37 05 2b 29 01 03 06 # 3c 09 76 69 61 73 61 74 31 2e 30 # 52 31 # 06 1f 30 30 41 30 42 44 31 31 32 32 33 33 40 73 62 32 2e 72 65 73 2e 76 69 61 73 61 74 2e 63 6f 6d # 02 06 00 a0 bc 6c 7d 3a # 01 06 00 a0 bc 33 22 11 # 39 02 05 dc # 7d 1e # 00 00 0d e9 19 # 01 06 30 30 30 31 39 46 # 02 0a 52 4e 56 35 30 34 35 39 34 34 # 03 03 41 54 41 # ff 00 decode-dhcp 7d 1e 00 00 0d e9 19 01 06 30 30 30 31 39 46 02 0a 52 4e 56 35 30 34 35 39 34 34 03 03 41 54 41 data ADSL-Forum-Device-Manufacturer-OUI = 0x303030313946, ADSL-Forum-Device-Serial-Number = "RNV5045944", ADSL-Forum-Device-Product-Class = "ATA" encode-dhcp - data 7d 1e 00 00 0d e9 19 01 06 30 30 30 31 39 46 02 0a 52 4e 56 35 30 34 35 39 34 34 03 03 41 54 41