11-24-2010 04:26 AM - edited 03-06-2019 02:11 PM
Hello,
I would know: It would be possible to implement in a Catalyst 6500, when a packet reaches with destination IP address 10.2.2.20 is redirected to IP 10.2.2.58 (are servers)
Is that possible making some kind of NAT ?
Regards,
S.
11-24-2010 04:58 AM
Hello ,
As much as i know you can change source ip address with NAT, If you want to redirect all traffic to some IP
you can take help from PBR
like you can prepare route-map
ip access-list extended 101
match ip any 10.2.2.20
route-map REDIRECT permit 10
match ip address 101
set ip next-hop 10.2.2.58
Hope this helps
Regards
Mahesh
11-26-2010 06:19 PM
Dear Mahesh , Don't you think that using the " Match Access List + Route Map & Set IP Next Hop " Configuration will only Redirect the Traffic to 10.2.2.58 , But at the end the Packet Destination IP Address still contains the old IP Address " 10.2.2.20 " . I think when the Traffic get Matched over the Access List and Redirected by the Route Map , it will be Dropped off when it reaches the Host 10.2.2.58 ...What do you think ??
11-24-2010 06:58 AM
Hi,
Not sure what you want to achieve whether you want an outside host with ip x.x.x to appear as y.y.y.y to the inside?
If so you need to configure outside NAT.
Please take a look at this link:
http://www.cisco.com/en/US/docs/ios/12_2/ip/configuration/guide/1cfipadr.html#wp1042290
Hope it helps, rate if does
Krisztian
11-24-2010 07:44 AM
No, actually I want to change the data with destination address 10.20.2.34 will be redirected to 10.20.2.45, are two hosts on the same network.
The simplest would be to change the IP of the end host, but the customer does not want.
11-25-2010 12:21 AM
Hi
There is a function called SLB ( server load balancing ) that You can investigate. It might be what You are looking for.
here are 2 links to start with.
/Mikael
12-03-2010 07:01 AM
Dear Slandeira ,
Did u reached something with this Change Destination issue ??
Regards
12-03-2010 07:22 AM
12-06-2010 06:32 AM
Hi!
If I undertand you correctly I think you area looking for something called destination nat.
Something in the line of.
access-list 100 permit ip any host 10.2.2.20
!
ip nat pool DESTNAT 10.2.2.58 102.2.2.58 prefix-length 24 !not sure exactly what mask to use.
!
ip nat inside destination list 100 pool DESTNET
I would have prefered to use a static instead of pool but it appears to have been removed from later versions of IOS.
HTH
Mathias
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: