PPPoE configuration for connecting a CISCO router to ADSL

Source: Internet
Author: User
Configure the PPPoE configuration for connecting a CISCO router to an ADSLmodem through the PPPoE configuration: hostnamebjsite! Ipsubnet-zeronoipdomain-lookup! Vpdnenablenovpdnlogging! Vpdn-group1request-dialinprotocolpppoe! Interfaceethernet00ipaddh

Configure PPPoE for connecting a CISCO router to an ADSL modem using the Cisco router: hostname bjsite! Ip subnet-zero no ip domain-lookup! Vpdn enable no vpdn logging! Vpdn-group 1 request-dialin protocol pppoe! Interface Ethernet0/0 ip addh


CISCOVroConnectionPPPoE of ADSLConfiguration

CiscoVroConnectionPPPoE of ADSL modemConfiguration:

Hostname bjsite

!

Ip subnet-zero

No ip domain-lookup

!

Vpdn enable

No vpdn logging

!

Vpdn-group 1

Request-dialin

Protocol pppoe

!

Interface Ethernet0/0

Ip address 192.168.0.1 255.255.255.0

Ip nat inside

No ip mroute-cache

!

!

!

!

Interface Ethernet0/1

No ip address

Pppoe enable

Pppoe-client dial-pool-number 1

! Www.2cto.com

Interface Dialer1

Ip address negotiated

Ip nat outside

Ip mtu 1492

Encapsulation ppp

No ip mroute-cache

Dialer pool 1

Dialer-group 1

Ppp authentication pap

Ppp pap sent-username dg48907653@163.gd password xxxxxxxx

!

Ip classless

No ip http server

!

Dialer-list 1 protocol ip permit

Ip nat inside source list 1 interface Dialer1 overload

Ip route 0.0.0.0 0.0.0.0 dialer1

Access-list 1 permit 192.168.0.0 0.0.255

!

Line con 0

Exec-timeout 0 0

Transport input none

Line vty 0 4

Login

!

End

CiscoVroConnectionPPPoE for adsl wic cardConfiguration:

Vpdn-group pppoe

Request-dialin

! --- We are the PPPoE client requesting to establish

! --- A session with the aggregation unit (6400 NRP ).

Protocol pppoe

!

Www.2cto.com

! --- Internal Ethernet network.

!

Interface FastEthernet0

Ip address 10.92.1.182 255.255.255.0

Ip nat inside

! --- DSL interface.

!

Interface ATM0

No ip address

No atm ilmi-keepalive

Bundle-enable

Dsl operating-mode auto

Hold-queue 224 in

! --- All defaults.

! --- PPPoE runs on top of AAL5SNAP, but

! --- Encap aal5snap command is not used.

!

Interface ATM 0.1 point-to-point

Pvc 1/1

Pppoe-client dial-pool-number 1

! --- Pvc 1/1 is an example value that must be changed

! --- To match the value used by the ISP.

Www.2cto.com

!

! --- The PPPoE client code ties into a dialer interface

! --- Which a virtual-access interface is cloned.

!

Interface Dialer1

Ip address negotiated

Ip mtu 1492

! --- Ethernet MTU default = 1500 (1492 + PPPoE headers = 1500)

Ip nat outside

Encapsulation ppp

Dialer pool 1

! --- Ties to atm interface.

Ppp authentication chap callin

Ppp chap hostname

Ppp chap password

!

! --- The ISP will instruct you regarding

! --- The type of authentication to use.

! --- To change from ppp chap to ppp pap,

! --- Replace the following three lines:

! --- Ppp authentication chap callin

! --- Ppp chap hostname

! --- Ppp chap password

! --- With the following two lines:

! --- Ppp authentication pap callin

! --- Ppp pap sent-username Password

Www.2cto.com

! --- For NAT we are going to overload on the Dialer1

! --- Interface and add a default route out

! --- Since dialer ip address can change.

Ip nat inside source list 1 interface Dialer1 overload

Ip classless

Ip route 0.0.0.0 0.0.0.0 dialer1

No ip http server

!

Access-list 1 permit 10.92.1.0 0.0.255

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.