N
N
nessero2016-05-17 10:43:53
DHCP
nessero, 2016-05-17 10:43:53

Where in dhcp request with option 82 vlan-id?

Here is the request from the client to the server to get an ip goes through des-3528, dhcp snooping and stuff included:
Message type: BOOT_REQUEST
Dhcp message type: DHCP Request{3}
htype: 1, hlen: 6, hops: 1
xid: 1097896584, secs : 0, flags: -32768
Client IP: 0.0.0.0
Your IP: 0.0.0.0
Server IP: 0.0.0.0
Relay IP: 1.1.1.1
Client MAC: {F8A9634557AA}
{61}={01F8A9634557AA}
Requested IP Address{50} =2.2.2.2
Host name{12}={max-��}
{81}={0000006D61782D8F8A}
{60}={4D53465420352E30}
Parameter request list{55}={1, 15, 3, 6, 44, 46, 47, 31, 33, 121, -7, 43}
Agent information{82}=
sub{1}={000407BA0013}
sub{2}={0006F07D681BBBC0}
Common options: {agentRemoteId={f07d681bbbc0}}

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
nessero, 2016-05-17
@nessero

According to rfc 3046, vlan is stored in Agent Circuit ID Sub-option This is the first option sub{1}={0006021C01000010} Practically, I found out that vlan is in 3 and 4 bytes, that is, 21C = 540 vlan. I think my reasoning is correct

A
Alexander Karabanov, 2016-05-17
@karabanov

The format of the Circuit ID field is described here : www.dlink.ru/ru/faq/62/print_228.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question