I am in the situation where I need to collect PPP sessions from some VLANs within others. So I made the following configuration:
interfaces {
bonding bond0 {
hash-policy layer3+4
member {
interface eth6
interface eth7
}
mode 802.3ad
mtu 9000
vif 9 {
address 10.110.2.8/28
ip {
ospf {
dead-interval 40
hello-interval 10
mtu-ignore
network broadcast
priority 1
retransmit-interval 5
transmit-delay 1
}
}
}
vif-s 995 {
protocol 802.1q
vif-c 130 {
description VEAUA
}
vif-c 2092 {
description VE_02
}
vif-c 2095 {
description VE_01
}
vif-c 2102 {
description PD_02
}
vif-c 2206 {
description MI/FCO/2
}
}
}
ethernet eth6 {
duplex full
mtu 9000
speed 10000
}
ethernet eth7 {
duplex full
mtu 9000
speed 10000
}
loopback lo {
address 10.110.255.249/32
}
}
protocols {
ospf {
area 0 {
network 10.110.2.0/28
}
parameters {
abr-type cisco
router-id 10.110.255.249
}
redistribute {
connected {
metric-type 1
}
static {
metric-type 1
}
}
}
static {
}
}
service {
pppoe-server {
access-concentrator BRAS6
authentication {
mode radius
protocols pap
protocols chap
radius {
rate-limit {
enable
}
server x.x.x.x {
key ****************
}
}
}
gateway-address 10.110.255.249
interface bond0.995.130 {
vlan-range 100-3999
}
interface bond0.995.2092 {
vlan-range 100-3999
}
interface bond0.995.2095 {
vlan-range 100-3999
}
interface bond0.995.2102 {
vlan-range 100-3999
}
interface bond0.995.2206 {
vlan-range 100-3999
}
mtu 1492
name-server 8.8.8.8
name-server 8.8.4.4
}
ssh {
port 21996
}
}
system {
config-management {
commit-revisions 100
}
host-name BRAS6
login {
user admin {
authentication {
encrypted-password ****************
plaintext-password ****************
}
}
}
name-server 8.8.8.8
name-server 8.8.4.4
ntp {
server 0.pool.ntp.org {
}
server 1.pool.ntp.org {
}
server 2.pool.ntp.org {
}
}
syslog {
global {
facility all {
level info
}
facility protocols {
level debug
}
}
}
time-zone Europe/Rome
}When I go to commit the configuration, however, I don't get any errors, but the router doesn't respond to PPPoE requests. Checking the log I find this:
Oct 17 11:37:39 BRAS6 accel-pppoe: vlan-mon=bond0.995.130,,100-3999: invalid vlan 0 Oct 17 11:37:39 BRAS6 accel-pppoe: vlan-mon=bond0.995.2092,,100-3999: invalid vlan 0 Oct 17 11:37:39 BRAS6 accel-pppoe: vlan-mon=bond0.995.2095,,100-3999: invalid vlan 0 Oct 17 11:37:39 BRAS6 accel-pppoe: vlan-mon=bond0.995.2102,,100-3999: invalid vlan 0 Oct 17 11:37:39 BRAS6 accel-pppoe: vlan-mon=bond0.995.2206,,100-3999: invalid vlan 0