cisco1941 PPPoE dial-up Internet client Configuration

Source: Internet
Author: User

recently the company bought a new Cisco 1941 router for network upgrade, because the leased line is not placed in place, temporarily used for PPPoE dial-up Internet, because of limited equipment, so router flood when three roles: dial-up Internet, DHCP server, DNS server, The main configuration is as follows (the g0/0 port is an external network port and the G0/1 port is an intranet port):

Topology is simple: Router--switch--client PC

The configuration is mainly divided into the following areas:

1. Configure the internal interface G0/1

Interface GIGABITETHERNET0/1

IP address 192.168.0.1 255.255.255.0//set interface internal IP addresses

IP NAT inside//Confirm inside interface

No shutdown//open port

2. Configuring the DHCP service

IP dhcp excluded-address 192.168.0.1//set reserved internal address not assigned

IP DHCP pool client//Configure DHCP address pool client

Network 192.168.0.0 255.255.255.0

Default-router 192.168.0.1//Configure client PC to get routes

Dns-server 192.168.0.1//Configure Internal network DNS

3. Configure the DNS service

IP DNS server//Enable router routing feature

IP domain-lookup

IP name-server 221.228.255.1 218.2.135.1//Specify Preferred and alternate DNS (varies from place to place, please select faster)

4. Configure the external interface g0/0

Interface gigabitethernet0/0

PPPoE enable group global//Turn on external interface PPPoE function, allow interface to run Ppoe

Pppoe-client Dial-pool-number 2//The PPPoE dial-up client for the Ethernet interface joins the dial-up address pool 2, which requires the binding between the physical interface and the logical address pool Dial-pool-number 2

5. Configuring the Logical interface

Interface Dialer1

IP address negotiated//dynamically negotiate with ADSL provider for IP addresses

IP MTU 1492//defines the number of frames, because the IP MTU should be adjusted accordingly for PPP encapsulation

IP NAT outside//Confirm outside interface

Encapsulation PPP//Package PPP protocol

IP TCP ADJUST-MSS 1452

Dialer Pool 2//This interface uses dial-up address pool 2 for dialing

PPP Authentication CHAP callin//Set authentication mode to CHAP

PPP chap hostname XXX//Set CHAP user name

PPP chap password XXX//Set CHAP password

PPP pap sent-username XXX password xxx//dialing using PAP or CHAP depends on the service provider configuration

PPP IPCP DNS request//Dynamic Get DNS

6. Configure the NAT service

Access-list 1 Permit 192.168.0.0 0.0.0.255

IP nat inside source List 1 interface Dialer1 overload

7. Configure Router

IP route 0.0.0.0 0.0.0.0 Dialer1

Ps:

1.cisco settings for PPPoE are Bba-group, not vpdn-group
So there's no way to enable protocol PPPoE under VPDN enabled
2. For Cisco device clients, there is no need to set VPDN enable, that is, no need to configure the VPDN service

3. Troubleshooting command: Debug PPPoE events

cisco1941 PPPoE dial-up Internet client Configuration

Related Article

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.