我有 Cisco 1921 作为 L2TP 服务器工作,没有 IPsec 配置如下:
!
aaa authentication ppp default local
aaa authorization network default local
!
username User1 password 7 ***
username User2 password 7 ***
username User3 password 7 ***
username User4 password 7 ***
!
vpdn-group L2TP
accept-dialin
protocol l2tp
virtual-template 10
lcp renegotiation on-mismatch
no l2tp tunnel authentication
ip pmtu
ip mtu adjust
!
interface Virtual-Template10
ip unnumbered GigabitEthernet0/0.20
ip nat enable
peer default ip address pool L2TP-POOL
ppp encrypt mppe auto
ppp authentication ms-chap ms-chap-v2
!
ip local pool L2TP-POOL 172.16.28.1 172.16.28.30
!
L2TP 客户端在 3G 连接不稳定的情况下工作并且经常丢失连接。重新连接后,它们通常会从池中获得不同的 IP 地址。
是否可以将服务器配置为每次为每个用户名分配相同的 IP 地址?