LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   How to create an proxyarp entry in arp table by using arp command? (https://www.linuxquestions.org/questions/linux-networking-3/how-to-create-an-proxyarp-entry-in-arp-table-by-using-arp-command-63579/)

himalayas 06-04-2003 04:14 AM

How to create an proxyarp entry in arp table by using arp command?
 
I need to setup proxyarp entry in arp table in my linux server to support a remote connection.

the remote computer is 192.168.3.25, and the linux server is 192.168.3.54.

I add a proxyarp entry into the arp table by using the arp command as below:

#arp -v -s 192.168.3.25 00:E0:18:D3:F2:17 pub

00:E0:18:D3:F2:17 is the hardware address of the linux server

but the result is:
192.168.3.6 ether 00:E0:18:D3:F2:9C C eth0
192.168.3.1 ether 00:00:81:A0:82:62 C eth0
192.168.3.8 ether 00:50:BA:B1:4D:09 C eth0
192.168.3.17 ether 00:E0:4C:73:FD:DF C eth0
192.168.3.25 * * MP eth0

the entry I added does not has the flag C which means this is a complete entry.

I don't know why it is.

Please tell me how to setup the proxyarp and how can I test if it works well by a simple way? Thanks!!!


All times are GMT -5. The time now is 10:45 AM.