Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

IP Routing

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
Bronze

Re: IP Routing

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

4 REPLIES
Bronze

Re: IP Routing

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

New Member

Re: IP Routing

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

Bronze

Re: IP Routing

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

New Member

Re: IP Routing

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

Thanks for pointing me toward the right direction!

hieu

102
Views
4
Helpful
4
Replies
CreatePlease to create content