You can configure PPPoE on Fast Ethernet (FE),
Gigabit Ethernet (GE), and 10-Gigabit Ethernet (10GE) modules. You
can configure Ethernet interfaces with IP only, with PPPoE only, with
both IP and PPPoE, and with or without VLANs.
This section provides information about configuring
PPPoE without VLANs. If you want to configure PPPoE with VLANs, see Configuring VLAN and S-VLAN Subinterfaces , which shows common VLAN configurations
such as:
For more information about specific Ethernet modules
and the protocols and applications they support, see:
ERX Module Guide, Appendix
A, Module Protocol Support (for ERX7xx
models, ERX14xx models, and ERX310 router)
E120 and E320 Module Guide, Appendix A, IOA Protocol Support (for
E120 and E320 routers)
PPPoE Interface and Subinterface Limits
PPPoE
subinterfaces can be distributed in any way across I/O module ports.
For example, you can configure the maximum supported number of PPPoE
subinterfaces on one port of an FE-2 I/O module and no PPPoE subinterfaces
on the other port.
For information about current system maximums supported
for PPPoE interfaces and subinterfaces, see JUNOSe Release
Notes, Appendix A, System
Maximums.
Configuring IPv4 and IPv6 over PPPoE with VLAN
You can configure IPv4 and IPv6 interface columns
over static PPPoE, as shown in Figure 35.
Figure 35: Example of Configuring IPv4 and
IPv6 over PPPoE
To configure IPv4 and IPv6 interface columns over static PPPoE:
Specify a Fast Ethernet, Gigabit Ethernet, or 10-Gigabit
Ethernet interface.
host1(config)#interface gigabitEthernet 2/0/1
Specify VLAN as the encapsulation method.
host1(config-if)#encapsulation vlan
The VLAN major interface is added.
Create a VLAN subinterface by adding a subinterface number
to the interface identification command.
An unnumbered interface does not have an IPv6 address
assigned to it. Unnumbered interfaces are often used in point-to-point
connections where an IPv6 address is not required.
This command enables IPv6 processing on an interface without
your having to assign an explicit IPv6 address to the interface.
You supply an interface location that is the type and
number of another interface on which the router has an assigned IPv6
address. This interface cannot be another unnumbered interface.
Example
host1(config-if)#ipv6 unnumbered loopback
0
Use the no version to disable
IPv6 processing on an interface.
Use to request authentication from a PPP peer and set
the authentication method.
The router supports the MD5 authentication algorithm for
CHAP authentication.
Example 1—Specifies the order of preference for
the primary authentication protocol
host1(config-if)#ppp authentication pap chap
eap
The router requests the use of PAP as
the authentication protocol (because it appears first in the command
line). If the peer refuses to use PAP, the router requests the CHAP
protocol. If the peer refuses to use CHAP, the router requests the
EAP protocol. If the peer refuses to negotiate authentication, the
router terminates the PPP session.
Example 2—Configures EAP or CHAP or PAP on a dynamic
PPP interface
host1(config)#profile ppptest
host1(config-profile)#ppp authentication eap
chap pap
In this example, the router first attempts
EAP negotiation. If PPP receives a NAK from the peer in response to
the EAP request, then the router attempts CHAP negotiation. If PPP
receives a NAK from the peer in response to the CHAP request, then
the router attempts PAP negotiation. If PAP is also rejected, then
PPP terminates the session.
Use the no version to specify
that the router does not require authentication.
For more information, see chapter Configuring Ethernet
Interfaces in JUNOSe Physical Layer Configuration Guide.
Example
host1(config)#interface fastEthernet 1/0
Use the no version to remove
IP from an interface or subinterface. You must issue the no version
from the highest level down; you cannot remove an interface or subinterface
if the one above it still exists.
Use the no version to remove
IP from an interface. You must issue the no version from the highest
level down; you cannot remove an interface or subinterface if the
one above it still exists.
Use to configure an access concentrator (AC) name on the
PPPoE interface. When the AC (the server) receives a PPPoE Active
Discovery Initiation (PADI) packet that it can serve, it replies by
sending a PPPoE Active Discovery Offer (PADO) packet. The PADO packet
contains the AC name configured using this command.
If the AC name is not configured, the router name is used.