HP VPN Firewall Appliances Network Management Configuration Guide

28
Ste
p
Command
Remarks
2. Enter interface view.
interface interface-type
interface-number
N/A
3. Assign an IP address to
the interface.
ip address ip-address { mask-length
| mask } [ sub ]
By default, no IP address is assigned to
any interface.
Displaying and maintaining IP addressing
Task Command
Remarks
Display IP configuration information
for a specific Layer 3 interface or all
Layer 3 interfaces.
display ip interface [ interface-type
interface-number ] [ | { begin | exclude |
include } regular-expression ]
Available in any view.
Display brief IP configuration
information for a specific Layer 3
interface or all Layer 3 interfaces.
display ip interface [ interface-type
[ interface-number ] ] brief [ | { begin |
exclude | include } regular-expression ]
Available in any view.
IP addressing configuration example
Network requirements
As shown in Figure 12, GigabitEthernet 0/1 on the firewall is connected to a LAN comprising two
s e g me nt s: 172.16.1.0 / 24 an d 172.16 .2.0 /24 .
To enable the hosts on the two subnets to communicate with the external network through the firewall,
and to enable the hosts on the two subnets to communicate with each other:
Assign a primary IP address and a secondary IP address to GigabitEthernet 0/1 on the firewall.
Set the primary IP address of the firewall as the gateway address of the hosts on subnet
172.16.1.0/24, and the secondary IP address of the firewall as the gateway address of the hosts on
s ub ne t 172.16. 2.0 /24 .