In last post we saw, PPPoE theory, In this post we will see Maipu and Cisco router configurations for PPPoE.
Maipu Basic Commands for Configuring -PPPoE
Command | Description | Configuration Mode |
pppoe enable | Enable PPPoE server. | |
pppoe-client dial-pool-number number | Configure PPPoE client. | config-if-×× |
pppoe-client auto-dial always | *Configure the auto dialing of the PPPoE client | config-if-×× |
pppoe-client auto-dial time-range string | *Configure PPPoE client to perform the automatic dialing according to the set time | config-if-×× |
vpdn enable | *Enable VPDN. | Config |
vpdn-group number | Configure VPDN group | Config |
accept-dialin | *Configure VPDN as accepting dial-in | config-vpdn |
protocol pppoe | *Configure the application protocol over VPDN | config-vpdn-acc-in |
pppoe limit per-mac number | *Configure the maximum connection number of the same mac address at PPPoE client | config-vpdn |
virtual-template number | *Configure the template number used when VPDN accepting dial-in | config-vpdn-acc-in |
local name host-name | Configure VPDN device name | config-vpdn |
PPPoE Normal Configuration - Maipu
Configuration instance 1
Description -
As shown in the above figure, PPPoE client (Router-a) sets up the PPPoE connection with the PPPoE server via the Ethernet interface.
The configuration of Router-a:
Description | |
Router (config)#dialer-list 1 protocol ip permit | Configure the data type of triggering dialer |
Router (config)#interface dialer0 | Configure dialer interface |
Router (config-if-dialer0)#ip address negotiated | Configure IP address |
Router (config-if-dialer0)# encapsulation ppp | Encapsulate the PPP protocol. |
Router (config-if-dialer0)#dialer in-band | Enable DDR dialer |
Router (config-if-dialer0)#dialer-group 1 | Reference triggering list |
Router (config-if-dialer0)#dialer pool 1 | Configure dialer pool |
Router (config-if-dialer0)#exit | Exit interface |
Router (config)#interface fastethernet0 | Enter into Ethernet interface |
Router (config-if-fastethernet0)# pppoe-client dial-pool-number 1 | Configure PPPoE client and put F0 interface into dialer group 1 |
Router (config-if-fastethernet0)#exit | Exit interface |
Router (config )#ip route | Configure the default route |
The configuration of Router-b:
Command | Description |
Router(config)#int loopback 0 | Configure loopback 0 |
Router(config-if-loopback0)#ip address | Configure the IP address of the loopback port |
Router(config-if-loopback0)#exit | |
router(config)# ip local pool pppoe-pool 172.16.20.10 172.16.20.100 | Configure address pool |
Router (config)#int virtual-template 1 | Configure PPPoE virtual template interface |
Router (config-if-virtual-template1)#ip unnumber loopback0 | Configure the IP address of the interface. It is recommended to use the ip unnumber command. Configure IP address directly for virtual template. The load balance results in the PPPOE server can only enable the sixth valid connection. |
Router (config-if-virtual-template1)#encapsulation ppp | Encapsulate the PPP protocol |
Router (config-if-virtual-template1)#peer default ip address pool pppoe-pool | The address pool adopted when distributing the IP address to the client |
Router (config-if-virtual-template1)#exit | |
Router (config)#vpdn enable | Enable VPDN virtual tunnel |
Router (config)#vpdn-group 1 | Create virtual channel group |
Router (config-vpdn)# pppoe limit per-mac 2 | The same mac of the client is allowed to create two PPPoE connections. |
Router (config-vpdn)#local name pppoe-server | The command is used to configure ac-name on the Ethernet interface when configuring the PPPoE client |
Router (config-vpdn)#accept-dialin | Configure VPDN as accepting dialin |
Router (config-vpdn-acc-in)#protocol pppoe | Specify the application protocol over VPDN |
Router (config-vpdn-acc-in)#virtual-template 1 | Specify the virtual template interface number used during the PPPoE session |
Router (config-vpdn-acc-in)#exit | |
Router (config-vpdn)#exit | |
Router (config)#interface fastethernet0 | Configure fastethernet0 as the PPPoE server port |
Router (config-if-fastethernet0)#pppoe enable | Enable the PPPoE protocol |
Router (config-if-fastethernet0)#exit | |
For Cisco configurations – Plz visit –