Configure ADSL for Cisco

Source: Internet
Author: User

!
Vpdn enable
No vpdn logging <= because the PPPoE application of ADSL is implemented through virtual dialing, The VPDN function must be used in the router.
!
Vpdn-group pppoe & lt; = started the vpdn process for PPPoE
Request-dialin
Protocol pppoe <= set the dialing protocol to PPPoE
!
Interface FastEthernet0 <= set the company's internal network address
Ip address 192.168.0.1 255.255.255.0
Ip nat inside <= Enable NAT translation and set the Fast ethernet port to the internal network,
Convert the original address of the data received from the internal network to the Public Address
!
Interface ATM0 <= set the ADSL Port
No ip address <= do not set the address
No atm ilmi-keepalive
Bundle-enable
Dsl operating-mode auto
Hold-queue 224 in
Interface ATM 0.1 point-to-point <= ADSL communication relies on VC, so you must set point-to-point VC
Pvc 8/35 <= set the related PVC parameters, that is, the VCI and VPI values. If you are not clear, please query the local terminal
Pppoe-client dial-pool-number 1 <= The PPPoE dialing process uses a general dialing process,
Dialer-pool 1 is referenced here.
!
Interface Dialer1 <= create a virtual dialing port ip address negotiated
<= Because dynamic addresses are provided by the local terminal, you must set the address to be obtained through negotiation.
Ip mtu 1492 <= Modify mtu value to apply to ADSL Network
Ip nat outside <= Enable NAT translation. Set this port to an external network.
Encapsulation ppp <= use the PPP frame format
Dialer pool 1
Ppp authentication pap callin <= sets the dialing verification method to pap.
Ppp pap sent vip pass vip <= user name and password for sending
Ip nat inside source list 1 interface Dialer1 overload
<= Sets the NAT translation mode and uses the Dynamic Address of port dialer 1.
Ip classless
Ip route 0.0.0.0 0.0.0.0 dialer1
<= Forward all unroutable data packets to the ADSL line and set the default route
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.