PROXY ARP

Created: Aug 20, 2019 20:02:58Latest reply: Aug 22, 2019 11:29:37 115 4 0 0
  Rewarded Hi-coins: 0 (problem resolved)

Hello everyone,


I am trying to set up PROXY ARP on my Huawei Router (using eNSP for testing) to achive same functionalty as CISCO proxy-arp command but its not working.


My setup in Router1 is:


interface Ethernet0/0/0

 ip address 192.168.100.1 255.255.255.0

 arp-proxy enable

#

interface Ethernet0/0/1

 ip address 192.168.200.1 255.255.255.0


ip route-static 192.168.200.2 255.255.255.255 Ethernet0/0/0


When i try to ping from Router1 to 192.168.200.2 it times out.


When i do wireshark capture i see that the hosts keeps asking "who has 192.168.200.1 tell 192.168.200.2".

Router1 never responds with its mac-address (which i would expect since i have proxy-arp enabled)


Thanks to anyone who can help me out.


Ramiro.

  • x
  • convention:

Featured Answers
chenhui
Admin Created Aug 21, 2019 02:47:26 Helpful(0) Helpful(0)

@RamiroP hello,
the IP address of interface Ethernet0/0/0 and Ethernet0/0/1 are in different network segments, the ARP request will discarded by router 1.

The ARP proxy function takes effect in the following conditions: The destination IP address of the ARP request packet and the IP address of the inbound interface do not reside on the same network segment, but the device has an available route to the destination IP address, and the inbound and outbound interfaces of the route are different. In this case, the device uses its MAC address as the source to reply to the ARP request.
  • x
  • convention:

All Answers
chenhui
chenhui Admin Created Aug 21, 2019 02:47:26 Helpful(0) Helpful(0)

@RamiroP hello,
the IP address of interface Ethernet0/0/0 and Ethernet0/0/1 are in different network segments, the ARP request will discarded by router 1.

The ARP proxy function takes effect in the following conditions: The destination IP address of the ARP request packet and the IP address of the inbound interface do not reside on the same network segment, but the device has an available route to the destination IP address, and the inbound and outbound interfaces of the route are different. In this case, the device uses its MAC address as the source to reply to the ARP request.
  • x
  • convention:

RamiroP
RamiroP Created Aug 21, 2019 11:43:33 Helpful(0) Helpful(0)

Hello chenhui,

Thank you for your answer

"The ARP proxy function takes effect in the following conditions: The destination IP address of the ARP request packet and the IP address of the inbound interface do not reside on the same network segment, but the device has an available route to the destination IP address, and the inbound and outbound interfaces of the route are different."

This is exactly the scenario i have described. The router1 is directly connected to both networks.

Router1:
eth0/0/0 - IP 192.168.100.1/24
eth0/0/1 - IP 192.168.200.1/24

I have a PC2 connected to eth0/0/0 but it is using an IP address of eth0/0/1 (192.168.200.2/24)
So router1 has proxy-arp enabled on eth0/0/0 and an static route for that hosts trough eth0/0/0.

[Router1]dis ip routing-table 192.168.200.2
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Table : Public
Summary Count : 1
Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface

  192.168.200.2/32  Static  60   0           D   192.168.100.1   Ethernet0/0/0

[Router1]dis curr int Ethernet 0/0/0
#
interface Ethernet0/0/0
 ip address 192.168.100.1 255.255.255.0
 arp-proxy enable

PROXY ARP-3040449-1
<strike></strike>
Regards,
Ramiro.

This article contains more resources

You need to log in to download or view. No account?Register

x
  • x
  • convention:

chenhui
chenhui Admin Created Aug 22, 2019 02:23:37 Helpful(0) Helpful(0)

Posted by RamiroP at 2019-08-21 11:43 Hello chenhui,Thank you for your answer"The ARP proxy function takes effect in the following conditi ...
hi,
the PC2 and interface e0/0/0 are not in the same network segment, the source address and destination address of the arp request packet send by the PC2 is 192.168.200.2 and 192.168.200.1, these arp request packet wouldnt' be answered by the router. I think this example could help you http://support.huawei.com/hedex/hdx.do?docid=EDOC1000163385&id=dc_cfg_arp_1022&text=Configuring%252520Routed%252520Proxy%252520ARP&lang=en
  • x
  • convention:

RamiroP
RamiroP Created Aug 22, 2019 11:29:37 Helpful(0) Helpful(0)

Hello Chenhui

Ok, thanks. It does not work as we expect (it is different to Cisco´s proxy arp).

Problem is our clients usually move from one interface to another of the router (when the last mile moves to a remote place) but we cannot change their ip address.. today we acomplish this by using proxy-arp and static /32 route on cisco router.

We are planning upgrading our PE routers, and we were thinking using Huawei but we cant if we dont get this to work.

Regards,
Ramiro.
  • x
  • convention:

Reply

Reply
You need to log in to reply to the post Login | Register

Notice Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Login and enjoy all the member benefits

Login and enjoy all the member benefits

Login