Hà Nội: NTT03, Line 1, Thống Nhất Complex, 82 Nguyễn Tuân, Thanh Xuân, Hà Nội. ● HCM: Số 31B, Đường 1, Phường An Phú, Quận 2 (Thủ Đức), TP HCM. ===> Đơn Vị Hàng Đầu Trong Lĩnh Vực Cung Cấp Thiết Bị Security - Network - Wifi - CCTV - Conference - Máy chủ Server - Lưu trữ Storge.
Danh mục sản phẩm

Configure ARP Proxy

Network Requirements

  • Device is directly connected to PC1 and PC2 respectively. The network number of the LAN in which PC1 and PC2 is located is 10.0.0.0/16.
  • The MAC address of the interface VLAN2 of Device is 0001.7a13.0102.
  • Through the ARP proxy of Device, PC1 can successfully ping PC2, and PC1 can learn the MAC address of PC2.

Network Topology

Networking for Configuring ARP Proxy

Figure 1-1 Networking for Configuring ARP Proxy

Configuration Steps

Step 1: Create VLANs, and add ports to the required VLANs.(Omitted)

Step 2: Configure IP addresses for the ports. (Omitted)

Step 3: Check the result.

#Ping the PC2 IP address 10.0.1.2 from PC1.

C:\Documents and Settings>ping 10.0.1.2

Pinging 10.0.1.2 with 32 bytes of data:

Reply from 10.0.1.2: bytes=32 time<1ms TTL=255
Reply from 10.0.1.2: bytes=32 time<1ms TTL=255
Reply from 10.0.1.2: bytes=32 time<1ms TTL=255
Reply from 10.0.1.2: bytes=32 time<1ms TTL=255

Ping statistics for 10.0.1.2:

 Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Approximate round trip times in milli-seconds:

 Minimum = 0ms, Maximum = 0ms, Average = 0ms

#Query the ARP entry of Device.

Device#show arp  
Protocol  Address  Age (min) Hardware Addr  Type  Interface  Swithport
Internet 10.0.0.1   -        0001.7a13.0102 ARPA  vlan2 	 ------------------                
Internet 10.0.0.2   1        B8AC.6F2D.4498 ARPA  vlan2      gigabitethernet0/1
Internet 10.0.1.1   -        0001.7a13.0103 ARPA  vlan3 	 ------------------                
Internet 10.0.1.2   1	     4437.e603.0d63 ARPA  vlan3      gigabitethernet0/2    

#Query the ARP entry of PC1.

C:\Documents and Settings>arp a 
Interface: 10.0.0.2	0x5 
  Internet Address     Physical Address     Type 
  10.0.0.1             00-01-7a-13-01-02    dynamic 
  10.0.1.2             00-01-7a-13-01-02    dynamic 

#Ping from PC1 to PC2 is successful. The PC1 has learned the MAC address of PC2.

note


  • By default, ARP proxy is enabled for a device.