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

MSR3640-XS

2022-06-20提问
  • 0关注
  • 1收藏,1763浏览
粉丝:0人 关注:0人

问题描述:

IPv6访问IPv4公网,使用aft prefix-nat64 ,在出入口开启aft,三个出接口位置nat outband只针对IPv4网络,不转化IPv6转换后的IP地址。通过dis aft session ipv6 ver和dis aft session ipv4 ver命令可以查看到相关表项,但是下方接口统计包数量为0。

问题2:在所有外网接口都开启aft后,网络可以通,但是丢包率90%。

组网及组网描述:

组网结构:终端-/-(IPv6)网关(IPv4)-运营商公网。

结构说明:MSR3640-X下接IPv4网络和IPv6网络,上行通过一个拨号接口、两个专线链路访问外网,上行使用静态缺省路由,共三条;下行针对IPv4做了策略路由。


最佳答案

粉丝:16人 关注:0人

配置没有问题,现场是否有配置下面的终端ipv6网段到NAT64前缀2012::/96的路由?

根据现象看,可能是路由选路有问题,使能本地策略路由ip local policy-based-route xxx试试。

2 个回答
knox 七段
粉丝:2人 关注:4人

提供更为详细配置和表项信息看一下

version 7.1.064, Release 6728P1301 # object-group ipv6 address ipv6 0 network subnet 1::/64 # dhcp server ip-pool ipsub-60 gateway-list 192.168.60.254 network 192.168.60.0 mask 255.255.255.0 dns-list 114.114.114.114 # dhcp server ip-pool ipsub-62 gateway-list 192.168.62.254 network 192.168.62.0 mask 255.255.254.0 dns-list 114.114.114.114 # ipv6 dhcp pool ipv6 network 2013::/96 dns-server 2012::7272:7272 gateway-list 2013::1 # policy-based-route 1 permit node 10 if-match acl 3000 apply default-output-interface Dialer0 # policy-based-route 2 permit node 10 if-match acl 3001 apply default-next-hop 183.234.221.25 # interface Dialer0 ppp chap password cipher $c$3$aR2MMKUJkob8wLH2r18lRpblii0KdYnXBaky ppp chap user 07691206318114@163.gd ppp ipcp dns admit-any ppp ipcp dns request ppp pap local-user 07691206318114@163.gd password cipher $c$3$J7gU2I2Dg1hn2SqmizmixhT5D380QN4Gu248 dialer bundle enable dialer-group 1 dialer timer idle 0 dialer timer autodial 5 ip address ppp-negotiate tcp mss 1440 ip mtu 1492 nat outbound # interface GigabitEthernet0/1 port link-mode route pppoe-client dial-bundle-number 0 # interface GigabitEthernet0/2 port link-mode route ip address 183.234.221.27 255.255.255.248 nat outbound 3002 aft enable # interface GigabitEthernet0/5 port link-mode route aft enable dhcp server apply ip-pool ipv6 ipv6 dhcp select server ipv6 dhcp server allow-hint preference 255 rapid-commit ipv6 policy-based-route ipv6 ipv6 address 2013::1/96 ipv6 nd autoconfig managed-address-flag ipv6 nd autoconfig other-flag undo ipv6 nd ra halt # interface GigabitEthernet0/6 port link-mode route ip address 192.168.60.254 255.255.255.0 dhcp server apply ip-pool ipsub-60 ip policy-based-route 1 # interface GigabitEthernet0/7 port link-mode route ip address 192.168.62.254 255.255.254.0 dhcp server apply ip-pool ipsub-62 ip policy-based-route 2 # ip route-static 0.0.0.0 0 Dialer0 ip route-static 0.0.0.0 0 183.234.221.25 # acl advanced 3000 rule 0 permit ip source 192.168.60.0 0.0.0.255 # acl advanced 3001 rule 0 permit ip source 192.168.62.0 0.0.1.255 # acl advanced 3002 rule 0 permit ip source 192.168.60.0 0.0.0.255 rule 5 permit ip source 192.168.62.0 0.0.0.255 # acl ipv6 advanced 3000 rule 5 permit ipv6 source 2013::/96 # aft address-group 0 address 183.234.221.27 183.234.221.27 # aft prefix-nat64 2012:: 96 aft v6tov4 source acl ipv6 number 3000 address-group 0 #

新手入坑 发表时间:2022-06-20 更多>>

version 7.1.064, Release 6728P1301 # object-group ipv6 address ipv6 0 network subnet 1::/64 # dhcp server ip-pool ipsub-60 gateway-list 192.168.60.254 network 192.168.60.0 mask 255.255.255.0 dns-list 114.114.114.114 # dhcp server ip-pool ipsub-62 gateway-list 192.168.62.254 network 192.168.62.0 mask 255.255.254.0 dns-list 114.114.114.114 # ipv6 dhcp pool ipv6 network 2013::/96 dns-server 2012::7272:7272 gateway-list 2013::1 # policy-based-route 1 permit node 10 if-match acl 3000 apply default-output-interface Dialer0 # policy-based-route 2 permit node 10 if-match acl 3001 apply default-next-hop 183.234.221.25 # interface Dialer0 ppp chap password cipher $c$3$aR2MMKUJkob8wLH2r18lRpblii0KdYnXBaky ppp chap user 07691206318114@163.gd ppp ipcp dns admit-any ppp ipcp dns request ppp pap local-user 07691206318114@163.gd password cipher $c$3$J7gU2I2Dg1hn2SqmizmixhT5D380QN4Gu248 dialer bundle enable dialer-group 1 dialer timer idle 0 dialer timer autodial 5 ip address ppp-negotiate tcp mss 1440 ip mtu 1492 nat outbound # interface GigabitEthernet0/1 port link-mode route pppoe-client dial-bundle-number 0 # interface GigabitEthernet0/2 port link-mode route ip address 183.234.221.27 255.255.255.248 nat outbound 3002 aft enable # interface GigabitEthernet0/5 port link-mode route aft enable dhcp server apply ip-pool ipv6 ipv6 dhcp select server ipv6 dhcp server allow-hint preference 255 rapid-commit ipv6 policy-based-route ipv6 ipv6 address 2013::1/96 ipv6 nd autoconfig managed-address-flag ipv6 nd autoconfig other-flag undo ipv6 nd ra halt # interface GigabitEthernet0/6 port link-mode route ip address 192.168.60.254 255.255.255.0 dhcp server apply ip-pool ipsub-60 ip policy-based-route 1 # interface GigabitEthernet0/7 port link-mode route ip address 192.168.62.254 255.255.254.0 dhcp server apply ip-pool ipsub-62 ip policy-based-route 2 # ip route-static 0.0.0.0 0 Dialer0 ip route-static 0.0.0.0 0 183.234.221.25 # acl advanced 3000 rule 0 permit ip source 192.168.60.0 0.0.0.255 # acl advanced 3001 rule 0 permit ip source 192.168.62.0 0.0.1.255 # acl advanced 3002 rule 0 permit ip source 192.168.60.0 0.0.0.255 rule 5 permit ip source 192.168.62.0 0.0.0.255 # acl ipv6 advanced 3000 rule 5 permit ipv6 source 2013::/96 # aft address-group 0 address 183.234.221.27 183.234.221.27 # aft prefix-nat64 2012:: 96 aft v6tov4 source acl ipv6 number 3000 address-group 0 #

新手入坑 发表时间:2022-06-20
粉丝:0人 关注:0人

version 7.1.064, Release 6728P1301
#
object-group ipv6 address ipv6
0 network subnet 1::/64
#
dhcp server ip-pool ipsub-60
gateway-list 192.168.60.254
network 192.168.60.0 mask 255.255.255.0
dns-list 114.114.114.114
#
dhcp server ip-pool ipsub-62
gateway-list 192.168.62.254
network 192.168.62.0 mask 255.255.254.0
dns-list 114.114.114.114
#
ipv6 dhcp pool ipv6
network 2013::/96
dns-server 2012::7272:7272
gateway-list 2013::1
#
policy-based-route 1 permit node 10
if-match acl 3000
apply default-output-interface Dialer0
#
policy-based-route 2 permit node 10
if-match acl 3001
apply default-next-hop 183.234.221.25
#
interface Dialer0
ppp chap password cipher $c$3$aR2MMKUJkob8wLH2r18lRpblii0KdYnXBaky
ppp chap user 07691206318114@163.gd
ppp ipcp dns admit-any
ppp ipcp dns request
ppp pap local-user 07691206318114@163.gd password cipher $c$3$J7gU2I2Dg1hn2SqmizmixhT5D380QN4Gu248
dialer bundle enable
dialer-group 1
dialer timer idle 0
dialer timer autodial 5
ip address ppp-negotiate
tcp mss 1440
ip mtu 1492
nat outbound
#
interface GigabitEthernet0/1
port link-mode route
pppoe-client dial-bundle-number 0
#
interface GigabitEthernet0/2
port link-mode route
ip address 183.234.221.27 255.255.255.248
nat outbound 3002
aft enable
#
interface GigabitEthernet0/5
port link-mode route
aft enable
dhcp server apply ip-pool ipv6
ipv6 dhcp select server
ipv6 dhcp server allow-hint preference 255 rapid-commit
ipv6 policy-based-route ipv6
ipv6 address 2013::1/96
ipv6 nd autoconfig managed-address-flag
ipv6 nd autoconfig other-flag
undo ipv6 nd ra halt
#
interface GigabitEthernet0/6
port link-mode route
ip address 192.168.60.254 255.255.255.0
dhcp server apply ip-pool ipsub-60
ip policy-based-route 1
#
interface GigabitEthernet0/7
port link-mode route
ip address 192.168.62.254 255.255.254.0
dhcp server apply ip-pool ipsub-62
ip policy-based-route 2
#
ip route-static 0.0.0.0 0 Dialer0
ip route-static 0.0.0.0 0 183.234.221.25
#
acl advanced 3000
rule 0 permit ip source 192.168.60.0 0.0.0.255
#
acl advanced 3001
rule 0 permit ip source 192.168.62.0 0.0.1.255
#
acl advanced 3002
rule 0 permit ip source 192.168.60.0 0.0.0.255
rule 5 permit ip source 192.168.62.0 0.0.0.255
#
acl ipv6 advanced 3000
rule 5 permit ipv6 source 2013::/96
#
aft address-group 0
address 183.234.221.27 183.234.221.27
#
aft prefix-nat64 2012:: 96
aft v6tov4 source acl ipv6 number 3000 address-group 0
#

编辑答案

你正在编辑答案

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

分享扩散:

提出建议

    +

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

确定

亲~检测到您登陆的账号未在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. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔社区有害的内容

×

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

不规范转载

×

举报说明