[j-nsp] ERX310 PPPoE and multiple Virtual-ro​uters

Hendrik Kahmann hendrik.kahmann at ewetel.de
Tue Nov 2 14:15:10 EDT 2010


There should be a loopback with a valid ipv4/ipv6 address. This address is used as unnumbered source for _any_ created pppoe subinterface.

Kimd regards,

Hendrik


Am 02.11.2010 um 18:52 schrieb Tom Teeuwen <tom at tomteeuwen.eu>:

> Hello Hendrik,
> 
> Thnx, it works !!
> 
> The local-interface loopback, the IP-adres.. .does it matters ?
> 
> Kind regards,
> Tom 
> 
> 
> 
> ________________________________________
> Van: juniper-nsp-bounces at puck.nether.net [juniper-nsp-bounces at puck.nether.net] namens Hendrik Kahmann [hendrik.kahmann at ewetel.de]
> Verzonden: dinsdag 2 november 2010 8:07
> Aan: Diogo Montagner; juniper-nsp at puck.nether.net
> Onderwerp: Re: [j-nsp] ERX310 PPPoE and multiple Virtual-ro​uters
> 
> Hello,
> 
> as far as i know, this might be your solution:
> 
> aaa domain-map "ABC"
>  router-name "ABC"
>  local-interface loopback 101
>  ipv6-router-name default
>  strip-domain enable
> !
> aaa domain-map "DEF"
>  router-name "DEF"
>  local-interface loopback 102
>  ipv6-router-name default
>  strip-domain enable
> !
> profile pppoe-defaults
>  ip mtu 1492
>  ip sa-validate
>  ip tcp adjust-mss 1400
>  ppp authentication pap
> !
> interface gigabitEthernet 1/0.10
>  vlan id 10
>  pppoe
>  pppoe auto-configure
>  pppoe remote-circuit-id
>  pppoe profile any pppoe-defaults
> !
> interface gigabitEthernet 1/0.20
>  vlan id 20
>  pppoe
>  pppoe auto-configure
>  pppoe remote-circuit-id
>  pppoe profile any pppoe-defaults
> !
> 
> Users would be john at ABC or jim at DEF
> 
> 
> Kind regards,
> 
> Hendrik
> 
> 
> Am 02.11.2010 05:23, schrieb Diogo Montagner:
>> AFAIK, you need different subinterfaces for each virtual-router.
>> 
>> Eg.:
>> 
>> Vlan 10 - VR ABC
>> Vlan 20 - VR DEF
>> ...
>> 
>> Rgs
>> 
>> On 11/2/10, Tom Teeuwen<tom at tomteeuwen.eu>  wrote:
>>> Hello,
>>> 
>>> 
>>> 
>>> I'm configuring an ERX310 for PPPoE termination.
>>> 
>>> From the all DSLAM's we get about 190 tagged VLAN's.
>>> 
>>> So for every VLAN i need to create a subinterface.
>>> 
>>> 
>>> 
>>> Now we want to create multiple virtual-routers for customers who want to get
>>> an VPN.
>>> 
>>> In the basic setup without VR's(only the default) i have a profile bounded
>>> to an subinterface.
>>> 
>>> The profile config:
>>> 
>>> profile Test
>>>  ip unnumbered gigabitEthernet 1/1.102
>>>  ppp authentication virtual-router default pap
>>> 
>>> 
>>> 
>>> Now I created a VR and a domain-map and mapped a domain to the VR
>>> 
>>> But the PPPoE request is comming from the same subinterface as above
>>> specified (where i attached a profile to the subinterface)
>>> 
>>> Problem is that I only can attach one profile to a subinterface.
>>> 
>>> I want the following:
>>> 
>>> - based on a domain attach the PPPoE session to a specific VR
>>> 
>>> - PPPoE request can come from different subinterfaces
>>> 
>>> 
>>> 
>>> Example:
>>> 
>>> Customer 1 form subif 1 to VR-A
>>> 
>>> Customer 2 from subif 1 to VR-B
>>> 
>>> Customer 3 from subif 2 to VR-A
>>> 
>>> Customer 4 from subif 2 to VR-B
>>> 
>>> 
>>> 
>>> Kind regards,
>>> 
>>> Tom
>>> _______________________________________________
>>> juniper-nsp mailing list juniper-nsp at puck.nether.net
>>> https://puck.nether.net/mailman/listinfo/juniper-nsp
>>> 
> 
> 
> --
> Hendrik Kahmann
> B.Sc. Wirtschaftsinformatik
> 
> Planung - Technische Produktentwicklung
> Telefon: +49 441 8000 2778
> 
> mailto:hendrik.kahmann at ewetel.de
> 
> ___________________________________________
> 
> EWE TEL GmbH
> Cloppenburger Straße 310
> 26133 Oldenburg
> 
> Handelsregister Amtsgericht Oldenburg HRB 3723
> Vorsitzender des Aufsichtsrates: Dr. Werner Brinker
> Geschäftsführung: Hans-Joachim Iken (Vorsitzender),
> Ulf Heggenberger, Dr. Norbert Schulz, Dirk Thole
> 
> Homepage: http://www.ewetel.de
> 
> ___________________________________________
> 
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp
> 
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp
> 



More information about the juniper-nsp mailing list