Creating an IP Interface
You can configure IP interfaces that support the following configurations:
Single Clients per ATM Subinterface
Figure 3 shows a conceptual view of the configuration of a single PPP client 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, Chapter 1, Configuring ATM.
- Configure a physical interface.
host1(config)#interface atm 0/1- Configure the subinterface.
host1(config-if)#interface atm 0/1.20- Configure a permanent virtual circuit (PVC) by specifying the vcd (virtual circuit descriptor), the vci (virtual channel identifier), the vpi (virtual path identifier), and the encapsulation type.
host1(config-if)#atm pvc 10 22 100 aal5snap- Configure PPP encapsulation.
host1(config-if)#encapsulation ppp- Configure PAP or CHAP authentication.
host1((config-if))#ppp authentication chap- Assign a profile to the PPP interface.
host1(config-subif)#profile fooMultiple Clients per ATM Subinterface
Figure 4 shows how PPPoE supports multiplexing of multiple PPP sessions 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, Chapter 1, Configuring ATM.
- Configure a physical interface.
host1(config)#interface atm 0/1- Configure the subinterface.
host1(config-if)#interface atm 0/1.20- Configure a PVC by specifying the vcd (virtual circuit descriptor), the vci (virtual channel identifier), the vpi (virtual path identifier), and the encapsulation type.
host1(config-if)#atm pvc 10 22 100 aal5snap- Configure PPPoE encapsulation.
host1(config-if)#encapsulation pppoe- Configure the subinterface for one PPP client.
host1(config-if)#interface atm 0/1.20.1- Configure PPP encapsulation.
host1(config-if)#encapsulation ppp- Configure PAP or CHAP authentication.
host1((config-if))#ppp authentication chap- Apply the profile to the PPP interface.
host1(config-subif)#profile foo2- Configure the subinterface for a second PPP client.
host1(config-if)#interface atm 0/1.20.2- Configure PPP encapsulation.
host1(config-if)#encapsulation ppp- Configure PAP or CHAP authentication.
host1((config-if))#ppp authentication chap- Apply the profile to the PPP interface.
host1(config-subif)#profile foo2