Figure 4 shows how PPPoE supports multiplexing of multiple PPP sessions per ATM subinterface.
Figure 4: Multiple PPP Clients per ATM Subinterface

Configure an ATM interface by entering Configuration mode and performing the following tasks. For more information about configuring ATM interfaces, see JUNOSe Link Layer Configuration Guide.
- host1(config)#interface atm 0/1
- host1(config-if)#interface atm 0/1.20
- host1(config-if)#atm pvc 10 22 100 aal5snap
- host1(config-if)#encapsulation pppoe
- host1(config-if)#interface atm 0/1.20.1
- host1(config-if)#encapsulation ppp
- host1((config-if))#ppp authentication chap
- host1(config-subif)#profile foo2
- host1(config-if)#interface atm 0/1.20.2
- host1(config-if)#encapsulation ppp
- host1((config-if))#ppp authentication chap
- host1(config-subif)#profile foo2