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

BNGBlaster not sending IA_NA request for PPPoE #272

Open
xuoguoto opened this issue Aug 1, 2024 · 1 comment
Open

BNGBlaster not sending IA_NA request for PPPoE #272

xuoguoto opened this issue Aug 1, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request pppoe PPPoE

Comments

@xuoguoto
Copy link

xuoguoto commented Aug 1, 2024

Describe the bug

I am using bngblaster to test dual stack PPPoE with IA_NA and IA_PD via DHCP6. While the PPPoE and IA_PD part is working fine, the DHCPv6 solicit packet requests only IA_PD and not IA_NA. Not sure if this is some issue with my configuration.

To Reproduce

Version (bngblaster -v):

bngblaster --version
Version: 0.9.2
Compiler: GNU (11.4.0)
IO Modes: packet_mmap_raw (default), packet_mmap, raw

JSON configuration:

{
  "dhcpv6": {
    "enable": true,
    "rapid-commit": true
  },
  "interfaces": {
    "access": [
      {
        "authentication-protocol": "PAP",
        "interface": "enp8s0",
        "outer-vlan": 10,
        "inner-vlan": 20,
        "qinq": true,
        "monkey": false,
        "stream-group-id": 1,
        "type": "pppoe",
        "vlan-mode": "N:1"
      }
    ],
    "network": {
      "address": "172.16.200.20",
      "address-ipv6": "2001:470:ed64:2::20",
      "gateway": "172.16.200.21",
      "gateway-ipv6": "2001:470:ed64:2::21",
      "interface": "enp9s0"
    }
  },
  "ppp": {
    "authentication": {
      "password": "passwd",
      "retry": 2,
      "timeout": 4,
      "username": "usr-btr-0000{session-global}"
    },
    "ip6cp": {
      "conf-request-retry": 2,
      "conf-request-timeout": 4,
      "enable": true
    },
    "ipcp": {
      "conf-request-retry": 2,
      "conf-request-timeout": 4,
      "enable": true,
      "request-dns1": true,
      "request-dns2": true,
      "request-ip": true
    },
    "lcp": {
      "conf-request-retry": 2,
      "conf-request-timeout": 4,
      "keepalive-interval": 10,
      "keepalive-retry": 3
    },
    "mru": 1492
  },
  "pppoe": {
    "discovery-retry": 2,
    "discovery-timeout": 4,
    "reconnect": true
  },
  "session-traffic": {
    "ipv4-pps": 1,
    "ipv6-pps": 1,
    "ipv6pd-pps": 1
  },
  "sessions": {
    "count": 10,
    "max-outstanding": 200,
    "start-rate": 200,
    "stop-rate": 200
  }
}

Steps to reproduce the behavior:

  1. Start BNGBlaster with the given config

Expected behavior

BNGBlaster sends request for both IA_NA and IA_PD in DHCPv6 Solicit packet

Thanks, If any additional information is required to triangulate this, I will be happy to provide.

x.

@xuoguoto xuoguoto added the bug Something isn't working label Aug 1, 2024
@GIC-de
Copy link
Member

GIC-de commented Aug 28, 2024

Using IA_NA to assign the PPPoE IPv6 WAN address is uncommon, but I can try to add support here. Unfortunately I'm unable to test, so you need to verify before merging to dev branch.

Not mandatory but would be interesting to better understand the exact use case here (is this a BNG, which vendor, ...)?

@GIC-de GIC-de added enhancement New feature or request pppoe PPPoE and removed bug Something isn't working labels Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pppoe PPPoE
Projects
None yet
Development

No branches or pull requests

2 participants