基于eNSP的IPv6校园网络规划与设计_综合实验

前言及技术/资源下载说明( 未经允许禁止转发任何内容 )

有什么问题可以在评论区说明自己遇到的情况,博主看到会第一时间回复,希望其他人也可以回复别人的问题。

可根据以下所提供的设计与实现步骤过程一步一步自行实现(每一条命令都是关键的命令);但是如果有需要的也可以根据以下地址进行下载完整的topo图和完整的配置进行参考与借鉴,如若拿到topo图可多display查看配置,查看相应的命令,配套资源连接如下,相应的内容如下图所示:

基于eNSP的IPv6校园网络规划与设计_综合实验topo和完成配置+一步步的所有配置命令(ensp)+一步步可以直接刷的记事本命令可快速配置重复的工作+全程配置参考视频(可2倍速看)+相应地址规划表

基于eNSP的IPv6校园网络规划与设计_综合实验_第1张图片

以下是topo图的模样,相应的地址规划和路由规划大部分都在图中明确的标注了

基于eNSP的IPv6校园网络规划与设计_综合实验_第2张图片

该topo网络中用到的技术有vlan划分、单臂路由(路由器子接口配置)、VRRP6、OSPFv3、防火墙安全策略、DHCPv6、IPv6 over IPv4 GRE(也就是这个隧道技术)、默认路由(IPv4/IPv6)等技术,最后说明该topo规划最后的作者权归于:小王网

一、设计topo图与设计要求

基于eNSP的IPv6校园网络规划与设计_综合实验_第3张图片
设计要求:
总部的终端设备设置为静态地址,方便用户自行修改地址
在接入和汇聚的交换机进行合理的vlan 划分,减小广播域大小,提高网络稳定性
核心路由器作为用户网关实现vlan间路由
AR3/AR4配置VRRP6虚拟网关冗余
AR3/AR4/AR1配置OSPFv3实现三层路由
FW配置相应地址和安全策略,允许除vlan 20外的网段访问DMZ区
分校的终端设备在相应设备上配置DHCPv6,让用户能自动获取ipv6地址
总校与分校之间通过配置IPv6 over IPv4 GRE隧道互通
总校与分校之间通过隧道GRE能实现互通

二、相应地址规划表

基于eNSP的IPv6校园网络规划与设计_综合实验_第4张图片
基于eNSP的IPv6校园网络规划与设计_综合实验_第5张图片

三、ensp典型中小型企业网搭建(带无线)(可不看)

插曲部分: ensp典型中小型企业网络搭建_带无线_设计实验,如下图(但并不在这篇文章中做详细介绍和说明,如查看可点击链接自行查看阅读):
基于eNSP的IPv6校园网络规划与设计_综合实验_第6张图片

每个部门划分一个VLAN,部门内互通,各部门根据ACL规则实现互通。
内网使用私网IP,为每个部门分配一个24位掩码长度的私网段,实现上网。
部门主机采用DHCP自动获取地址,减少管理员手动分配的任务量,方便管理与维护。
运行OSPF协议,提高收敛速度。而且OSPF可以适应拓扑变化,路由自动学习,防止路由环路,提高拓扑稳定性。
接入层和汇聚层交换机配置MSTP和VRRP技术,实现设备冗余、线路可靠、数据负载分担,能够保证主设备故障后,可以快速切换到备用设备,不影响业务转发。
增加防火墙设备,设置安全区域,控制部门主机、服务器和外网设备的数据转发,保证公司网络的安全性。
出口采用光纤接入,汇聚层交换机进行链路聚合,提高网络带宽,实现运营商万兆接入,千兆到部门,百兆到桌面的体验。
公司内部实现无线全覆盖,保障内部终端设备可以无线接入并上网。
汇聚层交换机配置ACL控制访问技术,实现市场部和行政部不通,财务部只能和行政部互通,其他部门全互通的网络需求。
SNAT:应用于内网用户访问Internet时进行的地址转换将私网地址转为公网地址,这里我们采用easy-ip的NAT,保证公司上网采用出接口地址。
DNAT:使的外网用户能够访问内部服务器,用户访问202.96.137.88:8080时,防火墙将流量能够送给内网的WEB服务器。当用户访问202.96.137.88:21时防火墙将目的地址转换为172.16.50.20:21 访问公司的FTP服务器。

四、该网络规划全过程(顺着一步一步走)

1、接入层vlan划分

    LSW5:
sys
[Huawei]un in en
[Huawei]sysname LSW5
[LSW5]vlan 10
[LSW5-vlan10]qui
[LSW5]int e0/0/1
[LSW5-Ethernet0/0/1]port link-type access
[LSW5-Ethernet0/0/1]port default vlan 10
[LSW5-Ethernet0/0/1]int e0/0/2
[LSW5-Ethernet0/0/2]port link-type trunk
[LSW5-Ethernet0/0/2]port trunk allow-pass vlan all
[LSW5-Ethernet0/0/2]qui
    LSW6:
sys
[Huawei]un in en
Info: Information center is disabled.
[Huawei]sysname LSW6
[LSW6]vlan 10
[LSW6-vlan10]qui
[LSW6]int e0/0/1
[LSW6-Ethernet0/0/1]port link-type access
[LSW6-Ethernet0/0/1]port default vlan 10
[LSW6-Ethernet0/0/1]int e0/0/2
[LSW6-Ethernet0/0/2]port link-type trunk
[LSW6-Ethernet0/0/2]port trunk allow-pass vlan all
[LSW6-Ethernet0/0/2]qui
    LSW7:
sys
Enter system view, return user view with Ctrl+Z.
[Huawei]un in en
Info: Information center is disabled.
[Huawei]sysname LSW7
[LSW7]vlan 20
[LSW7-vlan20]qui
[LSW7]int e0/0/1
[LSW7-Ethernet0/0/1]port link-type access
[LSW7-Ethernet0/0/1]port default vlan 20
[LSW7-Ethernet0/0/1]int e0/0/2
[LSW7-Ethernet0/0/2]port link-type trunk
[LSW7-Ethernet0/0/2]port trunk allow-pass vlan all
[LSW7-Ethernet0/0/2]qui
    LSW8:
sys
[Huawei]un in en
[Huawei]sysname LSW8
[LSW8]vlan 21
[LSW8-vlan21]qui
[LSW8]int e0/0/1
[LSW8-Ethernet0/0/1]port link-type access
[LSW8-Ethernet0/0/1]port default vlan 21
[LSW8-Ethernet0/0/1]int e0/0/2
[LSW8-Ethernet0/0/2]port link-type trunk
[LSW8-Ethernet0/0/2]port trunk allow-pass vlan all
[LSW8-Ethernet0/0/2]qui
    LSW9:
sys
[Huawei]un in en
[Huawei]sysname LSW9
[LSW9]vlan 30
[LSW9-vlan30]qui
[LSW9]int e0/0/2
[LSW9-Ethernet0/0/2]port link-type access
[LSW9-Ethernet0/0/2]port default vlan 30
[LSW9-Ethernet0/0/2]int e0/0/1
[LSW9-Ethernet0/0/1]port link-type trunk
[LSW9-Ethernet0/0/1]port trunk allow-pass vlan all
[LSW9-Ethernet0/0/1]qui
    LSW10:
sys
[Huawei]un in en
[Huawei]sysname LSW10
[LSW10]vlan 31
[LSW10-vlan31]qui
[LSW10]int e0/0/2
[LSW10-Ethernet0/0/2]port link-type access
[LSW10-Ethernet0/0/2]port default vlan 31
[LSW10-Ethernet0/0/2]int e0/0/1
[LSW10-Ethernet0/0/1]port link-type trunk
[LSW10-Ethernet0/0/1]port trunk allow-pass vlan all
[LSW10-Ethernet0/0/1]qui
    LSW11:
sys
[Huawei]un in en
[Huawei]sysname LSW11
[LSW11]vlan 40
[LSW11-vlan40]qui
[LSW11]int e0/0/1
[LSW11-Ethernet0/0/1]port link-type access
[LSW11-Ethernet0/0/1]port default vlan 40
[LSW11-Ethernet0/0/1]int e0/0/2
[LSW11-Ethernet0/0/2]port link-type trunk
[LSW11-Ethernet0/0/2]port trunk allow-pass vlan all
[LSW11-Ethernet0/0/2]qui
    LSW12:
sys
Enter system view, return user view with Ctrl+Z.
[Huawei]un in en
Info: Information center is disabled.
[Huawei]sysname LSW12
[LSW12]vlan 41
[LSW12-vlan41]qui
[LSW12]int e0/0/1
[LSW12-Ethernet0/0/1]port link-type access
[LSW12-Ethernet0/0/1]port default vlan 41
[LSW12-Ethernet0/0/1]int e0/0/2
[LSW12-Ethernet0/0/2]port link-type trunk
[LSW12-Ethernet0/0/2]port trunk allow-pass vlan all
[LSW12-Ethernet0/0/2]qui

2、汇聚层vlan划分

    LSW1:
sys
Enter system view, return user view with Ctrl+Z.
[Huawei]un in en
Info: Information center is disabled.
[Huawei]sysname LSW1
[LSW1]vlan 10
[LSW1-vlan10]qui
[LSW1]port-group group-member g0/0/1 to g0/0/4
[LSW1-port-group]port link-type trunk
[LSW1-GigabitEthernet0/0/1]port link-type trunk
[LSW1-GigabitEthernet0/0/2]port link-type trunk
[LSW1-GigabitEthernet0/0/3]port link-type trunk
[LSW1-GigabitEthernet0/0/4]port link-type trunk
[LSW1-port-group]port trunk allow-pass vlan all
[LSW1-GigabitEthernet0/0/1]port trunk allow-pass vlan all
[LSW1-GigabitEthernet0/0/2]port trunk allow-pass vlan all
[LSW1-GigabitEthernet0/0/3]port trunk allow-pass vlan all
[LSW1-GigabitEthernet0/0/4]port trunk allow-pass vlan all
[LSW1-port-group]qui
    LSW2:
sys
Enter system view, return user view with Ctrl+Z.
[Huawei]un in en
Info: Information center is disabled.
[Huawei]sysname LSW2
[LSW2]vlan batch 20 21
Info: This operation may take a few seconds. Please wait for a moment...done.
[LSW2]port-group group-member g0/0/1 to g0/0/4
[LSW2-port-group]port link-type trunk
[LSW2-GigabitEthernet0/0/1]port link-type trunk
[LSW2-GigabitEthernet0/0/2]port link-type trunk
[LSW2-GigabitEthernet0/0/3]port link-type trunk
[LSW2-GigabitEthernet0/0/4]port link-type trunk
[LSW2-port-group]port trunk allow-pass vlan all
[LSW2-GigabitEthernet0/0/1]port trunk allow-pass vlan all
[LSW2-GigabitEthernet0/0/2]port trunk allow-pass vlan all
[LSW2-GigabitEthernet0/0/3]port trunk allow-pass vlan all
[LSW2-GigabitEthernet0/0/4]port trunk allow-pass vlan all
[LSW2-port-group]qui
    LSW3:
sys
Enter system view, return user view with Ctrl+Z.
[Huawei]un in en
Info: Information center is disabled.
[Huawei]sysname LSW3
[LSW3]vlan batch 30 31
Info: This operation may take a few seconds. Please wait for a moment...done.
[LSW3]port-group group-member g0/0/1 to g0/0/4
[LSW3-port-group]port link-type trunk
[LSW3-GigabitEthernet0/0/1]port link-type trunk
[LSW3-GigabitEthernet0/0/2]port link-type trunk
[LSW3-GigabitEthernet0/0/3]port link-type trunk
[LSW3-GigabitEthernet0/0/4]port link-type trunk
[LSW3-port-group]port trunk allow-pass vlan all
[LSW3-GigabitEthernet0/0/1]port trunk allow-pass vlan all
[LSW3-GigabitEthernet0/0/2]port trunk allow-pass vlan all
[LSW3-GigabitEthernet0/0/3]port trunk allow-pass vlan all
[LSW3-GigabitEthernet0/0/4]port trunk allow-pass vlan all
[LSW3-port-group]qui
    LSW4:
sys
Enter system view, return user view with Ctrl+Z.
[Huawei]un in en
Info: Information center is disabled.
[Huawei]sysname LSW4
[LSW4]vlan batch 40 41
Info: This operation may take a few seconds. Please wait for a moment...done.
[LSW4]port-group group-member g0/0/1 to g0/0/4
[LSW4-port-group]port link-type trunk
[LSW4-GigabitEthernet0/0/1]port link-type trunk
[LSW4-GigabitEthernet0/0/2]port link-type trunk
[LSW4-GigabitEthernet0/0/3]port link-type trunk
[LSW4-GigabitEthernet0/0/4]port link-type trunk
[LSW4-port-group]port trunk allow-pass vlan all
[LSW4-GigabitEthernet0/0/1]port trunk allow-pass vlan all
[LSW4-GigabitEthernet0/0/2]port trunk allow-pass vlan all
[LSW4-GigabitEthernet0/0/3]port trunk allow-pass vlan all
[LSW4-GigabitEthernet0/0/4]port trunk allow-pass vlan all
[LSW4-port-group]qui

3、核心层子接口地址配置

    AR3:
sys
[Huawei]un in en
[Huawei]sysname AR3
[AR3]ipv6
[AR3]int g0/0/0.10
[AR3-GigabitEthernet0/0/0.10]dot1q termination vid 10
[AR3-GigabitEthernet0/0/0.10]arp broadcast enable
[AR3-GigabitEthernet0/0/0.10]ipv6 enable 
[AR3-GigabitEthernet0/0/0.10]ipv6 address 1000::100/64 
[AR3-GigabitEthernet0/0/0.10]int g0/0/1.20
[AR3-GigabitEthernet0/0/1.20]dot1q termination vid 20
[AR3-GigabitEthernet0/0/1.20]arp broadcast enable
[AR3-GigabitEthernet0/0/1.20]ipv6 enable 
[AR3-GigabitEthernet0/0/1.20]ipv6 address 2000::100/64 
[AR3-GigabitEthernet0/0/1.20]int g0/0/1.21
[AR3-GigabitEthernet0/0/1.21]dot1q termination vid 21
[AR3-GigabitEthernet0/0/1.21]arp broadcast enable
[AR3-GigabitEthernet0/0/1.21]ipv6 enable 
[AR3-GigabitEthernet0/0/1.21]ipv6 address 2001::100/64 
[AR3-GigabitEthernet0/0/1.21]int g0/0/2.30
[AR3-GigabitEthernet0/0/2.30]dot1q termination vid 30
[AR3-GigabitEthernet0/0/2.30]arp broadcast enable
[AR3-GigabitEthernet0/0/2.30]ipv6 enable 
[AR3-GigabitEthernet0/0/2.30]ipv6 address 3000::100/64
[AR3-GigabitEthernet0/0/2.30]int g0/0/2.31
[AR3-GigabitEthernet0/0/2.31]dot1q termination vid 31
[AR3-GigabitEthernet0/0/2.31]arp broadcast enable
[AR3-GigabitEthernet0/0/2.31]ipv6 enable 
[AR3-GigabitEthernet0/0/2.31]ipv6 address 3001::100/64 
[AR3-GigabitEthernet0/0/2.31]int g4/0/0.40
[AR3-GigabitEthernet4/0/0.40]dot1q termination vid 40
[AR3-GigabitEthernet4/0/0.40]arp broadcast enable
[AR3-GigabitEthernet4/0/0.40]ipv6 enable
[AR3-GigabitEthernet4/0/0.40]ipv6 address 4000::100/64 
[AR3-GigabitEthernet4/0/0.40]int g4/0/0.41
[AR3-GigabitEthernet4/0/0.41]dot1q termination vid 41
[AR3-GigabitEthernet4/0/0.41]arp broadcast enable
[AR3-GigabitEthernet4/0/0.41]ipv6 enable 
[AR3-GigabitEthernet4/0/0.41]ipv6 address 4001::100/64 
[AR3-GigabitEthernet4/0/0.41]int g4/0/1
[AR3-GigabitEthernet4/0/1]ipv6 enable 
[AR3-GigabitEthernet4/0/1]ipv6 address 3400::3/64 
[AR3-GigabitEthernet4/0/1]int g4/0/2
[AR3-GigabitEthernet4/0/2]ipv6 enable 
[AR3-GigabitEthernet4/0/2]ipv6 address 1300::3/64
[AR3-GigabitEthernet4/0/2]qui
    AR4:
sys
[Huawei]un in en
[Huawei]sysname AR4
[AR4]ipv6
[AR4]int g0/0/0.10
[AR4-GigabitEthernet0/0/0.10]dot1q termination vid 10
[AR4-GigabitEthernet0/0/0.10]arp broadcast enable
[AR4-GigabitEthernet0/0/0.10]ipv6 enable 
[AR4-GigabitEthernet0/0/0.10]ipv6 address 1000::200/64 
[AR4-GigabitEthernet0/0/0.10]int g0/0/1.20
[AR4-GigabitEthernet0/0/1.20]dot1q termination vid 20
[AR4-GigabitEthernet0/0/1.20]arp broadcast enable
[AR4-GigabitEthernet0/0/1.20]ipv6 enable 
[AR4-GigabitEthernet0/0/1.20]ipv6 address 2000::200/64 
[AR4-GigabitEthernet0/0/1.20]int g0/0/1.21
[AR4-GigabitEthernet0/0/1.21]dot1q termination vid 21
[AR4-GigabitEthernet0/0/1.21]arp broadcast enable
[AR4-GigabitEthernet0/0/1.21]ipv6 enable 
[AR4-GigabitEthernet0/0/1.21]ipv6 address 2001::200/64 
[AR4-GigabitEthernet0/0/1.21]int g0/0/2.30
[AR4-GigabitEthernet0/0/2.30]dot1q termination vid 30
[AR4-GigabitEthernet0/0/2.30]arp broadcast enable
[AR4-GigabitEthernet0/0/2.30]ipv6 enable 
[AR4-GigabitEthernet0/0/2.30]ipv6 address 3000::200/64
[AR4-GigabitEthernet0/0/2.30]int g0/0/2.31
[AR4-GigabitEthernet0/0/2.31]dot1q termination vid 31
[AR4-GigabitEthernet0/0/2.31]arp broadcast enable
[AR4-GigabitEthernet0/0/2.31]ipv6 enable 
[AR4-GigabitEthernet0/0/2.31]ipv6 address 3001::200/64 
[AR4-GigabitEthernet0/0/2.31]int g4/0/0.40
[AR4-GigabitEthernet4/0/0.40]dot1q termination vid 40
[AR4-GigabitEthernet4/0/0.40]arp broadcast enable
[AR4-GigabitEthernet4/0/0.40]ipv6 enable
[AR4-GigabitEthernet4/0/0.40]ipv6 address 4000::200/64 
[AR4-GigabitEthernet4/0/0.40]int g4/0/0.41
[AR4-GigabitEthernet4/0/0.41]dot1q termination vid 41
[AR4-GigabitEthernet4/0/0.41]arp broadcast enable
[AR4-GigabitEthernet4/0/0.41]ipv6 enable 
[AR4-GigabitEthernet4/0/0.41]ipv6 address 4001::200/64 
[AR4-GigabitEthernet4/0/0.41]int g4/0/1
[AR4-GigabitEthernet4/0/1]ipv6 enable
[AR4-GigabitEthernet4/0/1]ipv6 address 3400::4/64
[AR4-GigabitEthernet4/0/1]int g4/0/2
[AR4-GigabitEthernet4/0/2]ipv6 enable 
[AR4-GigabitEthernet4/0/2]ipv6 address 1400::4/64
[AR4-GigabitEthernet4/0/2]qui

4、核心层VRRP配置

    AR3:
[AR3]int g0/0/0.10
[AR3-GigabitEthernet0/0/0.10]vrrp6 vrid 10 virtual-ip FE80::10 link-local
[AR3-GigabitEthernet0/0/0.10]vrrp6 vrid 10 virtual-ip 1000::128
[AR3-GigabitEthernet0/0/0.10]vrrp6 vrid 10 priority 120
[AR3-GigabitEthernet0/0/0.10]int g0/0/1.20
[AR3-GigabitEthernet0/0/1.20]vrrp6 vrid 20 virtual-ip FE80::20 link-local
[AR3-GigabitEthernet0/0/1.20]vrrp6 vrid 20 virtual-ip 2000::128
[AR3-GigabitEthernet0/0/1.20]vrrp6 vrid 20 priority 120
[AR3-GigabitEthernet0/0/1.20]int g0/0/1.21
[AR3-GigabitEthernet0/0/1.21]vrrp6 vrid 21 virtual-ip FE80::21 link-local
[AR3-GigabitEthernet0/0/1.21]vrrp6 vrid 21 virtual-ip 2001::128
[AR3-GigabitEthernet0/0/1.21]vrrp6 vrid 21 priority 120
[AR3-GigabitEthernet0/0/1.21]int g0/0/2.30
[AR3-GigabitEthernet0/0/2.30]vrrp6 vrid 30 virtual-ip FE80::30 link-local
[AR3-GigabitEthernet0/0/2.30]vrrp6 vrid 30 virtual-ip 3000::128
[AR3-GigabitEthernet0/0/2.30]int g0/0/2.31
[AR3-GigabitEthernet0/0/2.31]vrrp6 vrid 31 virtual-ip FE80::31 link-local
[AR3-GigabitEthernet0/0/2.31]vrrp6 vrid 31 virtual-ip 3001::128
[AR3-GigabitEthernet0/0/2.31]int g4/0/0.40
[AR3-GigabitEthernet4/0/0.40]vrrp6 vrid 40 virtual-ip FE80::40 link-local
[AR3-GigabitEthernet4/0/0.40]vrrp6 vrid 40 virtual-ip 4000::128
[AR3-GigabitEthernet4/0/0.40]int g4/0/0.41
[AR3-GigabitEthernet4/0/0.41]vrrp6 vrid 41 virtual-ip FE80::41 link-local
[AR3-GigabitEthernet4/0/0.41]vrrp6 vrid 41 virtual-ip 4001::128
[AR3-GigabitEthernet4/0/0.41]qui
    AR4:
[AR4]int g0/0/0.10
[AR4-GigabitEthernet0/0/0.10]vrrp6 vrid 10 virtual-ip FE80::10 link-local
[AR4-GigabitEthernet0/0/0.10]vrrp6 vrid 10 virtual-ip 1000::128
[AR4-GigabitEthernet0/0/0.10]int g0/0/1.20
[AR4-GigabitEthernet0/0/1.20]vrrp6 vrid 20 virtual-ip FE80::20 link-local
[AR4-GigabitEthernet0/0/1.20]vrrp6 vrid 20 virtual-ip 2000::128
[AR4-GigabitEthernet0/0/1.20]int g0/0/1.21
[AR4-GigabitEthernet0/0/1.21]vrrp6 vrid 21 virtual-ip FE80::21 link-local
[AR4-GigabitEthernet0/0/1.21]vrrp6 vrid 21 virtual-ip 2001::128
[AR4-GigabitEthernet0/0/1.21]int g0/0/2.30
[AR4-GigabitEthernet0/0/2.30]vrrp6 vrid 30 virtual-ip FE80::30 link-local
[AR4-GigabitEthernet0/0/2.30]vrrp6 vrid 30 virtual-ip 3000::128
[AR4-GigabitEthernet0/0/2.30]vrrp6 vrid 30 priority 120
[AR4-GigabitEthernet0/0/2.30]int g0/0/2.31
[AR4-GigabitEthernet0/0/2.31]vrrp6 vrid 31 virtual-ip FE80::31 link-local
[AR4-GigabitEthernet0/0/2.31]vrrp6 vrid 31 virtual-ip 3001::128
[AR4-GigabitEthernet0/0/2.31]vrrp6 vrid 31 priority 120
[AR4-GigabitEthernet0/0/2.31]int g4/0/0.40
[AR4-GigabitEthernet4/0/0.40]vrrp6 vrid 40 virtual-ip FE80::40 link-local
[AR4-GigabitEthernet4/0/0.40]vrrp6 vrid 40 virtual-ip 4000::128
[AR4-GigabitEthernet4/0/0.40]vrrp6 vrid 40 priority 120
[AR4-GigabitEthernet4/0/0.40]int g4/0/0.41
[AR4-GigabitEthernet4/0/0.41]vrrp6 vrid 41 virtual-ip FE80::41 link-local
[AR4-GigabitEthernet4/0/0.41]vrrp6 vrid 41 virtual-ip 4001::128
[AR4-GigabitEthernet4/0/0.41]vrrp6 vrid 41 priority 120
[AR4-GigabitEthernet4/0/0.41]qui

5、核心层OSPF配置

    AR3:
[AR3]ospfv3
[AR3-ospfv3-1]router-id 3.3.3.3
[AR3-ospfv3-1]area 0
[AR3-ospfv3-1-area-0.0.0.0]qui
[AR3-ospfv3-1]qui
[AR3]
[AR3]int g0/0/0.10
[AR3-GigabitEthernet0/0/0.10]ospfv3 1 area 0.0.0.0
[AR3-GigabitEthernet0/0/0.10]int g0/0/1.20
[AR3-GigabitEthernet0/0/1.20]ospfv3 1 area 0.0.0.0
[AR3-GigabitEthernet0/0/1.20]int g0/0/1.21
[AR3-GigabitEthernet0/0/1.21]ospfv3 1 area 0.0.0.0
[AR3-GigabitEthernet0/0/1.21]int g0/0/2.30
[AR3-GigabitEthernet0/0/2.30]ospfv3 1 area 0.0.0.0
[AR3-GigabitEthernet0/0/2.30]int g0/0/2.31
[AR3-GigabitEthernet0/0/2.31]ospfv3 1 area 0.0.0.0
[AR3-GigabitEthernet0/0/2.31]int g4/0/0.40
[AR3-GigabitEthernet4/0/0.40]ospfv3 1 area 0.0.0.0
[AR3-GigabitEthernet4/0/0.40]int g4/0/0.41
[AR3-GigabitEthernet4/0/0.41]ospfv3 1 area 0.0.0.0
[AR3-GigabitEthernet4/0/0.41]int g4/0/1
[AR3-GigabitEthernet4/0/1]ospfv3 1 area 0.0.0.0
[AR3-GigabitEthernet4/0/1]int g4/0/2
[AR3-GigabitEthernet4/0/2]ospfv3 1 area 0.0.0.0
[AR3-GigabitEthernet4/0/2]qui
    AR4:
[AR4]ospfv3
[AR4-ospfv3-1]router-id 4.4.4.4
[AR4-ospfv3-1]area 0
[AR4-ospfv3-1-area-0.0.0.0]qui
[AR4-ospfv3-1]qui
[AR4]int g0/0/0.10
[AR4-GigabitEthernet0/0/0.10]ospfv3 1 area 0.0.0.0
[AR4-GigabitEthernet0/0/0.10]int g0/0/1.20
[AR4-GigabitEthernet0/0/1.20]ospfv3 1 area 0.0.0.0
[AR4-GigabitEthernet0/0/1.20]int g0/0/1.21
[AR4-GigabitEthernet0/0/1.21]ospfv3 1 area 0.0.0.0
[AR4-GigabitEthernet0/0/1.21]int g0/0/2.30
[AR4-GigabitEthernet0/0/2.30]ospfv3 1 area 0.0.0.0
[AR4-GigabitEthernet0/0/2.30]int g0/0/2.31
[AR4-GigabitEthernet0/0/2.31]ospfv3 1 area 0.0.0.0
[AR4-GigabitEthernet0/0/2.31]int g4/0/0.40
[AR4-GigabitEthernet4/0/0.40]ospfv3 1 area 0.0.0.0
[AR4-GigabitEthernet4/0/0.40]int g4/0/0.41
[AR4-GigabitEthernet4/0/0.41]ospfv3 1 area 0.0.0.0
[AR4-GigabitEthernet4/0/0.41]int g4/0/1
[AR4-GigabitEthernet4/0/1]ospfv3 1 area 0.0.0.0
[AR4-GigabitEthernet4/0/1]int g4/0/2
[AR4-GigabitEthernet4/0/2]ospfv3 1 area 0.0.0.0
[AR4-GigabitEthernet4/0/2]qui
    AR1:
sys
[Huawei]un in en
[Huawei]sysname AR1
[AR1]ipv6
[AR1]ospfv3 1
[AR1-ospfv3-1]router-id 1.1.1.1
[AR1-ospfv3-1]area 0
[AR1-ospfv3-1-area-0.0.0.0]qui
[AR1-ospfv3-1]qui
[AR1]int g0/0/0
[AR1-GigabitEthernet0/0/0]ipv6 enable 
[AR1-GigabitEthernet0/0/0]ipv6 address 1300::1/64 
[AR1-GigabitEthernet0/0/0]ospfv3 1 area 0.0.0.0
[AR1-GigabitEthernet0/0/0]int g0/0/1
[AR1-GigabitEthernet0/0/1]ipv6 enable 
[AR1-GigabitEthernet0/0/1]ipv6 address 1400::1/64 
[AR1-GigabitEthernet0/0/1]ospfv3 1 area 0.0.0.0
[AR1-GigabitEthernet0/0/1]int g0/0/2
[AR1-GigabitEthernet0/0/2]ip add 12.1.1.1 24
[AR1-GigabitEthernet0/0/2]int g4/0/0
[AR1-GigabitEthernet4/0/0]ipv6 enable 
[AR1-GigabitEthernet4/0/0]ipv6 address 1100::2/64 
[AR1-GigabitEthernet4/0/0]ospfv3 1 area 0.0.0.0
[AR1-GigabitEthernet4/0/0]qui

6、FW配置

admin
Admin@123
y
Admin@123
admin@123
admin@123

sys
[USG6000V1]un in en
[USG6000V1]sysname FW
[FW]ipv6
[FW]ospfv3
[FW-ospfv3-1]router-id 11.11.11.11
[FW-ospfv3-1]qui
[FW]int g1/0/0
[FW-GigabitEthernet1/0/0]ipv6 enable
[FW-GigabitEthernet1/0/0]ipv6 add 5000::128/64
[FW-GigabitEthernet1/0/0]ospfv3 1 area 0
[FW-GigabitEthernet1/0/0]int g1/0/1
[FW-GigabitEthernet1/0/1]ipv6 enable
[FW-GigabitEthernet1/0/1]ipv6 add 1100::1/64
[FW-GigabitEthernet1/0/1]ospfv3 1 area 0
[FW-GigabitEthernet1/0/1]qui
[FW]firewall zone trust
[FW-zone-trust]add int g1/0/1
[FW-zone-trust]qui
[FW]firewall zone dmz
[FW-zone-dmz]add int g1/0/0
[FW-zone-dmz]qui
[FW]security-policy
[FW-policy-security]rule name trust_to_dmz
[FW-policy-security-rule-trust_to_dmz]source-zone trust 
[FW-policy-security-rule-trust_to_dmz]destination-zone dmz     
[FW-policy-security-rule-trust_to_dmz]source-address 1000::0 64
[FW-policy-security-rule-trust_to_dmz]source-address 2001::0 64
[FW-policy-security-rule-trust_to_dmz]source-address 3000::0 64
[FW-policy-security-rule-trust_to_dmz]source-address 3001::0 64
[FW-policy-security-rule-trust_to_dmz]source-address 4000::0 64
[FW-policy-security-rule-trust_to_dmz]source-address 4001::0 64
[FW-policy-security-rule-trust_to_dmz]action permit 
[FW-policy-security-rule-trust_to_dmz]qui
[FW-policy-security]qui

7、DHCPv6配置

    AR5:
sys
[Huawei]un in en
[Huawei]sysname AR5
[AR5]ipv6
[AR5]dhcp enable
[AR5]dhcpv6 pool 1
[AR5-dhcpv6-pool-1]address prefix 6000::/64
[AR5-dhcpv6-pool-1]excluded-address 6000::128
[AR5-dhcpv6-pool-1]qui
[AR5]dhcpv6 pool 2
[AR5-dhcpv6-pool-2]address prefix 6001::/64
[AR5-dhcpv6-pool-2]excluded-address 6001::128
[AR5-dhcpv6-pool-2]qui
[AR5]int g0/0/0
[AR5-GigabitEthernet0/0/0]ip add 25.1.1.5 24
[AR5-GigabitEthernet0/0/0]int g0/0/1
[AR5-GigabitEthernet0/0/1]ipv6 enable
[AR5-GigabitEthernet0/0/1]ipv6 address 6000::128/64
[AR5-GigabitEthernet0/0/1]dhcpv6 server 1
[AR5-GigabitEthernet0/0/1]undo ipv6 nd ra halt
[AR5-GigabitEthernet0/0/1]ipv6 nd autoconfig managed-address-flag
[AR5-GigabitEthernet0/0/1]ipv6 nd autoconfig other-flag
[AR5-GigabitEthernet0/0/1]qui
[AR5]int g0/0/2
[AR5-GigabitEthernet0/0/2]ipv6 enable
[AR5-GigabitEthernet0/0/2]ipv6 address 6001::128/64
[AR5-GigabitEthernet0/0/2]dhcpv6 server 2
[AR5-GigabitEthernet0/0/2]undo ipv6 nd ra halt
[AR5-GigabitEthernet0/0/2]ipv6 nd autoconfig managed-address-flag
[AR5-GigabitEthernet0/0/2]ipv6 nd autoconfig other-flag
[AR5-GigabitEthernet0/0/2]qui

8、GRE配置

    AR1:
[AR1]interface Tunnel0/0/1
[AR1-Tunnel0/0/1]ipv6 enable 
[AR1-Tunnel0/0/1]ipv6 address 1500::1/64
[AR1-Tunnel0/0/1]tunnel-protocol gre
[AR1-Tunnel0/0/1]source 12.1.1.1
[AR1-Tunnel0/0/1]destination 25.1.1.5
[AR1-Tunnel0/0/1]qui
    ISP
sys
[Huawei]un in en
[Huawei]sysname ISP
[ISP]int g0/0/0
[ISP-GigabitEthernet0/0/0]ip add 12.1.1.2 24
[ISP-GigabitEthernet0/0/0]int g0/0/2
[ISP-GigabitEthernet0/0/2]ip add 25.1.1.2 24
[ISP-GigabitEthernet0/0/2]qui
    AR5:
[AR5]interface Tunnel0/0/1
[AR5-Tunnel0/0/1]ipv6 enable 
[AR5-Tunnel0/0/1]ipv6 address 1500::2/64
[AR5-Tunnel0/0/1]tunnel-protocol gre
[AR5-Tunnel0/0/1]source 25.1.1.5
[AR5-Tunnel0/0/1]destination 12.1.1.1
[AR5-Tunnel0/0/1]qui

9、OSPF配置

[AR5]ospfv3
[AR5-ospfv3-1]router-id 5.5.5.5
[AR5-ospfv3-1]qui
[AR5]int g0/0/1
[AR5-GigabitEthernet0/0/1]ospfv3 1 area 0.0.0.0
[AR5-GigabitEthernet0/0/1]int g0/0/2
[AR5-GigabitEthernet0/0/2]ospfv3 1 area 0.0.0.0
[AR5-GigabitEthernet0/0/2]qui
[AR5]int Tunnel 0/0/1
[AR5-Tunnel0/0/1]ospfv3 1 area 0.0.0.0
[AR5-Tunnel0/0/1]qui
[AR5]
[AR1]int Tunnel 0/0/1
[AR1-Tunnel0/0/1]ospfv3 1 area 0.0.0.0
[AR1-Tunnel0/0/1]qui
[AR1]

你可能感兴趣的:(网络搭建,网络协议,网络安全)