怎么在设备上配置 IPv6 PPPoE的NDRA、IA_NA、IA_PD为用户分配地址,有什么命令么,在线等。
MSR56 设备直连TestCenter,用TC模拟PPPoE Client登录,设备配置PPPoE Server。
(0)
最佳答案
您好,请知:
1、如果MSR作为PPPOE服务器,可参考如下配置:
<H3C>sys
System View: return to User View with Ctrl+Z.
[H3C]sysname R1
[R1]local-user weijianing class network
New local user added.
[R1-luser-network-weijianing]password simple weijianing
[R1-luser-network-weijianing]service-type ppp
[R1-luser-network-weijianing]quit
[R1]domain name system
[R1-isp-system]authentication ppp local
[R1-isp-system]quit
[R1]int LoopBack 0
[R1-LoopBack0]ipv6 address 2::1 64
[R1-LoopBack0]quit
[R1]ipv6 prefix 1 1::/64
[R1]int Virtual-Template 1
[R1-Virtual-Template1]ipv6 address 1::1/64
[R1-Virtual-Template1]ppp authentication-mode pap domain system
[R1-Virtual-Template1]remote address pool 1
[R1-Virtual-Template1]quit
[R1]int GigabitEthernet 0/0
[R1-GigabitEthernet0/0]pppoe-server bind virtual-template 1
[R1-GigabitEthernet0/0]quit
2、如果MSR路由器作为PPPOE客户端,可参考如下配置:
<H3C>sys
System View: return to User View with Ctrl+Z.
[H3C]sysname R1
[R1]dialer-group 1 rule ip permit
[R1]int Dialer 1
[R1-Dialer1]ipv6 address auto
[R1-Dialer1]dialer bundle enable
[R1-Dialer1]dialer-group 1
[R1-Dialer1]ppp pap local-user ninglihua password simple ninglihua
[R1-Dialer1]dialer timer idle 0
[R1-Dialer1]quit
[R1]int gi 0/0
[R1-GigabitEthernet0/0]ipv6 address 1::1 64
[R1-GigabitEthernet0/0]quit
[R1]int gi 0/1
[R1-GigabitEthernet0/1]pppoe-client dial-bundle-number 1
[R1-GigabitEthernet0/1]quit
[R1]ipv6 route-static :: 0 Dialer 1
(0)
多谢
http://www.h3c.com/cn/d_201910/1240461_30005_0.htm#_Toc23170050
(0)
press中好像只有ND协议 那IA_NA、IA_PD是在哪。。
press中好像只有ND协议 那IA_NA、IA_PD是在哪。。
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
多谢