Routing a specific VLAN out a separate default gateway(ISP)

Unanswered Question

We have a switched network running OSPF with numerous VLANS all funneling out one default gateway for our internet/outside access.

We have had a Comcast cable modem installed to use as a separate internet gateway for Vendors and for out IT departmental testing.

I have set up a port as a router interface off a Layer 3 switch and I want to route all traffic from a specific VLAN on our campus out that interface, however, that VLAN and the routed interface is picked up by OSPF and included in the routing table. I've tried to use a route-map and tell that subnet to go out the routed interface and use the comcast device IP as it's gateway, but it's still routing the traffic internally. I'm stumped. How do I specify a separate default gateway and route for that specific traffic?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)

I have this configured already. What is it that I'm doing wrong?

interface GigabitEthernet1/0/16

no switchport

ip address

ip access-group 121 in

ip route-cache policy

speed 100

duplex full

no mdix auto

interface Vlan201

ip address 172.XX.XXXre.1


access-list 121 permit ip 172.XX.XXX.0 any log

route-map comcast permit 10

match ip address 121

set interface GigabitEthernet1/0/16

set ip next-hop

I've tried to type "ip policy route-map comcast" on my gig 1/0/16 interface, but it doesn't show. Am I typing it in the wrong place?

Edison Ortiz Fri, 02/15/2008 - 15:29
User Badges:
  • Super Bronze, 10000 points or more
  • Hall of Fame,

    Founding Member

The policy must be place in the ingress interface, in your case interface Vlan201

You also need to remove the log from the ACL, not supported for PBR.


This Discussion