キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 
cancel
4335
閲覧回数
10
いいね!
0
コメント
Hirofumi Nonose
Cisco Employee
Cisco Employee

 

はじめに

本ドキュメントでは、SD-WAN ルータを使用し、PPPoEを設定する手順について解説します。本ドキュメントの設定については、XE SD-WANルータ( ISR4221/16.10.1)、vEdgeルータ(18.4.0)を使用し、解説します。 16.9.2、18.3.1以降、vManageからTemplateを使用し、PPPoEの設定が可能となっていますが、本ドキュメントでは、CLIによるPPPoEの設定について解説します。

Templateを使用した設定については、下記を参照ください。

VPN Interface DSL PPPoE

  

PPPoE設定(XE SD-WANルータ)

Router(config)# interface GigabitEthernet0/0/0
Router(config-if)# no ip address
Router(config-if)# ip mtu 1500
Router(config-if)# mtu 1500
Router(config-if)# pppoe-client dial-pool-number 1
Router(config-if)# pppoe enable group global
Router(config-if)# exit

 

Router(config)# interface Dialer1
Router(config-if)# encapsulation ppp
Router(config-if)# ip address negotiated
Router(config-if)# dialer pool 1
Router(config-if)# ppp chap hostname client2
Router(config-if)# ppp chap password 0 cisco2
Router(config-if)# ppp authentication chap callin
Router(config-if)# exit

 

Router(config)# interface Tunnel1
Router(config-if)# no shut
Router(config-if)# ip unnumbered Dialer1
Router(config-if)# no ip redirects
Router(config-if)# tunnel source Dialer1
Router(config-if)# exit
Router(config)# sdwan
Router(config-sdwan)# interface Dialer1
Router(config-interface-Dialer1)# tunnel-interface
Router(config-tunnel-interface)# encapsulation ipsec weight 1
Router(config-tunnel-interface)# color default
Router(config-tunnel-interface)# no allow-service all
Router(config-tunnel-interface)# end
Uncommitted changes found, commit them? [yes/no/CANCEL] yes
Commit complete.

 注 : Tunnelインタフェースの設定を入れた後、sdwan 配下のencapsulation ipsec まで入れて、commitを実行しないと下記のエラーが出力されます。
Aborted: 'interface Tunnel 1 tunnel mode': Tunnel interface doesn't have corresponding sdwan Dialer1 interface

確認コマンド

Router#sh pppoe session all
Total PPPoE sessions 1
session id: 37
local MAC address: 70db.9871.1a10, remote MAC address: 0050.56a3.36da
virtual access interface: Vi2, outgoing interface: Gi0/0/0
VLAN Priority: 0
17609 packets sent, 16011 received
4768112 bytes sent, 2842157 received
Router#sh pppoe session
1 client session
Uniq ID PPPoE RemMAC Port VT VA State
SID LocMAC VA-st Type
N/A 37 0050.56a3.36da Gi0/0/0 Di1 Vi2 UP
70db.9871.1a10 UP
Router#sh ppp all
Interface/ID OPEN+ Nego* Fail- Stage Peer Address Peer Name
------------ --------------------- -------- --------------- --------------------
Vi2 LCP+ IPCP+ CDPCP- LocalT 172.16.0.1 PPPoE-Server

 

PPPoE設定(vEdge)

vEdge(config)# vpn 0
vEdge(config-vpn-0)# interface ppp10
vEdge(config-interface-ppp10)# ppp authentication chap hostname client1 password cisco1
vEdge(config-authentication-chap)# no shut
vEdge(config-interface-ppp10)# tunnel-interface color default
vEdge(config-tunnel-interface)# encapsulation ipsec
vEdge(config-tunnel-interface)# mtu 1492
vEdge(config-interface-ppp10)# exit
vEdge(config-vpn-0)# interface ge0/0
vEdge(config-interface-ge0/0)# pppoe-client ppp-interface ppp10
vEdge(config-interface-ge0/0)# exit
vEdge(config-vpn-0)# end
Uncommitted changes found, commit them? [yes/no/CANCEL] yes
Commit complete.

   確認コマンド

vEdge# sh pppoe session
SESSION PPP SERVICE
VPN IFNAME ID SERVER MAC LOCAL MAC INTERFACE AC NAME NAME
----------------------------------------------------------------------------------------------
0 ge0/0 30 00:50:56:a3:36:da 00:50:56:a3:7d:82 ppp10 PPPoE-Server -
vEdge# sh ppp interface
PPPOE INTERFACE PRIMARY SECONDARY AUTH
VPN IFNAME INTERFACE IP GATEWAY IP DNS DNS MTU TYPE
--------------------------------------------------------------------------------
0 ppp10 ge0/0 172.16.0.2 172.16.0.1 0.0.0.0 0.0.0.0 1492 chap
vEdge# show interface ppp10
interface vpn 0 interface ppp10 af-type ipv4
ip-address 172.16.0.2/32
if-admin-status Up
if-oper-status Up
if-tracker-status NA
encap-type ppp
port-type transport
mtu 1492
hwaddr 00:00:00:00:00:00
speed-mbps 1000
duplex full
tcp-mss-adjust 1408
uptime 1:00:35:04
rx-packets 2580795
tx-packets 3425478
  • show control local-properties wan-interface-list
  • show control connections

 

参考情報

VPN Interface DSL PPPoE

Configuring PPPoE

Getting Started

検索バーにキーワード、フレーズ、または質問を入力し、お探しのものを見つけましょう

シスコ コミュニティをいち早く使いこなしていただけるよう役立つリンクをまとめました。みなさんのジャーニーがより良いものとなるようお手伝いします