• 全部
  • 经验案例
  • 典型配置
  • 技术公告
  • FAQ
  • 漏洞说明
  • 全部
  • 全部
  • 大数据引擎
  • 知了引擎
产品线
搜索
取消
案例类型
发布者
是否解决
是否官方
时间
搜索引擎
匹配模式
高级搜索

想咨询一下 H3C ICG3000F-DP 网关的 PPPOE IPV6 如何配置呢?

2021-05-14提问
  • 0关注
  • 1收藏,1911浏览
粉丝:0人 关注:0人

问题描述:

路由器有6个三层网口GE0-GE5,GE3连接光猫lan(光猫为桥接模式),GE0连接交换机,配置如下。连接在GE0下交换机的电脑无法获取ipv6地址。但是如果使用其他家用傻瓜路由器,同样的连接方式,开启ipv6 native/passthrough 都可以正确获得一个60位前缀,因此光猫无问题。

#

 version 7.1.064, Release 0821P11

#

 sysname SlyRouter

#

 clock timezone Beijing add 08:00:00

 clock protocol ntp

#

wlan global-configuration

#

 security-zone intra-zone default permit

#

 dialer-group 4 rule ip permit

#

 nat alg h323

 nat alg ils

 nat alg mgcp

 nat alg nbt

 nat alg rsh

 nat alg sccp

 nat alg sip

 nat alg sqlnet

 nat alg tftp

 nat alg xdmcp

#

 dhcp enable

 dhcp server always-broadcast

#

 dns proxy enable

#

 system-working-mode standard

 password-recovery enable

#

vlan 1

#

dhcp server ip-pool GigabitEthernet0/0

 gateway-list 10.28.0.1

 network 10.28.0.0 mask 255.255.255.0

 address range 10.28.0.101 10.28.0.200

 dns-list 10.28.0.1

#

dhcp server ip-pool gigabitethernet0/1

 gateway-list 10.28.1.1

 network 10.28.1.0 mask 255.255.255.0

 address range 10.28.1.101 10.28.1.200

 dns-list 10.28.1.1

#

ipv6 dhcp pool slypool

 option-group 1

#

controller Cellular0/0

#

interface Dialer3

 mtu 1492

 ppp chap password cipher $c$3$vGSdC5n8D1UDzqQNjCfKsdO3pSAgQ/48Aw==

 ppp chap user SL10012046@E

 ppp ipcp dns admit-any

 ppp ipcp dns request

 ppp pap local-user SL10012046@E password cipher $c$3$Rz99HEepvjJX4eNVVbYVTGAa/ZEkzzBBfg==

 dialer bundle enable

 dialer-group 4

 dialer timer idle 0

 dialer timer autodial 5

 ip address ppp-negotiate

 tcp mss 1280

 nat outbound

 ipv6 address auto link-local

 ipv6 dhcp client stateful prefix 1 rapid-commit option-group 1

#

interface NULL0

#

interface GigabitEthernet0/0

 port link-mode route

 description LAN-interface

 ip address 10.28.0.1 255.255.255.0

 tcp mss 1280

 ipv6 dhcp select server

 ipv6 dhcp server apply pool slypool

 ipv6 address 1 1::1/64

 ipv6 nd autoconfig other-flag

 undo ipv6 nd ra halt

#

interface GigabitEthernet0/1

 port link-mode route

 description LAN-interface

 ip address 10.28.1.1 255.255.255.0

 tcp mss 1280

#

interface GigabitEthernet0/2

 port link-mode route

 combo enable copper

#

interface GigabitEthernet0/3

 port link-mode route

 description Single_Line1

 combo enable copper

 pppoe-client dial-bundle-number 3

#

interface GigabitEthernet0/4

 port link-mode route

#

interface GigabitEthernet0/5

 port link-mode route

#

 scheduler logfile size 16

#

line class console

 user-role network-admin

#

line class tty

 user-role network-operator

#

line class vty

 user-role network-operator

#

line con 0

 user-role network-admin

#

line vty 0 63

 authentication-mode scheme

 user-role network-operator

#

 ip route-static 0.0.0.0 0 Dialer3

 ipv6 route-static :: 0 Dialer3

#

 info-center loghost 127.0.0.1 port 3301

 info-center source CFGLOG loghost level informational

#

performance-management

#

 ntp-service enable

#

 password-control enable

 undo password-control aging enable

 undo password-control history enable

 password-control length 6

 password-control login-attempt 3 exceed lock-time 10

 password-control update-interval 0

 password-control login idle-time 0

#

domain system

#

 domain default enable system

#

role name level-0

 description Predefined level-0 role

#

role name level-1

 description Predefined level-1 role

#

role name level-2

 description Predefined level-2 role

#

role name level-3

 description Predefined level-3 role

#

role name level-4

 description Predefined level-4 role

#

role name level-5

 description Predefined level-5 role

#

role name level-6

 description Predefined level-6 role

#

role name level-7

 description Predefined level-7 role

#

role name level-8

 description Predefined level-8 role

#

role name level-9

 description Predefined level-9 role

#

role name level-10

 description Predefined level-10 role

#

role name level-11

 description Predefined level-11 role

#

role name level-12

 description Predefined level-12 role

#

role name level-13

 description Predefined level-13 role

#

role name level-14

 description Predefined level-14 role

#

user-group system

#

local-user admin class manage

 service-type telnet http

 authorization-attribute user-role network-admin

#

 ip http enable

 web new-style

#

wlan ap-group default-group

 vlan 1

#

return

组网及组网描述:

#

 version 7.1.064, Release 0821P11

#

 sysname SlyRouter

#

 clock timezone Beijing add 08:00:00

 clock protocol ntp

#

wlan global-configuration

#

 security-zone intra-zone default permit

#

 dialer-group 4 rule ip permit

#

 nat alg h323

 nat alg ils

 nat alg mgcp

 nat alg nbt

 nat alg rsh

 nat alg sccp

 nat alg sip

 nat alg sqlnet

 nat alg tftp

 nat alg xdmcp

#

 dhcp enable

 dhcp server always-broadcast

#

 dns proxy enable

#

 system-working-mode standard

 password-recovery enable

#

vlan 1

#

dhcp server ip-pool GigabitEthernet0/0

 gateway-list 10.28.0.1

 network 10.28.0.0 mask 255.255.255.0

 address range 10.28.0.101 10.28.0.200

 dns-list 10.28.0.1

#

dhcp server ip-pool gigabitethernet0/1

 gateway-list 10.28.1.1

 network 10.28.1.0 mask 255.255.255.0

 address range 10.28.1.101 10.28.1.200

 dns-list 10.28.1.1

#

ipv6 dhcp pool slypool

 option-group 1

#

controller Cellular0/0

#

interface Dialer3

 mtu 1492

 ppp chap password cipher $c$3$vGSdC5n8D1UDzqQNjCfKsdO3pSAgQ/48Aw==

 ppp chap user SL10012046@E

 ppp ipcp dns admit-any

 ppp ipcp dns request

 ppp pap local-user SL10012046@E password cipher $c$3$Rz99HEepvjJX4eNVVbYVTGAa/ZEkzzBBfg==

 dialer bundle enable

 dialer-group 4

 dialer timer idle 0

 dialer timer autodial 5

 ip address ppp-negotiate

 tcp mss 1280

 nat outbound

 ipv6 address auto link-local

 ipv6 dhcp client stateful prefix 1 rapid-commit option-group 1

#

interface NULL0

#

interface GigabitEthernet0/0

 port link-mode route

 description LAN-interface

 ip address 10.28.0.1 255.255.255.0

 tcp mss 1280

 ipv6 dhcp select server

 ipv6 dhcp server apply pool slypool

 ipv6 address 1 1::1/64

 ipv6 nd autoconfig other-flag

 undo ipv6 nd ra halt

#

interface GigabitEthernet0/1

 port link-mode route

 description LAN-interface

 ip address 10.28.1.1 255.255.255.0

 tcp mss 1280

#

interface GigabitEthernet0/2

 port link-mode route

 combo enable copper

#

interface GigabitEthernet0/3

 port link-mode route

 description Single_Line1

 combo enable copper

 pppoe-client dial-bundle-number 3

#

interface GigabitEthernet0/4

 port link-mode route

#

interface GigabitEthernet0/5

 port link-mode route

#

 scheduler logfile size 16

#

line class console

 user-role network-admin

#

line class tty

 user-role network-operator

#

line class vty

 user-role network-operator

#

line con 0

 user-role network-admin

#

line vty 0 63

 authentication-mode scheme

 user-role network-operator

#

 ip route-static 0.0.0.0 0 Dialer3

 ipv6 route-static :: 0 Dialer3

#

 info-center loghost 127.0.0.1 port 3301

 info-center source CFGLOG loghost level informational

#

performance-management

#

 ntp-service enable

#

 password-control enable

 undo password-control aging enable

 undo password-control history enable

 password-control length 6

 password-control login-attempt 3 exceed lock-time 10

 password-control update-interval 0

 password-control login idle-time 0

#

domain system

#

 domain default enable system

#

role name level-0

 description Predefined level-0 role

#

role name level-1

 description Predefined level-1 role

#

role name level-2

 description Predefined level-2 role

#

role name level-3

 description Predefined level-3 role

#

role name level-4

 description Predefined level-4 role

#

role name level-5

 description Predefined level-5 role

#

role name level-6

 description Predefined level-6 role

#

role name level-7

 description Predefined level-7 role

#

role name level-8

 description Predefined level-8 role

#

role name level-9

 description Predefined level-9 role

#

role name level-10

 description Predefined level-10 role

#

role name level-11

 description Predefined level-11 role

#

role name level-12

 description Predefined level-12 role

#

role name level-13

 description Predefined level-13 role

#

role name level-14

 description Predefined level-14 role

#

user-group system

#

local-user admin class manage

 service-type telnet http

 authorization-attribute user-role network-admin

#

 ip http enable

 web new-style

#

wlan ap-group default-group

 vlan 1

#

return

最佳答案

粉丝:135人 关注:6人

您好,请知:

如果要作为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


如果是要作为客户端进行IPV6拨号,以下是参考命令:

<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

您好,我的帖子中就是这么配置的,您可以具体看一下

Slymitec 发表时间:2021-05-14 更多>>

您好,我的帖子中就是这么配置的,您可以具体看一下

Slymitec 发表时间:2021-05-14
2 个回答
粉丝:2人 关注:0人

不太理解要问什么

GE3连接的光猫是工作在桥接模式下,因此路由器负责PPPOE拨号,ipv4都正常,就是ipv6死活分配不了,导致计算机无法获得ipv6地址

Slymitec 发表时间:2021-05-14 更多>>

就是这个配置究竟哪里写错了,造成GE0上的电脑无法获取正确的ipv6地址

Slymitec 发表时间:2021-05-14

GE3连接的光猫是工作在桥接模式下,因此路由器负责PPPOE拨号,ipv4都正常,就是ipv6死活分配不了,导致计算机无法获得ipv6地址

Slymitec 发表时间:2021-05-14
粉丝:249人 关注:0人

您好,参考ICG3000的ipv6配置

您好,参考了,上面已经按照参考的写的,但是就是不工作

Slymitec 发表时间:2021-05-14 更多>>

您好,参考了,上面已经按照参考的写的,但是就是不工作

Slymitec 发表时间:2021-05-14

编辑答案

你正在编辑答案

如果你要对问题或其他回答进行点评或询问,请使用评论功能。

分享扩散:

提出建议

    +

亲~登录后才可以操作哦!

确定

亲~检测到您登陆的账号未在http://hclhub.h3c.com进行注册

注册后可访问此模块

跳转hclhub

你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作

举报

×

侵犯我的权益 >
对根叔社区有害的内容 >
辱骂、歧视、挑衅等(不友善)

侵犯我的权益

×

泄露了我的隐私 >
侵犯了我企业的权益 >
抄袭了我的内容 >
诽谤我 >
辱骂、歧视、挑衅等(不友善)
骚扰我

泄露了我的隐私

×

您好,当您发现根叔知了上有泄漏您隐私的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您认为哪些内容泄露了您的隐私?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)

侵犯了我企业的权益

×

您好,当您发现根叔知了上有关于您企业的造谣与诽谤、商业侵权等内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到 pub.zhiliao@h3c.com 邮箱,我们会在审核后尽快给您答复。
  • 1. 您举报的内容是什么?(请在邮件中列出您举报的内容和链接地址)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
  • 3. 是哪家企业?(营业执照,单位登记证明等证件)
  • 4. 您与该企业的关系是?(您是企业法人或被授权人,需提供企业委托授权书)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

抄袭了我的内容

×

原文链接或出处

诽谤我

×

您好,当您发现根叔知了上有诽谤您的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您举报的内容以及侵犯了您什么权益?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔社区有害的内容

×

垃圾广告信息
色情、暴力、血腥等违反法律法规的内容
政治敏感
不规范转载 >
辱骂、歧视、挑衅等(不友善)
骚扰我
诱导投票

不规范转载

×

举报说明