Jump to content

arp proxy


Dinh Tran
 Share

Recommended Posts

Hi,

 

I want my machine 192.168.242.1 become a arp proxy for 192.168.242.2. I entered this command:

arp -Ds 192.168.242.2 eth0

 

Using arp -n, I verify that 192.168.242.2 is displayed on the list. When I try to ping from another machine to 192.168.242.2. I can see a arp who-has arrived to 192.168.242.1 but no reply found.

 

Anyone of you have experience about this please help me!!!!!

Thanks a lot,

Best regards,

 

Dinh Tran

Link to comment
Share on other sites

does 192.168.242.2 exists?

192.168.242.2 still needs to exist on the network even though you are proxying it.

 

and you should only see the proxied ip from some other network.

example:

10.10.10.10 -> 10.10.10.1 (router) 192.168.242.1 / proxyarp 192.168.242.2 -> 192.168.242.2

 

so if you are on the 10.10.10.10 machine you could ping 192.168.242.2 and get a response from the proxied IP address

Link to comment
Share on other sites

proxyarp forwards the request to the real interface, so the IP needs to exist first.

 

if you want to have move than one IP on a machine then you need to use interface aliases not proxyarp

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...