Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #300 DHCPv6 over A10NSP #302

Merged
merged 1 commit into from
Jan 21, 2025
Merged

fix #300 DHCPv6 over A10NSP #302

merged 1 commit into from
Jan 21, 2025

Conversation

GIC-de
Copy link
Member

@GIC-de GIC-de commented Jan 14, 2025

This merge request addresses the DHCPv6 A10NSP server behavior by ensuring that the interface-id option from the relay-forward message is copied to the relay-reply message.

Bildschirmfoto 2025-01-14 um 20 53 16

Additionally, it includes fixes to properly parse and display the agent-circuit-id (interface-id) and agent-remote-id (remote-id) learned from the relay-forward message, enabling testing of intermediate LDRA agents.

$ sudo bngblaster-cli run.sock session-info session-id 1
{
    "status": "ok",
    "code": 200,
    "session-info": {
        "type": "ipoe",
        "session-id": 1,
        "session-state": "Established",
        "session-version": 4,
        "flapped": 0,
        "interface": "veth1.2",
        "outer-vlan": 1,
        "inner-vlan": 7,
        "mac": "02:00:00:00:00:01",
        "agent-circuit-id": "0.0.0.0/0.0.0.0 eth 1:7",
        "agent-remote-id": "DEU.RTBRICK.1",
...
        "a10nsp": {
            "interface": "veth1.1",
            "s-vlan": 1,
            "qinq-send": false,
            "qinq-received": false,
            "dhcp-aci": "0.0.0.0/0.0.0.0 eth 1:7",
            "dhcp-ari": "DEU.RTBRICK.1",
            "dhcpv6-aci": "0.0.0.0/0.0.0.0 eth 1:7", <<<<<<<<<<<<<<<
            "dhcpv6-ari": "DEU.RTBRICK.1", <<<<<<<<<<<<<<<
            "tx-packets": 5,
            "rx-packets": 5
        }
    }
}

@GIC-de GIC-de self-assigned this Jan 14, 2025
@GIC-de GIC-de force-pushed the 300-dhcpv6-interface-id branch 2 times, most recently from 2e3e27c to 4fbe5bf Compare January 14, 2025 19:55
@GIC-de GIC-de force-pushed the 300-dhcpv6-interface-id branch from 4fbe5bf to e334dc4 Compare January 14, 2025 20:06
@GIC-de GIC-de force-pushed the 300-dhcpv6-interface-id branch from e334dc4 to 38347aa Compare January 15, 2025 19:30
@GIC-de GIC-de merged commit 38347aa into dev Jan 21, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant