10-12-2023
07:25 PM
- last edited on
10-18-2023
02:19 AM
by
Translator
Hello,
I have a C1111-4P router and was wondering if I can put a route that will redirect the
default gateway
of a device.
My device has an
IP of 10.10.15.66/28
with a
default gateway to 10.253.65.254,
but it should have been to 10.10.16.78. Is there way I can have the router send traffic from 10.10.15.66 for 10.253.65.254 to 10.10.16.78?
Thank You.
Solved! Go to Solution.
10-17-2023 07:46 AM
Ended up going there and putting in the correct DG and all is fine now.
10-12-2023
08:46 PM
- last edited on
10-18-2023
02:23 AM
by
Translator
If I am understanding this correctly, you have a device behind the router that has an IP on the LAN but the gatwaway which should be the routers inside interface is incorrectly set to 10.253.65.254.
Obviously, the correct solution is to change this on the device, but you could also try a secondary IP using
ip 10.253.65.254 255.255.255.0 secondary
on the inside interface. You may also be able to destination
NAT
the packet, or some other tricks coming inbound. Dest
NAT
may work, PBR I do not think will because the packet is destined to the router iteslf not beyond it.
10-12-2023
09:33 PM
- last edited on
10-18-2023
02:27 AM
by
Translator
Thank you for your reply. My network is a bit more complicated. I have
10.253.65.0 LAN <--->firewall <---->Router<---->10.10.15 LAN
10.253.65.254 is still good for other devices because it is the LAN interface of the firewall. I basically want to see if it is possible to
catch
the packet from 10.10.15.66 destined to 65.254 thru the router and forward it to the proper IP. The device is at remote location so I am trying to figure out a temporary solution until it is fixed at the source.
Thank You.
10-12-2023 08:48 PM
Only this traffic form this host?
If yes then use pbr to redirect traffic
10-12-2023 09:34 PM
Thank you I will give it a try.
10-17-2023 07:46 AM
Ended up going there and putting in the correct DG and all is fine now.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide