cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1154
Views
10
Helpful
5
Replies

Routing concept

I have cisco 9500 switch.

I have 2 interface for communicate with outside.

I have 5 VLANs (VLAN10, VLAN20, VLAN30, VLAN40 and VLAN50)

VLAN10 ip address : 10.10.10.1/24

VLAN20 ip address : 20.20.20.1/24

VLAN30 ip address : 30.30.30.1/24

VLAN40 ip address : 40.40.40.1/24

VLAN50 ip address : 50.50.50.1/24

 

2:  wan interface is x.x.x.x and gateway is a.a.a.a

      wan interface is y.y.y.y and gateway is b.b.b.b

My requrement is 

VLAN10,VLAN20,VLAN30 and VLAN50 traffic will goes through wan interface x.x.x.x 

and only VLAN50 traffic will goes through wan interface y.y.y.y

but same time my default route will be in routing table that is

0.0.0.0 0.0.0.0 x.x.x.x

 

how i will route the traffic

 

5 Replies 5

Reza Sharifi
Hall of Fame
Hall of Fame

see your other post.

Richard Burts
Hall of Fame
Hall of Fame

If I am understanding your post correctly you have multiple vlans/multiple subnets. You want most subnets to route to outside using one interface and other subnet to route to outside using a different outside interface. The usually way to accomplish this is to use Policy Based Routing. You will find some information about this feature in this link

https://www.cisco.com/c/en/us/td/docs/ios/12_2/qos/configuration/guide/fqos_c/qcfpbr.html

 

HTH

 

Rick

HTH

Rick

Alternatively, put VLANs 10,20,30 & 40 in one VRF and VLAN 50 in another. Each VRF has its own default route and route leak (or interconnect) between the VRFs.

 

Hope this helps

 

Dave

how i wil do can you suggest me...........can you give me configuration file

It will helpful for me

Here is a config example covering PBR and inter-VRF route leaking:

 

https://www.cisco.com/c/en/us/support/docs/ip/ip-routing/200158-Configure-Route-Leaking-between-Global-a.html

 

Hope this helps

 

Dave