08-17-2015 01:59 AM - edited 03-05-2019 02:04 AM
Hello
I want to configure cisco router as pppoe server and all pppoe clients connect to internet by using NAT to public IP .. I configure the cisco router as below .. the clients connected by pppoe but when I add nat to interfaces I dont get internet service ... the NAT not translate the private IPs of pppoe clients to the public IP .
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
Solved! Go to Solution.
08-17-2015 06:50 AM
Hello Ahmed,
There are a few things wrong with your configuration:
So this would be the list of changes to your configuration:
interface Fa0/1 ip nat outside ! interface Virtual-Template1 ip nat inside ip tcp adjust-mss 1452 ppp mtu adaptive no ppp authentication chap callin ppp authentication chap ! end
Best regards,
Peter
08-17-2015 06:50 AM
Hello Ahmed,
There are a few things wrong with your configuration:
So this would be the list of changes to your configuration:
interface Fa0/1 ip nat outside ! interface Virtual-Template1 ip nat inside ip tcp adjust-mss 1452 ppp mtu adaptive no ppp authentication chap callin ppp authentication chap ! end
Best regards,
Peter
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide