Cisco 2901 Configuring Dial-Up Networking

Source: Internet
Author: User

1. Enter EN, then enter the password to confirm and press conf t
2, Router (config) # VPDN enable
Interface Dialer 1//Enter dialer 1
3, Router (config-if) # Encapsulation PPP//Package PPP protocol
IP add negotiated//enable IP negotiation
PPP Authentication CHAP
PPP Authentication CHAP callin//closed CHAP authentication
PPP chap hostname [EMAIL protected]//[email protected] for telecom account
PPP chap password G0203344500//G0203344500 as account password
Dialer Pool 1
IP NAT outside//identified as Nat out port
No shutdown
Interface GIGABITETHERNET0/1
Pppoe-client Dial-pool-number 1
IP Nat Outside
No shutdown
Interface gigabitethernet0/0
IP add 172.16.0.1 255.255.255.0//Here I set the IP field: 172.16.0.1
IP nat inside//OK for NAT in Port
No shutdown
Do show IP int b//After running this command, if the IP address has been obtained, it proves that the configuration is in effect
Exit
4, let the Intranet host (172.16.0.1/24) host can communicate with the external network
Router (config) # access-list 1 Permit 172.16.0.0 0.0.0.255//Set reverse subnet mask here, Atomic netmask is 255.255.255.0
IP nat inside source list 1 Interface dialer 1 overload//new NAT makes 172.16.0.0 segment Host converted to dialer 1 address out
IP route 0.0.0.0 0.0.0.0 Dia 1
Interface Dialer1
IP MTU 1452
IP TCP ADJUST-MSS 1452
Interface gigabitethernet0/0
Duplex Auto
Speed auto
Exit
router# Write
Copy running-config Startup-config//These two commands are save configuration commands

Reload//Restart the router, ask whether to save the configuration, press Yes to complete this step, you can surf the internet

5. Exclude DHCP-assigned IP:
IP dhcp excluded-address 172.16.0.2 172.16.0.100//DHCP assigning addresses when you exclude these IPs
IP dhcp excluded-address 172.16.0.202 172.16.0.254


6. DHCP Server settings:
Router (config) # ip DHCP pool test//test here is the DHCP name
Network 172.16.0.0 255.255.255.128
Default-router 172.16.0.1
Dns-server 202.96.134.33 202.96.166.86

Ps:dhcp to set the excluded IP to add the allowed IP segment, otherwise the IP segment does not take effect, if you want to delete DHCP, run the command: No IP DHCP pool test can be


Cisco 2901 Configuring Dial-Up Networking

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.