cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1002
Views
0
Helpful
2
Replies

Setup "C9200-24PXG-E (Essential License)" L3 switch to use 2 different WAN

Archer_03
Level 1
Level 1

Hi,

 

I'm currently setting up my "C9200-24PXG-E (Essential License)" in our office.

My target/goal is to use this L3 switch and control the exit to the WAN, by isolating the default gateway for each VLAN.

 

For example:

  • Devices that has IP of 192.168.111.xxx will exit through WAN1
  • Devices that has IP of 192.168.222.xxx will exit through WAN2

 

I have done the following already:

  • Two WAN lines are prepared and available
  • Create 2 routed ports and connected each to a router connected to the WAN.
  • 5 VLANs are created
  • On the L3 switch, enable the DHCP function and assign an IP.
  • IP addresses are assigned for each VLAN.

 

For better understanding, please see attached image

L3_switching.jpg

 

I assumed that both gateways will be used.
But the problem seems that only one gateway is being used.
I.E. All of the devices connected through the L3 switch only exits through WAN1. WAN2 is never used.

 

Can someone help me understand and guide me through on how to attain my goal/target?
Thank you.

2 Replies 2

balaji.bandi
Hall of Fame
Hall of Fame

If the routing only adding to use only WAN Router - will not use WAN 2 Router.

 

If you have Layer 3 SVI configured on Cat 9200,  you need to make statick route entry pointing to  respected WAN Router

 

Example :

 

IP route 192.168.111.xxx x.x.x.x.x  WAN Router1 IP

IP route 192.168.222.xxx x.x.x.x.x  WAN Router2 IP

 

or 

 

Other method making Layer 2 - So router can take care of gateway i am sure you looking Layer 3 switch as Switch need to Route the packets.

 

- Still have difficulties, please post Cat 9200 and Router configuration to suggest and tweak better.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Archer_03
Level 1
Level 1

Thank you for the reply @balaji.bandi 

 

But I think there is some misunderstanding with what I want to achieve.
What I want to know is the setting for the default route to achieve the following.

 

  • Devices that has an IP of 192.168.111.xxx will use Router 1 as the default gateway
  • Devices that has an IP of 192.168.222.xxx will use Router 2 as the default gateway

Note: In the above example, IP "192.168.111.xxx" and "192.168.222.xxx" are given/allocated from the L3 switch.

 

And regarding about the method making Layer 2, I think it is not what I want to achieve.

If you have any more information/advice about this, I hope that you can share it to me.

Review Cisco Networking for a $25 gift card