[rbak-nsp] pppoe - context - port

Piotr Reda piotr.reda at datanet.pl
Thu Dec 6 17:53:47 EST 2012


W dniu 2012-12-06 22:11, "Kuba" Dawid Chrzan pisze:
> 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?

You should probably set context as follow:

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


Regards,
Piotr Reda



More information about the redback-nsp mailing list