09-30-2020 03:33 AM
Hello Team,
I tried to configure PPOE internet connection ,
But not getting connected.
Please find run config and errors
interface GigabitEthernet0/0
no ip address
!
interface GigabitEthernet0/1
no ip address
!
interface GigabitEthernet0/2
no ip address
!
interface GigabitEthernet0/3
no ip address
!
interface GigabitEthernet0/4
no ip address
duplex auto
speed auto
pppoe enable
pppoe-client dial-pool-number 1
!
interface GigabitEthernet0/5
no ip address
shutdown
duplex auto
speed auto
!
interface Vlan1
description $ETH_LAN$
ip address 10.10.10.1 255.255.255.128
ip tcp adjust-mss 1452
!
interface Dialer0
mtu 1492
no ip address
encapsulation ppp
dialer pool 1
dialer-group 1
no cdp enable
ppp authentication chap
ppp chap hostname phc_mnd
ppp chap password 0 password
ppp pap sent-username phc_mnd password 0 password
!
ip forward-protocol nd
ip http server
ip http access-class 23
ip http authentication local
ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
!
!
!
ipv6 ioam timestamp
!
!
access-list 23 permit 10.10.10.0 0.0.0.127
!
control-plane
!
09-30-2020 03:34 AM
Please Find below logs help me to resolve issues
-----------------------------------------
*Sep 30 10:25:25.451: Sending PADI: Interface = GigabitEthernet0/4
*Sep 30 10:25:25.795: PPPoE 0: I PADO R:20d8.0bd4.8f8c L:c4f7.d577.23d3 Gi0/4
*Sep 30 10:25:27.755: PPPOE: we've got our pado and the pado timer went off
*Sep 30 10:25:27.755: OUT PADR from PPPoE Session
*Sep 30 10:25:27.991: PPPoE 101: I PADS R:20d8.0bd4.8f8c L:c4f7.d577.23d3 Gi0/4
*Sep 30 10:25:27.991: IN PADS from PPPoE Session
*Sep 30 10:25:27.991: %DIALER-6-BIND: Interface Vi1 bound to profile Di0
*Sep 30 10:25:27.991: PPPoE: Virtual Access interface obtained.
*Sep 30 10:25:27.991: PPPoE : encap string prepared
*Sep 30 10:25:27.991: [0]PPPoE 101: data path set to PPPoE Client
*Sep 30 10:25:27.995: %LINK-3-UPDOWN: Interface Virtual-Access1, changed state to up
*Sep 30 10:25:27.995: Vi1 PPP: Using dialer call direction
*Sep 30 10:25:27.995: Vi1 PPP: Treating connection as a callout
*Sep 30 10:25:27.995: Vi1 PPP: Session handle[CE000038] Session id[56]
*Sep 30 10:25:28.215: Vi1 LCP: Received too many CONFREJs. Closing CP
*Sep 30 10:25:28.239: PPPoE : Shutting down client session
*Sep 30 10:25:28.239: [0]PPPoE 101: O PADT R:20d8.0bd4.8f8c L:c4f7.d577.23d3 Gi0/4
*Sep 30 10:25:28.239: %DIALER-6-UNBIND: Interface Vi1 unbound from profile Di0
*Sep 30 10:25:28.243: %LINK-3-UPDOWN: Interface Virtual-Access1, changed state to down
*Sep 30 10:25:48.247: Sending PADI: Interface = GigabitEthernet0/4
*Sep 30 10:25:48.591: PPPoE 0: I PADO R:20d8.0bd4.8f8c L:c4f7.d577.23d3 Gi0/4
*Sep 30 10:25:50.551: PPPOE: we've got our pado and the pado timer went off
*Sep 30 10:25:50.551: OUT PADR from PPPoE Session
*Sep 30 10:25:50.791: PPPoE 101: I PADS R:20d8.0bd4.8f8c L:c4f7.d577.23d3 Gi0/4
*Sep 30 10:25:50.791: IN PADS from PPPoE Session
*Sep 30 10:25:50.791: %DIALER-6-BIND: Interface Vi1 bound to profile Di0
*Sep 30 10:25:50.791: PPPoE: Virtual Access interface obtained.
*Sep 30 10:25:50.791: PPPoE : encap string prepared
*Sep 30 10:25:50.791: [0]PPPoE 101: data path set to PPPoE Client
*Sep 30 10:25:50.795: %LINK-3-UPDOWN: Interface Virtual-Access1, changed state to up
*Sep 30 10:25:50.795: Vi1 PPP: Using dialer call direction
*Sep 30 10:25:50.795: Vi1 PPP: Treating connection as a callout
*Sep 30 10:25:50.795: Vi1 PPP: Session handle[F8000039] Session id[57]
*Sep 30 10:25:51.011: Vi1 LCP: Received too many CONFREJs. Closing CP
*Sep 30 10:25:51.031: PPPoE : Shutting down client session
*Sep 30 10:25:51.031: [0]PPPoE 101: O PADT R:20d8.0bd4.8f8c L:c4f7.d577.23d3 Gi0/4
*Sep 30 10:25:51.031: %DIALER-6-UNBIND: Interface Vi1 unbound from profile Di0
*Sep 30 10:25:51.035: %LINK-3-UPDOWN: Interface Virtual-Access1, changed state to down
*Sep 30 10:26:11.039: Sending PADI: Interface = GigabitEthernet0/4
*Sep 30 10:26:11.395: PPPoE 0: I PADO R:20d8.0bd4.8f8c L:c4f7.d577.23d3 Gi0/4
*Sep 30 10:26:13.343: PPPOE: we've got our pado and the pado timer went off
*Sep 30 10:26:13.343: OUT PADR from PPPoE Session
*Sep 30 10:26:13.603: PPPoE 1297: I PADS R:20d8.0bd4.8f8c L:c4f7.d577.23d3 Gi0/4
*Sep 30 10:26:13.603: IN PADS from PPPoE Session
*Sep 30 10:26:13.603: %DIALER-6-BIND: Interface Vi1 bound to profile Di0
*Sep 30 10:26:13.603: PPPoE: Virtual Access interface obtained.
*Sep 30 10:26:13.603: PPPoE : encap string prepared
*Sep 30 10:26:13.603: [0]PPPoE 1297: data path set to PPPoE Client
*Sep 30 10:26:13.607: %LINK-3-UPDOWN: Interface Virtual-Access1, changed state to up
*Sep 30 10:26:13.607: Vi1 PPP: Using dialer call direction
*Sep 30 10:26:13.607: Vi1 PPP: Treating connection as a callout
*Sep 30 10:26:13.607: Vi1 PPP: Session handle[1B00003A] Session id[58]
*Sep 30 10:26:13.831: Vi1 LCP: Received too many CONFREJs. Closing CP
*Sep 30 10:26:13.851: PPPoE : Shutting down client session
*Sep 30 10:26:13.851: [0]PPPoE 1297: O PADT R:20d8.0bd4.8f8c L:c4f7.d577.23d3 Gi0/4
*Sep 30 10:26:13.851: %DIALER-6-UNBIND: Interface Vi1 unbound from profile Di0
*Sep 30 10:26:13.855: %LINK-3-UPDOWN: Interface Virtual-Access1, changed state to down
yourname#
*Sep 30 10:28:53.411: %DIALER-6-BIND: Interface Vi1 bound to profile Di0
*Sep 30 10:28:53.415: %LINK-3-UPDOWN: Interface Virtual-Access1, changed state to up
*Sep 30 10:28:53.671: PPPoE: Failed to add PPPoE switching subblock
*Sep 30 10:28:53.671: %DIALER-6-UNBIND: Interface Vi1 unbound from profile Di0
*Sep 30 10:28:53.675: %LINK-3-UPDOWN: Interface Virtual-Access1, changed state to down
*Sep 30 10:28:53.675: PPPoE: Unexpected Event!. PPPoE switching Subblockdestroy called
*Sep 30 10:29:16.611: %DIALER-6-BIND: Interface Vi1 bound to profile Di0
*Sep 30 10:29:16.615: %LINK-3-UPDOWN: Interface Virtual-Access1, changed state to up
*Sep 30 10:29:16.851: PPPoE: Failed to add PPPoE switching subblock
*Sep 30 10:29:16.851: %DIALER-6-UNBIND: Interface Vi1 unbound from profile Di0
*Sep 30 10:29:16.855: %LINK-3-UPDOWN: Interface Virtual-Access1, changed state to down
*Sep 30 10:29:16.855: PPPoE: Unexpected Event!. PPPoE switching Subblockdestroy called
09-30-2020 07:30 AM
Hello @amalmichaelvj ,
interface Dialer 0
ip address negotiated
instead of no ip address
so that PPP IPCP can provide an IP address.
Hope to help
Giuseppe
09-30-2020 07:42 AM
Hello,
in addition to Giuseppe's post, just to make sure, you also need the lines marked in bold (DHCP server is optional):
--> ip dhcp excluded-address 10.10.10.1
!
--> ip dhcp pool LAN
--> network 10.10.10.0 255.255.255.128
--> default-router 10.10.10.1
--> dns-server 8.8.8.8 8.8.4.4
!
interface GigabitEthernet0/0
no ip address
!
interface GigabitEthernet0/1
no ip address
!
interface GigabitEthernet0/2
no ip address
!
interface GigabitEthernet0/3
no ip address
!
interface GigabitEthernet0/4
no ip address
duplex auto
speed auto
pppoe enable
pppoe-client dial-pool-number 1
!
interface GigabitEthernet0/5
no ip address
shutdown
duplex auto
speed auto
!
interface Vlan1
description $ETH_LAN$
ip address 10.10.10.1 255.255.255.128
--> ip nat inside
ip tcp adjust-mss 1452
!
interface Dialer0
mtu 1492
--> ip address negotiated
--> ip nat outside
encapsulation ppp
dialer pool 1
dialer-group 1
no cdp enable
ppp authentication chap
ppp chap hostname phc_mnd
ppp chap password 0 password
ppp pap sent-username phc_mnd password 0 password
!
ip forward-protocol nd
ip http server
ip http access-class 23
ip http authentication local
ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
!
--> ip nat inside source list 23 interface Dialer0 overload
--> ip route 0.0.0.0 0.0.0.0 Dialer0
--> dialer-list 1 protocol ip permit
!
ipv6 ioam timestamp
!
!
access-list 23 permit 10.10.10.0 0.0.0.127
!
control-plane
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