HP 12500 Series Configuration Manual page 281

Routing
Table of Contents

Advertisement

Network requirements
As shown in
authorized ARP on GigabitEthernet 3/0/1 of Switch A. The host is a DHCP client that obtains IP address
10.1.1.2/24 from the DHCP server.
Figure 93 Network diagram
Configuration procedure
Configure Switch A:
1.
# Configure GigabitEthernet 3/0/1 to operate in Layer 3 mode.
<SwitchA> system-view
[SwitchA] interface GigabitEthernet 3/0/1
[SwitchA-GigabitEthernet3/0/1] port link-mode route
# Configure the IP address of GigabitEthernet 3/0/1.
[SwitchA-GigabitEthernet3/0/1] ip address 10.1.1.1 24
[SwitchA-GigabitEthernet3/0/1] quit
# Configure DHCP.
[SwitchA] dhcp enable
[SwitchA] dhcp server ip-pool 1
[SwitchA-dhcp-pool-1] network 10.1.1.0 mask 255.255.255.0
[SwitchA-dhcp-pool-1] quit
# Enter Layer 3 Ethernet interface view.
[SwitchA] interface GigabitEthernet 3/0/1
# Configure the DHCP server to support authorized ARP.
[SwitchA-GigabitEthernet3/0/1] dhcp update arp
# Enable authorized ARP.
[SwitchA-GigabitEthernet3/0/1] arp authorized enable
[SwitchA-GigabitEthernet3/0/1] quit
# Configure the aging time for authorized ARP entries.
[SwitchA-GigabitEthernet3/0/1] arp authorized time-out 120
[SwitchA-GigabitEthernet3/0/1] quit
After the host obtains an IP address from Switch A, display the authorized ARP entry information
2.
on Switch A.
[SwitchA] display arp all
IP Address
10.1.1.2
The output shows that IP address 10.1.1.2 has been assigned to the host.
After that, the host must use the IP address and MAC address that are consistent with those in the
authorized ARP entry to communicate with Switch A. Otherwise, the communication fails. Thus the
client validity is ensured.
Figure
93, Switch A acts as a DHCP server with an IP address pool of 10.1.1.0/24. Enable
Type: S-Static
MAC Address
0012-3f86-e94c
D-Dynamic
A-Authorized
VLAN ID
Interface
N/A
GE3/0/1
271
M-Multiport
Aging
Type
2
A

Advertisement

Table of Contents
loading

Table of Contents