Skip to content

dhcp-relay: Format of the option82 field #5

@tohojo

Description

@tohojo

Quote:

Anyway, I think it is time to consult the RFC (
https://tools.ietf.org/rfc/rfc3046.txt), more specifically section 3.1 and
3.2, which defines the content of the sub options in Option 82.

In my view, Agent Circuit ID should contain the following, as it defines
the circuit:

  • Interface name
  • Outer VLAN
  • Inner VLAN

Preferably in ASCII format to ensure compatibility with as many DHCP
servers as possible.

For inspiration, our ZTE BNGs use the following format:

eth 0/0/5:30.3611 0/0/0/0/0/0

where 0/0/5 is the interface name, 30 is the outer VLAN and 3611 is the
inner VLAN. I don't know why they append " 0/0/0/0/0/0".

Agent Remote ID should not contain VLAN tags as this sub option is used to
identify the remote host. It could contain the MAC address of the client,
but that would be a bit redundant. In our current setup, we don't use Agent
Remote ID at all.

I also think GIADDR should be set - preferably as a configurable option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions