Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

configuration proxy arp and forwarding

Hello.

How can I forward traffic from LAN 192.168.0.0/24 to 192.168.2.0/24 when the source 192.168.0.20 want to connect to the server 192.168.1.20

but this server is physical in the lan 192.168.2.0/24 and his real IP is 192.168.2.20.

The Backbone-Router routes traffic only between 192.168.0.0/24 and 192.168.1.0/24. I have only access to configure the Cisco-Router.

[LAN 192.168.0.0/24]<-->[BackBone-Router]<-->[LAN 192.168.1.0/24]<-->[Cisco Router]<-->[LAN 192.168.2.0/24]

All I need is a suggestion.

Best regards.

Olaf

5 REPLIES
Hall of Fame Super Blue

Re: configuration proxy arp and forwarding

Is 192.168.1.20 in use on the 192.168.1.0/24 LAN already. if not

LAN 192.168.0.0/24]<-->[BackBone-Router]<-->[LAN 192.168.1.0/24]<--> (int fa0/1)[Cisco Router](int fa0/0) -> [LAN 192.168.2.0/24]

On the Cisco router

ip nat inside source static 192.168.2.20 192.168.1.20

int fa0/0

ip nat inside

int fa0/1

ip nat outside

The above will NAT 192.168.2.20 to 192.168.1.20 for all traffic. If you just want it to be Natted for 192.168.0.20 then you need policy NAT. Let me know if you need this.

Jon

New Member

Re: configuration proxy arp and forwarding

Hello Jon.

The 192.168.1.20 is not used in the lan 172.20.1.0.

In your example the router have to answer for arp request for the IP 172.20.2.20. Is the default interface setting "ip proxy-arp" enought?

Olaf

Hall of Fame Super Blue

Re: configuration proxy arp and forwarding

Olaf

Sorry, where has the 172.20.1.0 network come from ?

Jon

New Member

Re: configuration proxy arp and forwarding

Ups ;-)

I wanted to write "The 192.168.1.20 is not used in the lan 192.168.1.0".

My mistake.

Olaf

Hall of Fame Super Blue

Re: configuration proxy arp and forwarding

When you add the NAT commands the router knows it has to answer arp requests for that IP address. So the router will see the arp request for 192.168.1.20 and because it has a static NAT translation for that it will respond to the arp with it's own mac-address.

Glad it was a typo, i thought i was losing the plot :)

Jon

128
Views
0
Helpful
5
Replies