R3721-F3210-F3171-HP High-End Firewalls Network Management Configuration Guide-6PW101

Table Of Contents
43
Figure 29 Network diagram
Configuration procedure
1. Configure Firewall:
# Create VLAN 5 and assign GigabitEthernet 0/1 to it.
<Firewall> system-view
[Firewall] vlan 5
[Firewall-vlan5] port gigabitethernet 0/1
# Create VLAN 10 and assign GigabitEthernet 0/2 to it.
[Firewall-vlan5] vlan 10
[Firewall-vlan10] port gigabitethernet 0/2
[Firewall-vlan10] quit
# Create VLAN-interface 5 and configure its IP address as 192.168.0.10/24.
[Firewall] interface vlan-interface 5
[Firewall-Vlan-interface5] ip address 192.168.0.10 24
[Firewall-Vlan-interface5] quit
# Create VLAN-interface 10 and configure its IP address as 192.168.1.20/24.
[Firewall] interface vlan-interface 10
[Firewall-Vlan-interface10] ip address 192.168.1.20 24
[Firewall-Vlan-interface10] return
2. Configure PC A:
Configure the default gateway of the PC as 192.168.0.10.
3. Configure PC B:
Configure the default gateway of the PC as 192.168.1.20.
Verifying the configuration
The PCs can ping each other.
Display brief information about Layer 3 interfaces on Firewall to verify the configuration.
<Firewall> display ip interface brief
*down: administratively down
(s): spoofing
Interface Physical Protocol IP Address Description
Vlan-interface5 up up 192.168.0.10 Vlan-inte...
Vlan-interface10 up up 192.168.1.20 Vlan-inte...
Port-based VLAN configuration example