05-23-2007 11:31 AM - edited 03-03-2019 05:06 PM
network-A (192.168.1.0)-- > workstation-A --> swich-A --> router-A --> internet-A
network-B (192.168.2.0) --> workstation-B --> swich-B --> router-B --> internet-B
Can someone please advise me as to how I can make workstion-A internet traffic (http) to go through router-B instead of router-A.
Both routers are running EIGRP.
network-A: 192.168.1.0 subnet
network-B: 192.168.2.0 subnet
Workstation-A can ping all nodes on network-B and vice versa.
Thanks!
TIA
hieu
Solved! Go to Solution.
05-23-2007 11:15 PM
Yes,
And if you have problems with Policy based routing support on your switch, then I think you can try applying the configuration on rtrA and if its somehow connected to rtsb, set rtrb lan adr. as next-hop.
BR,
Bjornarsb
05-23-2007 11:53 AM
Hi,
I assume that swa is connected to swb,
and that at least swa supports policy based routing.
Then it would be like this:
access-list 101 permit tcp 192.168.1.0 any eq www
interface fastethernet 3/1
ip policy route-map AtoB
!
route-map AtoB permit 10
match ip address 101
set ip next-hop 3.3.3.3 (swb or rtrb)
!
route-map AtoB permit 20
ps: The return traffic will return on rtrA,
unless you use Nat overload on rtrB :)
HTH,
Check the scroll-bar at the bottom right :)
BR,
Bjornarsb
05-23-2007 12:13 PM
Hi Bjoornarsb,
Thanks for your response. I assume that those commands above to be implement in the switch-a. is this correct?
I'll try it out when I am back in the office later this afternoon.
Thanks!
hieu
05-23-2007 11:15 PM
Yes,
And if you have problems with Policy based routing support on your switch, then I think you can try applying the configuration on rtrA and if its somehow connected to rtsb, set rtrb lan adr. as next-hop.
BR,
Bjornarsb
05-25-2007 08:33 AM
I actually apply PBR in our core router and it worked out great.
Thanks for pointing me toward the right direction!
hieu
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