I'm having a problem configuring PBR on a switch......
we have a 3560 with the IPservices IOS installed an SDM set to routing, we need 3 vlans (each has their own router / ISP) and they all need to share a single printer / copier.
vlan1 (users and isp1)
vlan2 (users and isp2)
vlan3 (users and isp3)
all the users in all vlans need to access the same printer / copier, any ideas?
I posted a similar question a while back but we found the ios was incompatable with pbr, we now have a switch with ipservices ios installed
If those routers cannot deal with static routes I don't think they are routers at all.....
The 3560 will not intercept the packets for this reason:
When a host on VLAN x sends traffic to a host on another VLAN (VLAN y), it will send the packets to the default gateway.
The default is the router (so the switch will not intercept this traffic).
The 3560 will just switch frames (as a L2 switch).
In other words,
You have an scenario where you have VLANs, and the InterVLAN routing is being done by the routers.
So, in order to have communication between VLANs, traffic must go through the router.
The router will then decide what to do with the traffic (not the 3560)
I can imagine some workarounds, for example:
Enter a static route on the machine to send traffic intended to the printer to the 3560 (and have the 3560 route traffic)
In CLI on a Windows machine:
route ADD x.x.x.x mask 255.255.255.255 3560's_IP
If you add the above route on a windows computer, then it will send traffic to x.x.x.x to the 3560 instead than to the default gateway.
The 3560 must have IP routing configured and must be able to route between VLANs as well.