Configurando Tuneles L2TP.

Febrero 17, 2002 Hemos leido en alguno de nuestros foros, solicitudes sobre, cómo configurar los túneles en los routers Cisco. A continuación os mostramos un ejemplo. Sigue leyendo …
Configuring a Cisco Router to Support Encryption for L2TP Tunnels Cisco routers support encryption for both PPTP and L2TP tunnels. However, to configure encryption for an L2TP tunnel you must first modify the router’s default configuration settings. To configure Cisco router settings to support encryption for an L2TP tunnel, perform the following steps: 1 In Cisco router configuration mode, enter the following commands to configure tunnel authentication: aaa authentication login cisco local aaa authentication ppp default local aaa authorization network default local username password 2 In Cisco router configuration mode, enter the following commands to configure the router as an L2TP server: vpdn-group 1 accept-dialin protocol l2tp virtual-template 25 terminate-from hostname OfficeConnect local name c7200 no l2tp tunnel authentication source-ip 192.180.3.2 3 In Cisco router configuration mode, enter the following commands to configure the private network (LAN) interface: interface Ethernet1/2 ip address 192.168.200.1 255.255.255.0 no ip mroute-cache 4 Before establishing the L2TP tunnel, you must first establish an ATM link between the OCR 812 and the Cisco router. To establish an ATM link, install an ATM interface card in the router and configure the card using the commands specified in step b. a To install an ATM interface card in your Cisco router, please refer to the instructions provided by your interface card manufacturer. b To configure an installed ATM interface card, enter the following commands: interface atm 2/0 atm scrambling cell-payload atm framing cbitplcp interface ATM2/0.13148 multipoint ip address 192.180.3.1 255.255.255.0 ip mask-reply ip rip send version 2 ip rip receive version 2 map-group cpmtn atm pvc 648 13 148 aal5snap

3.3 192. Debugging an L2TP Tunnel on a Cisco Router If your L2TP tunnel has not been successfully established.200.168. use the following debug commands to identify and correct the problem(s) you are experiencing: Debug vpdn command: Parameter Used to Debug error VPDN Protocol errors event VPDN event l2tp-sequencing L2TP sequencing l2x-data L2F/L2TP data packets l2x-errors L2F/L2TP protocol errors l2x-events L2F/L2TP protocol events l2x-packets L2F/L2TP control packets Debug ppp command: Parameter Used to Debug authentication CHAP and PAP authentication bap BAP protocol transactions cbcp Callback Control Protocol negotiation compression PPP compression error Protocol errors and error statistics multilink Multilink activity negotiation Protocol parameter negotiation packet Low-level PPP packet dump tasks PPP background tasks .2 atm-vc 618 broadcast 5 Once the L2TP tunnel has been established (and authentication has been successful). or if it is not operating as expected. the following Virtual Template will assign an IP address for the defined L2TP pool: interface Virtual-Template25 ip unnumbered ATM2/0.172. your L2TP tunnel should be fully operational and ready for use.53103 ip mroute-cache peer default ip address pool L2TP ppp authentication pap 6 Ensure RIP and IP Pool configuration parameters are set to the following values: RIP Configuration router rip ver 2 network 192.180.0 IP Pool for L2TP Tunnel ip local pool L2TP 192.18.map-list cpmtn ip 192.200.10 At this point.168.

4.5 39071.23.9217.-95.0%..  .0 5./ .2-3.928.7.

..925..07843 57570.83.5 74:5. 2:95439 5.5 .5293 .07843 2.0.8 705 575803/.//7088       52.0.

8-0038:.-80/ .:9039.. %025.3!./. %025.883..5 89..0881: 901443'79:.89  3.8-003089.5293 5   .3/.//708814790/0130/ %!544 39071..92 .90.943..2.0'79:.90 5:33:2-070/%.090%!9:330.-74.

.943./147:80 0-:3.20907&80/940-: 07747'!!7494. 8.:08 #!431:7.3  /.422.544%!        9985439 4:7%!9:33084:/-01:4507.039'!0..9435..3/!!44.:9039.7080994901443.9435.3%!806:03.70050703.0 5007/01..943 74:90775 .7.9.93..4#4:90714:7%!9:330.039 95 806:03.209078.8050.0881:089.4770..4077478 0.3%!%:33043..990574-02 8 4:.3/70.   5274:90 .-80/ 471983494507.90/ :80 901443/0-:.3/ !.3 0-:.5 38:70#!.8349-0038:..422.5/3.3/.3/894/0391.07 30947    !!44147%!%:330 54.:95.431:7.//7088544%! 555.7.

098  077478..9.5.%!/.

0398.4077478  0.%!57494.

0398  5..%!57494.40.098.

..943 .989.:9039..9438 .098 0-:555.20907&80/940-: .3/0774789.4077478.-...-.9.425708843!!!.439745..943 5.43049.943!7494.3/ !.209073049.88!!!-..3/!!.88   .5!57494.43974!7494...38.943 -.425708843 07747!7494.9 3049.7.7.094 0.09/:25 9.45.8 2:93:93.0!!!5.497.%!.943!.422.5.:9039.74:3/9.