[rbak-nsp] pppoe - context - port

Larry Jones ljones at mta-telco.com
Thu Dec 6 17:09:21 EST 2012


For local aaa auth you need to add:

config
context pppoe
aaa authen subscriber local
end

With curent config login to either context like this:

localusername at contextname
ex: 
test at pppoe   for pppoe context
test2 at pppoe2   for pppoe context

you can add a domain to the context

config
context pppoe
domain testdomain.com
end
login will then be:

test at testdomain.com or test at pppoe


-----Original Message-----
From: redback-nsp-bounces at puck.nether.net [mailto:redback-nsp-bounces at puck.nether.net] On Behalf Of "Kuba" Dawid Chrzan
Sent: Thursday, December 06, 2012 12:12 PM
To: redback-nsp at puck.nether.net
Subject: [rbak-nsp] pppoe - context - port

Hi,
it is my beggining with SE100.
I am trying to set up pppoe with local auth for testing.

I have context local - there is gonna be bgp config and i have context pppoe and pppoe2.

context pppoe
!
  no ip domain-lookup
  no logging console
!
  aaa authentication administrator local
  aaa authentication administrator maximum sessions 1 !
!
  subscriber name test
    password test
    ip address 91.225.189.100
    ppp mtu 1492
    dns primary 8.8.8.8
    dns secondary 8.8.4.4
!
  ip route 0.0.0.0/0 context local
!



context pppoe2
!
  no ip domain-lookup
  no logging console
  aaa authentication administrator local
  aaa authentication administrator maximum sessions 1 !
  subscriber name test2
    password test2
    ip address 91.225.189.101
    ppp mtu 1492
    dns primary 8.8.8.8
    dns secondary 8.8.4.4
!
  ip route 0.0.0.0/0 context local
!


and port config


port ethernet 2/3
  no shutdown
  encapsulation dot1q
  dot1q pvc 701 encapsulation multi
   circuit protocol pppoe
    bind authentication chap pap maximum 2000
  dot1q pvc 702 encapsulation multi
   circuit protocol pppoe
    bind authentication chap pap maximum 2000



PPPoE packets comes to vlan 701 or 702 on port and "how do they know" 
which context to take?


Can anyone point me to some howtos or provide some working config as example?

--
Best Regards
"Kuba" Dawid Chrzan
pszczyna.net.pl
_______________________________________________
redback-nsp mailing list
redback-nsp at puck.nether.net
https://puck.nether.net/mailman/listinfo/redback-nsp





More information about the redback-nsp mailing list