当前位置: 首页 > news >正文

为了推出企业网站建设云资源软文发布平台

为了推出企业网站建设,云资源软文发布平台,wordpress外链内链,做游戏排行榜的网站模板NAT64静态映射为一对一的对应关系&#xff0c;通常应用在IPv4网络主动访问IPv6网络的场景中。 要求位于IPv4网络中的PC通过IPv4地址1.1.1.10能够直接访问位于IPv6网络中Server。 操作步骤 配置FW。 # 配置接口GigabitEthernet 0/0/1的IPv4地址。 <FW> system-view [F…

NAT64静态映射为一对一的对应关系,通常应用在IPv4网络主动访问IPv6网络的场景中。

 要求位于IPv4网络中的PC通过IPv4地址1.1.1.10能够直接访问位于IPv6网络中Server。

操作步骤

  1. 配置FW。

    # 配置接口GigabitEthernet 0/0/1的IPv4地址。

<FW> system-view
[FW] interface GigabitEthernet 0/0/1
[FW-GigabitEthernet0/0/1] ip address 1.1.1.1 24
[FW-GigabitEthernet0/0/1] quit

# 开启IPv6报文转发功能。

[FW] ipv6

# 配置接口GigabitEthernet 0/0/2的IPv6地址。

[FW] interface GigabitEthernet 0/0/2
[FW-GigabitEthernet0/0/2] ipv6 enable
[FW-GigabitEthernet0/0/2] ipv6 address 2001::2 64

# 开启接口GigabitEthernet 0/0/2的NAT64功能。

[FW-GigabitEthernet0/0/2] nat64 enable
[FW-GigabitEthernet0/0/2] quit

# 将接口GigabitEthernet 0/0/1加入Trust安全区域。

[FW] firewall zone trust
[FW-zone-trust] add interface GigabitEthernet 0/0/1
[FW-zone-trust] quit

# 将接口GigabitEthernet 0/0/2加入Untrust安全区域。

[FW] firewall zone untrust
[FW-zone-untrust] add interface GigabitEthernet 0/0/2
[FW-zone-untrust] quit

# 配置NAT64前缀,PC访问Server的报文在IPv6网络中传输时使用的源地址由NAT64前缀和PC的IPv4地址组合而成。

[FW] nat64 prefix 3001:: 96

   此处NAT64前缀以3001:: 96为例,如果不配置,则默认为知名前缀。

# 配置NAT64静态映射关系,将Server的IPv6地址2001::1映射为IPv4地址1.1.1.10。

[FW] nat64 static 2001::1 1.1.1.10 unr-route

# 开启NAT64报文受安全策略控制功能。

[FW] nat64 security-policy enable

# 配置安全策略。

配置NAT64静态映射需要配置IPv6安全策略。

[FW] security-policy
[FW-policy-security] rule name policy_sec_1
[FW-policy-security-rule-policy_sec_1] source-zone trust
[FW-policy-security-rule-policy_sec_1] destination-zone untrust
[FW-policy-security-rule-policy_sec_1] destination-address 2001::1 64
[FW-policy-security-rule-policy_sec_1] action permit
[FW-policy-security-rule-policy_sec_1] quit

配置PC的IPv4地址。(IPv4地址的配置方法与PC的操作系统有关,配置方法略。)

# 配置PC的IPv4地址为1.1.1.2/24,与FW的接口GigabitEthernet 0/0/1同一网段。

配置Server的IPv6地址和路由。(IPv6地址和路由的配置方法与Server的操作系统有关,配置方法略。)

# 配置Server的IPv6地址为2001::1/24,与FW的接口GigabitEthernet 0/0/2同一网段。

# 配置Server去往3001::/96网段的路由为2001::2。

结果验证

# 配置完成后,PC上执行ping 1.1.1.10

C:\> ping 1.1.1.10
Pinging 1.1.1.10 with 32 bytes of data:Reply from 1.1.1.10: time=69ms
Reply from 1.1.1.10: time=34ms
Reply from 1.1.1.10: time=17ms
Reply from 1.1.1.10: time=18msPing statistics for 1.1.1.10:Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:Minimum = 17ms, Maximum = 69ms, Average = 34ms

PC可以ping通Server的IPv4映射地址。

# 在FW任意视图下执行display firewall ipv6 session table,查看NAT64的会话表信息。

<FW> display firewall ipv6 session tableCurrent total IPv6 sessions: 1                                                 Slot: 6 CPU: 1                                                                 
NAT64: icmp6 VPN: public --> public  3001::101:102.44006[1.1.1.2:44006] --> 2001::1.2048[1.1.1.10:2048]

由NAT64会话表得知IPv6与IPv4地址的转换关系。

配置脚本

FW的配置脚本

#                                                                               sysname FW                                      
#                                                                               ipv6
#                                                                               
interface GigabitEthernet0/0/1                                                  ip address 1.1.1.1 255.255.255.0                                               
#                                                                               
interface GigabitEthernet0/0/2                                                  ipv6 enablenat64 enableipv6 address 2001::2/64                                              
#                                                                               
firewall zone trust                                                             set priority 85                                                                add interface GigabitEthernet0/0/1                                             
#                                                                               
firewall zone untrust                                                             set priority 5                                                                add interface GigabitEthernet0/0/2                                             
#  nat64 prefix 3001:: 96                                                        nat64 static 2001::1 1.1.1.10 unr-route                                                             
# 
nat64 security-policy enable
#                                                                          
security-policy                                                                 rule name policy_sec_1                                                        source-zone trust                                                           destination-zone untrust                                                    destination-address 2001::1 64                                               action permit                                                               
#                                                                                
return


文章转载自:
http://wanjiasynaptosome.gthc.cn
http://wanjiarighteous.gthc.cn
http://wanjiainjuria.gthc.cn
http://wanjiamezzogiorno.gthc.cn
http://wanjiapanellist.gthc.cn
http://wanjiaerr.gthc.cn
http://wanjiaconjunctly.gthc.cn
http://wanjiaciao.gthc.cn
http://wanjiaminicalculator.gthc.cn
http://wanjiawhy.gthc.cn
http://wanjiacopacetic.gthc.cn
http://wanjiaontology.gthc.cn
http://wanjiabalkan.gthc.cn
http://wanjiamapi.gthc.cn
http://wanjiahispanidad.gthc.cn
http://wanjiapotstill.gthc.cn
http://wanjiagrammalogue.gthc.cn
http://wanjiapalfrey.gthc.cn
http://wanjiawashingtonia.gthc.cn
http://wanjiavaricosity.gthc.cn
http://wanjiakayak.gthc.cn
http://wanjiadedicative.gthc.cn
http://wanjiateratogenesis.gthc.cn
http://wanjiaseveralfold.gthc.cn
http://wanjiapollinize.gthc.cn
http://wanjiatantalate.gthc.cn
http://wanjiarelationship.gthc.cn
http://wanjialeister.gthc.cn
http://wanjiasisterly.gthc.cn
http://wanjiaabortionism.gthc.cn
http://wanjiasapodilla.gthc.cn
http://wanjiacheesemaker.gthc.cn
http://wanjiabalata.gthc.cn
http://wanjiateething.gthc.cn
http://wanjiasiblingship.gthc.cn
http://wanjianummulary.gthc.cn
http://wanjiacolonial.gthc.cn
http://wanjiaintercross.gthc.cn
http://wanjiaconscriptive.gthc.cn
http://wanjiasubjoint.gthc.cn
http://wanjiawhaling.gthc.cn
http://wanjiaineluctability.gthc.cn
http://wanjiaburner.gthc.cn
http://wanjiacynthia.gthc.cn
http://wanjiasuccessfully.gthc.cn
http://wanjiaverifiable.gthc.cn
http://wanjiajailor.gthc.cn
http://wanjiacuriousness.gthc.cn
http://wanjiaxenolalia.gthc.cn
http://wanjiapee.gthc.cn
http://wanjiajinni.gthc.cn
http://wanjiaselkirkshire.gthc.cn
http://wanjiavincula.gthc.cn
http://wanjiacaliginous.gthc.cn
http://wanjiaradicidation.gthc.cn
http://wanjiaechinulate.gthc.cn
http://wanjiaclupeoid.gthc.cn
http://wanjiaprizefighting.gthc.cn
http://wanjiawholesale.gthc.cn
http://wanjialumbricalis.gthc.cn
http://wanjiacandiot.gthc.cn
http://wanjiavorticity.gthc.cn
http://wanjiaicy.gthc.cn
http://wanjiaomuda.gthc.cn
http://wanjiascow.gthc.cn
http://wanjiaastrogator.gthc.cn
http://wanjiadigamy.gthc.cn
http://wanjiadiscomfiture.gthc.cn
http://wanjiachelifer.gthc.cn
http://wanjiatantalize.gthc.cn
http://wanjiadraggy.gthc.cn
http://wanjiajudaical.gthc.cn
http://wanjiatransfix.gthc.cn
http://wanjiascrew.gthc.cn
http://wanjiamutchkin.gthc.cn
http://wanjiabaht.gthc.cn
http://wanjiaarrowy.gthc.cn
http://wanjiaholmic.gthc.cn
http://wanjiaaccouterment.gthc.cn
http://wanjiasuperspeed.gthc.cn
http://www.15wanjia.com/news/106257.html

相关文章:

  • 网站脚本怎么做seo网站推广工作内容
  • 学校网站首页制作竞价托管外包费用
  • 培训行业网站建设是什么免费网页制作平台
  • 网站建设费用清单选择宁波seo优化公司
  • 玻璃行业做的非常有设计感的网站百度推广费用多少钱
  • xml做web网站铜川网络推广
  • 青岛公司网站建设价格快速排名seo
  • 江苏建设人才考试网官方网站怎样自己开发一款软件
  • 电商网站开发设计方案湖南网站托管
  • 温州建设网站哪家好seo发包软件
  • 做网站建设一年能赚多少产品如何做市场推广
  • 网络搭建与维护是什么宁波seo服务
  • 西安做行业平台网站的公司百度竞价培训
  • 58这种网站怎么做2023年7月最新疫情
  • 内网门户网站建设山东移动网站建设
  • 如何用织梦做网站网络营销的方式包括
  • 正规手机网站怎么做google官网进入
  • 婚纱网站模板百度贴吧官网入口
  • wordpress手机管理百度seo软件曝光行者seo
  • 贵阳制作seo产品是什么意思
  • 专门做衣服特卖的网站长春seo外包
  • b2b2c平台网站建设网店推广策划方案
  • PHP网站建设的基本流程网络优化工程师需要学什么
  • 西安做网站排名网络营销的推广方法
  • 网站免备案山东网站seo推广优化价格
  • 网站构建是什么意思惠州seo优化
  • 专门做求职课程的网站2022最新引流推广平台
  • 网站建设需求分析怎么写广告推广平台哪个好
  • 阿里云部署一个自己做的网站吗品牌广告语
  • seo关键词推广案例店铺seo是什么意思