05-15-2019 08:09 AM
i am unable to access internet,
i am sharing my running cisco 2901 config - my pppoe client getting ip address but unable to access internet, pls help me out to confgiure command
interface GigabitEthernet0/1
ip address 10.10.222.2 255.255.255.0
ip nat outside
ip rip advertise 4
ip virtual-reassembly in
load-interval 30
duplex auto
speed auto
pppoe enable group global
!
interface Virtual-Template1
mtu 1492
ip unnumbered GigabitEthernet0/1
ip nat inside
ip virtual-reassembly in
peer default ip address pool pppoepool
ppp authentication pap chap
!
!
interface Dialer1
ip address negotiated
encapsulation ppp
dialer pool 1
dialer-group 1
ppp authentication pap chap callin
ppp chap hostname cisco
ppp chap password 0 sisco
ppp pap sent-username cisco password 0 sisco
no cdp enable
!
ip local pool pppoepool 10.222.222.1 10.222.222.100
ip forward-protocol nd
!
ip http server
no ip http secure-server
!
ip route 0.0.0.0 0.0.0.0 Dialer1
!
Term-Server-7#sh ip int br
Interface IP-Address OK? Method Status Protocol
Embedded-Service-Engine0/0 unassigned YES NVRAM administratively down down
GigabitEthernet0/0 unassigned YES NVRAM down down
GigabitEthernet0/1 10.10.222.2 YES manual up up
Dialer1 unassigned YES NVRAM up up
Loopback0 1.1.1.1 YES NVRAM up up
NVI0 10.10.222.2 YES unset up up
Virtual-Access1 unassigned YES unset down down
Virtual-Access1.1 unassigned YES unset down down
Virtual-Access2 unassigned YES unset up up
Virtual-Template1 10.10.222.2 YES unset down down
05-15-2019 09:00 AM
Hello Yasmeen,
as far as I remember the interface on which you use the PPPoE server feature shouldn't have an IP address.
In any case your NAT configuration is not complete
You would need a line like
ip nat source inside list 101 interface Dialer1 overload
access-list 101 deny ip 10.222.222.0 0.0.0.127 10.0.0.0 0.255.255.255
access-list 101 permit ip 10.222.222.0 0.0.0.127 any
Hope to help
Giuseppe
05-15-2019 08:24 PM
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