PPPoE with dialers configuration

One task that could be required int CCIE R&S lab exam, is the using of dialers for pppoe. In the past the lab had ISDN interfaces with dialers, but ISDN is almost dead, and currently is only used as backup interface in some old networks.

Configure pppoe with dialers is quite simple, but you can do harder labs using ppp authentication, and other technologies published in previous posts.

When we are using pppoe with dialers we have two different roles, a server who accepts incoming ppp sessions, and client, who configure a dialer, and start a ppp session against our server. You can use authentication also, and dhcp in the server to configure dynamic client ip address.

Server:

1 - Create a ppoe group, and assign a virtual template interface to the ppp group.


bba-group pppoe group_1
virtual template 1

2 - Create the virtual template interface, assign an IP address to the interface, or use unnumbered ip address linking the interface with a loopback interface


int virtual-template 1
ip add x.x.x.x y.y.y.y OR ip unnumbered Loopback X
3 - Assign the pppoe group to the server ethernet interface.


int fa0/0
ppp  enable group group_1

Client:


1- Create a Dialer interface, assign an ip addres(or learn it using DHCP), asociate the dialer to a pool.  I use persistent dialers because I would like to have the dialer always connected.


interface Dialer1
ip address 192.168.0.2 255.255.255.0
encapsulation ppp
dialer pool 1
dialer persistent
Enable pppoe in a client ethernet interface, and link it to the previous dialer pool.
 int fa0/0
no ip address
ppoe enable
pppoe-client dial-pool-number 1
 Tips: As ppp over p2p links, the client, and the server are not needed that they are in the same subnet, because ppp learn the route of the other side of the link, including a route in the routing table of both devices.

Example:



Router 1:

bba-group pppoe group_1
virtual template 1 
int virtual-template 1
ip add 192.168.0.1 255.255.255.0 
int fa0/0
no ip add
ppp  enable group group_1

Router 2: 
interface Dialer1
ip address 192.168.0.2 255.255.255.0
encapsulation pp
dialer pool 1
dialer idle-timeout 0
dialer persistent
end

int fa0/0
no ip address
ppoe enable
pppoe-client dial-pool-number 1

Share this

Related Posts

Previous
Next Post »