cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
373
Views
4
Helpful
4
Replies

IP Routing

Hieu Cao
Level 4
Level 4

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

1 Accepted Solution

Accepted Solutions

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

View solution in original post

4 Replies 4

bjornarsb
Level 4
Level 4

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

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

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

I actually apply PBR in our core router and it worked out great.

Thanks for pointing me toward the right direction!

hieu

Getting Started

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:

Review Cisco Networking products for a $25 gift card