This section describes how to configure virtual systems based on IPv6 forwarding.
As shown in Figure 1, area A in a large campus network deploys an IPv6 network and uses a FW as the access gateway. The network of area A comprises the R&D and non-R&D departments, and the two departments have different network access permissions. Requirements are as follows:
Item |
Data |
Description |
|---|---|---|
vsysa |
|
- |
vsysb |
|
- |
Resource class |
|
- |
The configuration is similar to that of the R&D department except the following:
Configuration script of the public system
# sysname FW # ipv6 # vsys enable # resource-class r1 resource-item-limit ipv6 session reserved-number 10000 maximum 50000 resource-item-limit policy reserved-number 300 resource-item-limit user reserved-number 300 resource-item-limit bandwidth 20 outbound resource-item-limit user-group reserved-number 10 # vsys name vsysa 1 assign resource-class r1 assign interface GigabitEthernet0/0/1 assign interface GigabitEthernet0/0/3 # vsys name vsysb 2 assign resource-class r1 assign interface GigabitEthernet0/0/2 assign interface GigabitEthernet0/0/4 # interface GigabitEthernet0/0/1 set public-interface ip binding vpn-instance vsysa ipv6 enable ipv6 address 1::1 64 # interface GigabitEthernet0/0/2 set public-interface ip binding vpn-instance vsysb ipv6 enable ipv6 address 2::1 64 # interface GigabitEthernet0/0/3 ip binding vpn-instance vsysa ipv6 enable ipv6 address 3::1 64 # interface GigabitEthernet0/0/4 ip binding vpn-instance vsysb ipv6 enable ipv6 address 4::1 64 # ipv6 route-static vpn-instance vsysa :: 0 1::2 ipv6 route-static vpn-instance vsysb :: 0 2::2 # return
Configuration script of vsysa
# firewall zone trust set priority 85 add interface GigabitEthernet0/0/3 # firewall zone untrust set priority 5 add interface GigabitEthernet0/0/1 # ip address-set ipaddress1 type object address 0 range 3::2 3::200 # security-policy rule name to_internet source-zone trust destination-zone untrust source-address address-set ipaddress1 action permit # return
Configuration script of vsysb
# firewall zone trust set priority 85 add interface GigabitEthernet0/0/4 # firewall zone untrust set priority 5 add interface GigabitEthernet0/0/2 # security-policy rule name to_internet source-zone trust destination-zone untrust action permit # return