Implementation of GNS Virtual routing for ADSL external network dialing

Source: Internet
Author: User

Implement GNS virtual routes are ADSL Dial-out network


Environment: Windows XP GNS3.0.7 securecrt (can not) ADSL Online Account.

Objective: experiment to learn how to configure the way to make ADSL Dial-up connected extranet

Start: (Disconnect the ADSL Dial-up connection before starting)

1. Open the GNS New project to build the following topology:

650) this.width=650; "src=" Http://hi.csdn.net/attachment/201010/26/0_1288090293F0Hs.gif "/>



2 , Configuration Cloud Local Connection: Right-click Local Area Connection Select Configure to enter the following interface, select the local connection network card, then press Add, and then press Apply " then press " OK ":

650) this.width=650; "src=" Http://hi.csdn.net/attachment/201010/26/0_1288090469O5G4.gif "/>

3, gns :

650) this.width=650; "src=" Http://hi.csdn.net/attachment/201010/26/0_12880905391111.gif "/>

4, select theR1Right-select Start, and then continue to selectR1"Right -click"ConsoleThe following interface appears: (Because the environmentSecureCRTintegration, so click theConsole"appearsSecureCRTconsole, if there is no integration there is aDOSwindow) as follows:

650) this.width=650; "src=" Http://hi.csdn.net/attachment/201010/26/0_1288090611trvy.gif "/>

in the SecureCRT medium to Router R1 make Basic configuration

router>en

Router#conf T

Enter configuration commands, one per line. End with cntl/z.

Router (config) #hostname R1

R1 (config) #enable pass Cisco

R1 (config) #lin con 0

R1 (config-line) #pass Cisco

R1 (Config-line) #login

R1 (config-line) #no exec-timeout

R1 (config-line) #logging synchronous

R1 (Config-line) #exit

R1 (config) #line vty 0 15

R1 (config-line) #pass Cisco

R1 (Config-line) #login

R1 (config-line) #logg synchronous

R1 (config-line) #no exec-timeout

R1 (Config-line) #exit


5 , Configuration R1 turn on the VPDN function, the command is as follows

R1 (config) #vpdn enable

R1 (config) #vpdn-group inner

R1 (CONFIG-VPDN) #request-dialin

R1 (config-vpdn-req-in) #protocol PPPoE

R1 (config-vpdn-req-in) #exit

R1 (CONFIG-VPDN) #exit

R1 (config) #

6 , Configuration R1 interfaces connected to local area connections fa0/0 to Dial , the command is as follows:

R1 (config) #int fa0/0

R1 (config-if) #no IP add

R1 (config-if) #no sh

R1 (config-if) #no shutdown

R1 (config-if) #speed Auto

R1 (config-if) #duplex Auto

R1 (config-if) #pppoe enable

R1 (config-if) #pppoe-client dial-pool-number 1

R1 (config-if) #exit

R1 (config) #



7 , Configuration Logos Dial-up interface: commands are as follows:


R1 (config) #interface dialer 1

R1 (config-if) #mtu 1492

R1 (config-if) #ip address negotiated

R1 (config-if) #ip Nat outside

R1 (config-if) #encapsulation PPP

R1 (config-if) #no IP mroute-cache

R1 (config-if) #dialer Pool 1

R1 (config-if) #dialer-group 1

R1 (CONFIG-IF) #no CDP enable

R1 (config-if) #ppp authentication pap callin

R1 (config-if) #ppp pap sent-username the user name "Password "Password"

8 , view:

650) this.width=650; "src=" Http://hi.csdn.net/attachment/201010/26/0_1288091103WY08.gif "height=" 324 "width=" 734 "/ >

650) this.width=650; "src=" Http://hi.csdn.net/attachment/201010/26/0_1288091108p9m0.gif "/>


This article from "Liu Fengyuan" blog, declined reprint!

Implementation of GNS Virtual routing for ADSL external network dialing

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.