02-24-2006 01:36 PM
What Im trying to do is force all traffic to a server and the server is then forwarding the traffic from there.
The IP that I want to push is 192.168.20.145
Here is what route statment entries look like:
ip route 0.0.0.0 0.0.0.0 192.168.1.1
ip route 192.168.20.144 255.255.255.248 192.168.1.100
the server is 192.168.1.100 and I'm pushing the whole subnet to that destination IP because I havent figured out a way to push just one IP unless you re-subnet it to reflect that.
My gateway of last resort is 192.168.1.1
What am I doing wrong?
02-24-2006 02:15 PM
Hi,
If you want to route just a single IP to the server, you can use this:
ip route 192.168.20.145 255.255.255.255 192.168.1.100
Hope that helps - pls do rate the post if it does.
Paresh
02-27-2006 07:03 AM
The syntax of that command did take in the router ok. I'm watching traffic with Ethereal but my IP is not even hitting the destination where I want it to go. It's going out my gateway of last resort.
It doesnt matter that I'm pushing this to a linux server as opposed to a cisco router does it?
*Does the router read the Route Table like an access list, top down and whenever it finds a match it goes*?
My Gateway of last resort is the very first entry.
02-27-2006 11:40 AM
Switching to policy based routing now, I will post the results.....................
02-27-2006 02:59 PM
Can you post the output of 'sh ip ro 192.168.20.145' with the static route to 192.168.20.145 configured ?
It should work..
Paresh
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