11-24-2012 09:04 PM - edited 03-04-2019 06:14 PM
Hi,
Please refer to the attached diagram.
Currently, my network connected to the switch and then to firewall and then to the internet.
Recently, some PCs of the same network need to access a new private MPLS network. To accomplish our needs, I need a direct connection from the switch to the MPLS router. In this case we will be having 2 default gateways in the switch; right? will that be a valid design? what config should I do?
Please share your ideas.
Thanks,
11-24-2012 09:45 PM
Hi Omer,
What model of switch you have there? Is that a Layer 2 switch? Ideally you should have a L3 switch there which will route the traffic based on the destination.
As far as i know you can not have a two default gateways on switch :-)
Hope that helps
Regards
Najaf
11-24-2012 09:53 PM
Hi Najaf,
Thanks for your response.
It's L2 switch.
What if I assigned different VLANs! Will that make any difference?
Regards,
11-24-2012 10:20 PM
Hi Omer
The few PCs which are you talking about will access the only MPLS network or they will access the internet too.
If those PCs will access the MPLS network only, in that case probably you could use one more network like 192.168.10.0/24 for those PC and add them in VLAN 100 (example use any vlan). Now you need to configure the port as trunk netween your router and switch and have to create a one sub interface. The reverse routes need to be added in the MPLS network too.
If PCs wants to communicate with Internet also, during that case you need to reroute the traffic towards firewall by putting default route.
regards
shivlu jain
11-24-2012 10:34 PM
Hi Omer,
Assigning new VLAN will help depending on the requirement. Does the few PC's which require access to MPLS requires to access Internet as well? Or is it just they need access only to MPLS network?
Regards
Najaf
11-25-2012 04:12 AM
Disclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
Normally, you would not have more than one default gateway unless both route alike.
From what you've described, what may work for you is to make the new R1 router the default gateway and on it have a default route to the FW.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide