cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4827
Views
11
Helpful
66
Replies

interface Virtual-Template down status down protocole

zsmo2372
Level 1
Level 1

interface Virtual-Template down status down protocole

i try to create vpn

but in i set this command show ip int brife 

interface Virtual-Template is down status down protocole

 

Untitled.png

how i can make it up

this vpn is not workign good . no ping for any ip

Current configuration : 2685 bytes
!
! Last configuration change at 00:12:15 AST Wed Jul 20 2022
!
version 16.8
service timestamps debug datetime msec
service timestamps log datetime localtime
service password-encryption
platform qfp utilization monitor load 80
no platform punt-keepalive disable-kernel-core
!
hostname router1
!
boot-start-marker
boot-end-marker
!
!
logging buffered 10000
enable secret 5 *******************************
enable password 7 *******************************
!
aaa new-model
!
!
aaa authentication login telnet local
aaa authentication ppp default local
aaa authorization network default local
!
!
!
!
!
!
aaa session-id common
clock timezone AST 3 0
!
ip dhcp excluded-address 192.168.1.1 192.168.1.10
ip dhcp excluded-address 192.168.1.110 192.168.1.160
ip dhcp excluded-address 192.168.1.230
!
ip dhcp pool LAN
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 212.43.18.22 95.66.18.22
!
!
!
!
!
!
!
!
!
!
subscriber templating
!
!
multilink bundle-name authenticated
vpdn enable
!
vpdn-group SUP
! Default L2TP VPDN group
! Default PPTP VPDN group
accept-dialin
protocol any
virtual-template 8
no l2tp tunnel authentication
!
!
!
!
!
!
license udi pid ISR4221/K9 sn FGL2416LVKH
no license smart enable
diagnostic bootup level minimal
!
spanning-tree extend system-id
!
!
!
username ******************************* privilege 15 password 7 *******************************
!
redundancy
mode none
!
!
!
!
!
!
!
!
interface GigabitEthernet0/0/0
no ip address
negotiation auto
!
interface GigabitEthernet0/0/0.900
description WAN-Internet
encapsulation dot1Q 900
ip address 172.17.77.174 255.255.255.252
ip nat outside
!
interface GigabitEthernet0/0/1
description LAN-Internet
ip address 192.168.1.1 255.255.255.0 secondary
ip address 31.214.xxx.xxx 255.255.255.248 >> remote ip
ip nat inside
negotiation auto
ip virtual-reassembly
!
interface Virtual-Template8
ip unnumbered GigabitEthernet0/0/1
ip nat inside
peer default ip address pool mvpnco
no keepalive
ppp authentication ms-chap-v2
ip virtual-reassembly
!
ip local pool mvpnco 192.168.1.109 192.168.1.120
ip nat pool LAN 31.214.xxx.xxx 31.214.xxx.xxx prefix-length 29
ip nat inside source static 192.168.1.10 31.214.23.146 extendable
ip nat inside source list 1 pool LAN overload
ip forward-protocol nd
ip http server
ip http authentication local
ip http secure-server
ip route 0.0.0.0 0.0.0.0 172.17.77.173 name Internet
!
!
access-list 1 permit 192.168.1.0 0.0.0.255
!
!
!
!
!
!
control-plane
!
!
line con 0
password 7 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
transport input none
stopbits 1
line vty 0 4
password 7 13061E010803
transport input all
!
wsma agent exec
!
wsma agent config
!
wsma agent filesys
!
wsma agent notify
!
!
end

 
2 Accepted Solutions

Accepted Solutions

You use LO IP in same subnet of POOL?

View solution in original post

this is workign good and it is done

how i can make it up
 
this vpn is not workign good . no ping for any ip
 
Current configuration : 2685 bytes
!
! Last configuration change at 00:12:15 AST Wed Jul 20 2022
!
version 16.8
service timestamps debug datetime msec
service timestamps log datetime localtime
service password-encryption
platform qfp utilization monitor load 80
no platform punt-keepalive disable-kernel-core
!
hostname router1
!
boot-start-marker
boot-end-marker
!
!
logging buffered 10000
enable secret 5 *******************************
enable password 7 *******************************
!
aaa new-model
!
!
aaa authentication login telnet local
 
!
!
!
!
!
!
aaa session-id common
clock timezone AST 3 0
!
ip dhcp excluded-address 192.168.1.1 192.168.1.10
ip dhcp excluded-address 192.168.1.110 192.168.1.160
ip dhcp excluded-address 192.168.1.230
!
ip dhcp pool LAN
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 212.43.18.22 95.66.18.22
!
!
!
!
!
!
!
!
!
!
subscriber templating
!
!
multilink bundle-name authenticated
vpdn enable
!
vpdn-group SUP
! Default L2TP VPDN group
! Default PPTP VPDN group
accept-dialin
protocol any
virtual-template 8
no l2tp tunnel authentication
!
!
!
!
!
!
license udi pid ISR4221/K9 sn FGL2416LVKH
no license smart enable
diagnostic bootup level minimal
!
spanning-tree extend system-id
!
!
!
username ******************************* privilege 15 password 7 *******************************
!
redundancy
mode none
!
!
!
!
!
!
!
!
interface loopback 2
ip address 192.168.3.1 255.255.255.0
!
!
!
!
interface GigabitEthernet0/0/0
no ip address
negotiation auto
!
interface GigabitEthernet0/0/0.900
description WAN-Internet
encapsulation dot1Q 900
ip address 172.17.77.174 255.255.255.252
ip nat outside
!
interface GigabitEthernet0/0/1
description LAN-Internet
ip address 192.168.1.1 255.255.255.0 secondary
ip address 31.214.xxx.xxx 255.255.255.248 >> remote ip
ip nat inside
negotiation auto
ip virtual-reassembly
!
interface Virtual-Template8
ip unnumbered loopback2
ip nat inside
peer default ip address pool mvpnco
no keepalive
ppp encrypt mppe auto 
ip virtual-reassembly
!
ip local pool mvpnco 192.168.3.5 192.168.3.10
ip nat pool LAN 31.214.xxx.xxx 31.214.xxx.xxx prefix-length 29
ip nat inside source static 192.168.1.10 31.214.23.146 extendable
ip nat inside source list 1 pool LAN overload
ip forward-protocol nd
ip http server
ip http authentication local
ip http secure-server
ip route 0.0.0.0 0.0.0.0 172.17.77.173 name Internet
!
!
access-list 1 permit 192.168.1.0 0.0.0.255
!
!
!
!
!
!
control-plane
!
!
line con 0
password 7 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
transport input none
stopbits 1
line vty 0 4
password 7 13061E010803
transport input all
!
wsma agent exec
!
wsma agent config
!
wsma agent filesys
!
wsma agent notify
!
!
end

 

 

View solution in original post

66 Replies 66

some time virtual-interface IP conflict with other IP.
better way is 
config LO have IP same subnet of Virtual-template POOL
use this LO as IP unnumbered of virtual-template

can u give me command how to do that . i try to use loopback interface and it is same error 

interface Virtual-Template8
ip unnumbered loopback 0
!
ip local pool mvpnco 192.168.1.110 192.168.1.120
!
in loopback 0
ip add 192.168.1.109 255.255.255.255


I did this before and it didn't work

You use LO IP in same subnet of POOL?

yes sir  . if u need i can give u telnet access to see error 

 

can you share error here ?

aaa authentication ppp default local <-delete this 
aaa authorization network default local <- delete this
!
interface Virtual-Template8
ip unnumbered loopback 0
ip nat inside
peer default ip address pool mvpnco
no keepalive
ppp authentication CHAP callout 
ip virtual-reassembly
!
in loopback 0
ip add 192.168.1.109 255.255.255.255
!

In router add the Username and password you use in Win auth with CHAP

https://www.cisco.com/c/en/us/support/docs/dial-access/virtual-private-dialup-network-vpdn/200450-Setting-up-L2TP-Tunnel-between-a-Windows.html

when end do 
show ppp all
you must see that remote get IP from POOL

in loopback 0
ip add 192.168.1.109 255.255.255.255

% 192.168.1.109 overlaps with secondary address on GigabitEthernet0/0/1

 

Now you can Ping?

 

 

aaa authentication ppp default local <-deleted
aaa authorization network default local <- deleted

interface Loopback2
ip address 192.168.2.1 255.255.255.0
!

 


vpdn-group SUP
! Default L2TP VPDN group
! Default PPTP VPDN group
accept-dialin
protocol any
virtual-template 8
no l2tp tunnel authentication


interface Virtual-Template8
ip unnumbered Loopback2
ip nat inside
peer default ip address pool mvpnco
no keepalive
ppp authentication chap callout
ip virtual-reassembly

 

ip local pool mvpnco 192.168.2.109 192.168.2.120

from vpn ping 

ping 192.168.2.1 >> timeout 

ping 192.168.1.1 timeout 

show ppp all

ccc.png

from cisco telnet on i  ping 192.168.2.109 >> timeout 

 

 

 

Now disconnect the VPN client and connect again you must get another IP 
this test 
L2TP 
PPP (LCP & Auth)

yes i get a new ip 

first time 109

last time 110