cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
850
Views
0
Helpful
8
Replies

pppoe server configuartion on cisco router 2901

Yasmeen
Level 1
Level 1

hi team, 

           while i am configuring cisco router with pppoe protocol enable, i am getting following error, 

 

Term-Server-7(config-vpdn-acc-in)#protocol pppoe
^
% Invalid input detected at '^' marker.

Term-Server-7(config-vpdn-acc-in)#

Term-Server-7(config-vpdn-acc-in)#protocol ?
any Use any protocol
l2tp Use L2TP
pptp Use PPTP

 

how can i enable this command, 

 

regards,

Yasmeen 

8 Replies 8

pieterh
VIP
VIP

you are at the wrong configuration level?

look at this thread PPPoE Client-Server setup and configuration

also check the license

as in this thread  PPPOE Server : Also note you will need a "data" licence (now called an "AX" licence) to make it work

Duplicate posts - to save confusion please remove this or the others

https://community.cisco.com/t5/switching/pppoe-server-configuration-on-cisco-router-2901-issues/m-p/3857233

https://community.cisco.com/t5/routing/pppoe-server-setup-and-configuration-router-2901/m-p/3857322


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

hi team,  

         my topology like below

 

cisco 2901 router ------> cisco switch ----> windows laptop

(PPPoe server)                                                 (PPPoe client)

 

i have configured commands, what shared in post, 

the client pppoe getting ip address in pppoe connection but my issue i am unable to access internet

in last thread some one person shared me NAT config and ip access list config 

but this is not worked on my setup 

pls help me to complete my pppoe client internet access.

kindly share the same.

 

thanks,

Regards,

Yasmeen Shaul Hameed

Hello Yasmeen,

I am the one that suggested NAT configuration of course it can contain errors.

My guess is that an extended ACL like ACL 101 is not supported on command

ip nat inside source list 101 interface dialer1 overload

 

The command may support only normal ACLs.

I apologize for this error

 

However, you can use the following

route-map NAT pemit 10

match  addres 101

 

then use

ip nat inside source ruote-map NAT interface Dialer1 overload

 

In this wat you should be able to use the extended ACL with NAT.

 

I checked the syntax over the following configuration guide

 

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipaddr_nat/configuration/15-mt/nat-15-mt-book/iadnat-addr-consv.html#GUID-FFB20BC3-3752-4921-8980-4F2BABBCAF9E

 

Alternatively you can use a normal ACL

like

access-list 11 permit 10.222.222.0 0.0.0.127

+

ip nat inside source list 11 interface Dialer1 overload

 

Hope to help

Giuseppe

 

hi Giuseppe Larosa,
Thank you so much for all shared commands, i have configured and enbled pppoe server on my cisco router,
it was working fine.

thanks,

Hello Yasmeen,

I am happy that you have been able to fix the NAT configuration of your lab.

Have you used a standard ACL with NAT or a route-map and an extended ACL? Just to track.

 

Best Regards

Giuseppe

 

HI Giuseppe Larosa,
PPPoe server configuration on cisco 2901 router,

vpdn enable
!
vpdn-group mygroup
accept-dialin
protocol any
virtual-template 1
!
interface GigabitEthernet0/0
ip address 192.168.3.22 255.255.254.0
ip nat outside
ip virtual-reassembly in
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 10.10.222.6 255.255.255.0
ip nat inside
ip rip advertise 4
load-interval 30
duplex auto
speed auto
!
interface Virtual-Template1
mtu 1492
ip unnumbered GigabitEthernet0/1
ip nat inside
peer default ip address pool pppoepool
ppp authentication pap chap
!
ip local pool pppoepool 10.10.222.100 10.10.222.120
ip forward-protocol nd
!
ip nat inside source list 101 interface GigabitEthernet0/0 overload
ip route 0.0.0.0 0.0.0.0 192.168.2.2
!
access-list 101 permit ip any any
!
Username cisco password sisco
!
bba-group pppoe global
virtual-template 1
!
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: