cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2817
Views
5
Helpful
1
Replies

PPPOE server with NAT to public IP

ahmedabdelbaqi
Level 1
Level 1

Hello Dears

 

I want to configure cisco router as pppoe server and connect it to internet via public IP .. 

 

I configured the router with the below configuration but when I configure nat in the interfaces I dont get internet in pppoe clients 

 


username a password 0 a
!
redundancy

bba-group pppoe TEST
 virtual-template 1
!
!
interface Loopback0
 ip address 1.1.1.1 255.255.255.255
!
interface FastEthernet0/0
 no ip address
 duplex auto
 speed auto
 pppoe enable group TEST
!
interface FastEthernet0/1
 ip address x.x.x.x x.x.x.x ( public IP )
 duplex auto
 speed auto
!
interface Virtual-Template1
 mtu 1492
 ip unnumbered Loopback0
 peer default ip address pool PPPOE
 ppp authentication chap callin
!
ip local pool PPPOE 192.168.44.2 192.168.44.100

 

 

1 Accepted Solution

Accepted Solutions

Martin Hruby
Level 1
Level 1

Hello

Make sure that your Cisco router (PPPoE server) has a default route towards the Internet and that your PPPoE clients receive a default route (over IPCP or static configuration). Then configure NAT:

access-list 10 permit 192.168.44.0 0.0.0.127

interface Virtual-Template1
 ip nat inside

interface FastEthernet0/1
 ip nat outside

ip nat inside source list 10 interface FastEthernet0/1 overload

I think you're also missing a vpdn enable command from your Cisco router.

Best regards,
Martin

View solution in original post

1 Reply 1

Martin Hruby
Level 1
Level 1

Hello

Make sure that your Cisco router (PPPoE server) has a default route towards the Internet and that your PPPoE clients receive a default route (over IPCP or static configuration). Then configure NAT:

access-list 10 permit 192.168.44.0 0.0.0.127

interface Virtual-Template1
 ip nat inside

interface FastEthernet0/1
 ip nat outside

ip nat inside source list 10 interface FastEthernet0/1 overload

I think you're also missing a vpdn enable command from your Cisco router.

Best regards,
Martin