Hello,
We have in this setup only one pppoe client
I dont see any interface flappings.
For our pppoe test, only 2 hosts are relevant:
Our vjunos-router
hostname pe_mx204
and our pppoe client a Mikrotik routeros cpe
hostname cpe_exy_mtik_02
They are both directly connected.
please see CLAB topology file:
name: KN_CPE
topology:
kinds:
juniper_vjunosrouter:
image: vrnetlab/juniper_vjunos-router:23.2R1.15
mikrotik_ros:
kind: mikrotik_ros
image: vrnetlab/mikrotik_routeros:7.18.2
nodes:
mk_pe:
kind: juniper_vjunosrouter
mgmt-ipv4: 172.110.42.10
pe_mx204:
kind: juniper_vjunosrouter
mgmt-ipv4: 172.110.42.11
cpe_exy_mtik_01:
kind: mikrotik_ros
mgmt-ipv4: 172.110.42.12
cpe_exy_mtik_02:
kind: mikrotik_ros
mgmt-ipv4: 172.110.42.13
test_client_router01:
kind: juniper_vjunosrouter
mgmt-ipv4: 172.110.42.14
links:
- endpoints: ["mk_pe:eth1", "pe_mx204:eth1"]
- endpoints: ["pe_mx204:eth2", "cpe_exy_mtik_01:eth1"]
- endpoints: ["pe_mx204:eth3", "cpe_exy_mtik_02:eth1"]
- endpoints: ["test_client_router01:eth1", "cpe_exy_mtik_01:eth2"]
- endpoints: ["test_client_router01:eth2", "cpe_exy_mtik_02:eth2"]
Here is the output of the top command with the command
set protocols pppoe no-send-pads-error not enabled
admin@pe_mx204> show configuration protocols pppoe | display set
set protocols pppoe traceoptions file pppoe.log
set protocols pppoe traceoptions level all
set protocols pppoe traceoptions flag all
admin@pe_mx204> show pppoe statistics
Active PPPoE sessions: 0
PacketType Sent Received
PADI 0 3
PADO 3 0
PADR 0 9
PADS 9 0
PADT 0 0
Service name error 0 0
AC system error 9 0
Generic error 0 0
Malformed packets 0 0
Unknown packets 0 0
last pid: 16306; load averages: 0.18, 0.23, 0.24 up 0+18:04:17 09:35:34
94 processes: 1 running, 93 sleeping
CPU 0: 0.0% user, 0.0% nice, 1.2% system, 0.0% interrupt, 98.8% idle
CPU 1: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
CPU 2: 0.0% user, 0.0% nice, 0.4% system, 0.4% interrupt, 99.2% idle
CPU 3: 0.4% user, 0.0% nice, 0.4% system, 0.0% interrupt, 99.2% idle
CPU 4: 0.0% user, 0.0% nice, 0.4% system, 0.0% interrupt, 99.6% idle
Mem: 141M Active, 2142M Inact, 377M Wired, 78M Buf, 3127M Free
Swap: 3072M Total, 3072M Free
and here with the command set:
admin@pe_mx204> show configuration protocols pppoe | display set
set protocols pppoe traceoptions file pppoe.log
set protocols pppoe traceoptions level all
set protocols pppoe traceoptions flag all
set protocols pppoe no-send-pads-error
admin@pe_mx204> show pppoe statistics
Active PPPoE sessions: 0
PacketType Sent Received
PADI 0 215
PADO 215 0
PADR 0 645
PADS 0 0
PADT 0 0
Service name error 0 0
AC system error 0 0
Generic error 0 0
Malformed packets 0 0
Unknown packets 0 0
last pid: 16813; load averages: 0.23, 0.24, 0.24 up 0+20:33:04 12:04:21
94 processes: 1 running, 93 sleeping
CPU 0: 0.4% user, 0.0% nice, 0.4% system, 0.4% interrupt, 98.8% idle
CPU 1: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
CPU 2: 0.8% user, 0.0% nice, 1.2% system, 0.4% interrupt, 97.7% idle
CPU 3: 0.4% user, 0.0% nice, 0.0% system, 0.0% interrupt, 99.6% idle
CPU 4: 0.4% user, 0.0% nice, 0.8% system, 0.0% interrupt, 98.8% idle
Mem: 135M Active, 2148M Inact, 375M Wired, 77M Buf, 3126M Free
Swap: 3072M Total, 3072M Free
HTH
Marcel
------------------------------
Marcel Reuter
------------------------------
Original Message:
Sent: 04-10-2025 14:07
From: Kaveh Moezzi
Subject: pppoe: Unable to use Dynamic Profile on Model: vmx Junos: 24.2R1-S2.5 AC system error
Thank you for all the data Marcel, very helpful to get the info.
Art and I will discuss and one of us will get back to you. The support of BNG was EOL'd as well unfortunately by the feature team, we are checking on that.
18.1 vMX is ancient, there could have been a regression in later releases on vMX as well of course.
Can you please attach the container lab topology used for this test?
For now:
The config knob is eliminated as a solution.
Was the top command run when the AC system error count was increasing? If so, CPU load is eliminated too.
There was no interface flap also? (doubt it, just checking).
Thanks,
Kaveh
------------------------------
Kaveh Moezzi
------------------------------
Original Message:
Sent: 04-10-2025 13:05
From: Marcel Reuter
Subject: pppoe: Unable to use Dynamic Profile on Model: vmx Junos: 24.2R1-S2.5 AC system error
Hi Kaveh,
I tested now all vrouter versions:
- vJunos-router: 23.2R1.15 not working AC system error 4vCPU 5GB RAM
- vJunos-router: 23.4R2-S2.1 not working AC system error 8vCPU 10GB RAM
- vJunos-router: 24.4R1.8 not working AC system error 8vCPU 10GB RAM
- vmx(2vm): 18.1R1.9 works
The 2 vJunos versions 23x we tested with 8vCPU and 10GB RAM
The version 24.4 with 4 vCPU and 5GB RAM
I dont see any difference, if the knob
set protocols pppoe no-send-pads-error
is enabled or not
We are using containerlabs as the virtual envirement
This is part of the image description
class VJUNOSROUTER_vm(vrnetlab.VM):
def __init__(self, hostname, username, password, conn_mode):
for e in os.listdir("/"):
if re.search(".qcow2$", e):
disk_image = "/" + e
super(VJUNOSROUTER_vm, self).__init__(
username,
password,
disk_image=disk_image,
# ram=5120,
ram=10240,
driveif="virtio",
cpu="IvyBridge,vme=on,ss=on,vmx=on,f16c=on,rdrand=on,hypervisor=on,arat=on,tsc-adjust=on,umip=on,arch-capabilities=on,pdpe1gb=on,skip-l1dfl-vmentry=on,pschange-mc-no=on,bmi1=of>
# smp="4,sockets=1,cores=4,threads=1",
smp="8,sockets=1,cores=8,threads=1",
mgmt_passthrough=False,
)
# device hostname
self.hostname = hostname
This is the output of the vJunos-router: 23.2R1.15 version
last pid: 12896; load averages: 0.26, 0.30, 0.26 up 0+01:09:46 16:41:03
93 processes: 1 running, 92 sleeping
CPU 0: 0.0% user, 0.0% nice, 0.4% system, 0.4% interrupt, 99.2% idle
CPU 1: 0.0% user, 0.0% nice, 0.8% system, 0.0% interrupt, 99.2% idle
CPU 2: 0.8% user, 0.0% nice, 0.8% system, 0.8% interrupt, 97.6% idle
CPU 3: 0.4% user, 0.0% nice, 0.4% system, 0.8% interrupt, 98.4% idle
CPU 4: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
Mem: 896M Active, 1378M Inact, 371M Wired, 79M Buf, 3145M Free
Swap: 3072M Total, 3072M Free
Hope that helps
Im happy to try any different setup or tests, if that could help
Thanks
Marcel
------------------------------
Marcel Reuter
Original Message:
Sent: 04-09-2025 23:01
From: Kaveh Moezzi
Subject: pppoe: Unable to use Dynamic Profile on Model: vmx Junos: 24.2R1-S2.5 AC system error
Hi Marcel,
Could you please also try these few things? It is based on the link at the end here.
Thanks,
Kaveh
[edit protocols pppoe]user@host#
set no-send-pads-error
- Monitor the CPU usage via "top" command run from inside the Junos RE.
- Tell us how many cores and how much memory is assigned to vJunos, from the XML file. Increase the number of cores as a try.
- See if the interfaces in the path are flapping UP/DOWN?
Discarding PADR Messages to Accommodate Abnormal CPE Behavior
| Juniper | remove preview |
| | Discarding PADR Messages to Accommodate Abnormal CPE Behavior | | This topic describes how to avoid a situation where certain CPEs respond inappropriately to normal router behavior. | | View this on Juniper > |
|
|
------------------------------
Kaveh Moezzi
Original Message:
Sent: 04-09-2025 22:22
From: Art Stine
Subject: pppoe: Unable to use Dynamic Profile on Model: vmx Junos: 24.2R1-S2.5 AC system error
Have you tried this with a prior rev of vJunos-router, like 23.2 or 24.2 ? Sounds like a possible regression issue but need to narrow it down.
thanks
Art
------------------------------
Art Stine
Virtualization/Kernel team
Original Message:
Sent: 04-09-2025 08:27
From: Marcel Reuter
Subject: pppoe: Unable to use Dynamic Profile on Model: vmx Junos: 24.2R1-S2.5 AC system error
One more update:
My colleague was so nice and installed a older version of vmx.
Model: vmx
Junos: 18.1R1.9
With this version our config works!
So either something in the config changed between, or the license,
or pppoe on vrouter has a problem.
hth
Marcel
------------------------------
Marcel Reuter
Original Message:
Sent: 04-09-2025 03:30
From: Marcel Reuter
Subject: pppoe: Unable to use Dynamic Profile on Model: vmx Junos: 24.2R1-S2.5 AC system error
Thanks a lot.
According to this Juniper site:
https://www.juniper.net/documentation/us/en/software/vjunos-router/vjunos-router-kvm/topics/vjunos-router-overview-understanding.html
it should support it:
Virtual broadband network gateway (BNG) capabilities, including:
------------------------------
Marcel Reuter
Original Message:
Sent: 04-09-2025 02:10
From: Art Stine
Subject: pppoe: Unable to use Dynamic Profile on Model: vmx Junos: 24.2R1-S2.5 AC system error
Ah ok, that makes more sense. Ok, lemme dig around and see what might be up with this stuff.
Art
------------------------------
Art Stine
Virtualization/Kernel team
Original Message:
Sent: 04-09-2025 01:07
From: Marcel Reuter
Subject: pppoe: Unable to use Dynamic Profile on Model: vmx Junos: 24.2R1-S2.5 AC system error
Morning.
Sorry my mistake.
We are using:
vJunos-router KVM image
https://support.juniper.net/support/downloads/?p=vjunos-router
Because the cli output still says for model: vmx
I thought it still counts as vmx version.
Marcel
------------------------------
Marcel Reuter
Original Message:
Sent: 04-09-2025 00:55
From: Art Stine
Subject: pppoe: Unable to use Dynamic Profile on Model: vmx Junos: 24.2R1-S2.5 AC system error
VMX was EOLd as of 23.2 so no further dev for the product has been done nor is it shipped/downloadable.
Art
------------------------------
Art Stine
Virtualization/Kernel team