Authorized Arp Configuration Example (On A Dhcp Relay Agent) - HP 12500 Series Configuration Manual

Routing
Table of Contents

Advertisement

Authorized ARP configuration example (on a DHCP relay
agent)
Network requirements
As shown in
B is a DHCP relay agent, which conveys the IP address from the DHCP server to the DHCP client (Host).
Enable authorized ARP on GigabitEthernet 3/0/2 of Switch B.
Figure 94 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.10.1.0 mask 255.255.255.0
[SwitchA-dhcp-pool-1] gateway-list 10.10.1.1
[SwitchA-dhcp-pool-1] quit
[SwitchA] ip route-static 10.10.1.0 24 10.1.1.2
Configure Switch B:
2.
# Enable DHCP.
<SwitchB> system-view
[SwitchB] dhcp enable
# Configure GigabitEthernet 3/0/1 to operate in Layer 3 mode.
[SwitchB] interface GigabitEthernet 3/0/1
[SwitchB-GigabitEthernet3/0/1] port link-mode route
# Configure the IP addresses of GigabitEthernet 3/0/1 and GigabitEthernet 3/0/2.
[SwitchB-GigabitEthernet3/0/1] ip address 10.1.1.2 24
Figure
94, Switch A acts as a DHCP server with an IP address pool of 10.10.1.0/24. Switch
272

Advertisement

Table of Contents
loading

Table of Contents