cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
835
Views
0
Helpful
5
Replies

Default Gateways !!

omer_babiker
Level 1
Level 1

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,

5 Replies 5

kcnajaf
Level 7
Level 7

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

Hi Najaf,

Thanks for your response.

It's L2 switch.

What if I assigned different VLANs! Will that make any difference?

Regards,

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

http://www.mplsvpn.info

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

Joseph W. Doherty
Hall of Fame
Hall of Fame

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.

Review Cisco Networking for a $25 gift card