Connecting two routers to a Switch

Started by Gage84, August 14, 2023, 05:36:21 PM

Previous topic - Next topic

Gage84

Is it possible to connect two routers to a single layer 3 network switch. The reason I ask is because our company currently has a few buildings located relatively close to each other. They are all connected with fibre links to each building (used for SFP modules)

Our main building has two lines, one corporate (172 ip address) and a public line (192 ip address). We have a HP Aruba e6412 ZL switch that currently has the corporate line connected via a Cisco router using a LAN cable and trunk links via SFP modules to the other buildings to provide corporate connectivity.

I'm wondering if it is possible to connect the second router used for public internet/wi-fi, by setting up VLANs on the HP Aruba switch and tagging the necessary ports, but I am led to believe a switch can only have one router providing DHCP (I wasn't able to add the default gateway of the second router to the switch)

My only alternative is setting up the second router on another switch, but I think this will be cumbersome as it will mean adding additional switches to the other buildings also.

My networking skills are a little limited when it comes to this so all suggestions are welcomed.

deanwebb

Yes. :smug:

OK, now for more info. :) If we were only considering routing, absolutely. The layer 3 functions of the switch are equal to those of the other routers, strictly speaking.

But you bring up DHCP - here the answer is if you don't have a coordinated DHCP administration and are having a single device provide that service, then, yes, only one DHCP server is allowed. That would mean disabling it on another device offering it. That being said, Cisco itself recommends that its own devices *should not* provide enterprise DHCP service. Do you have something like a Microsoft domain controller that can provide DHCP services?
Take a baseball bat and trash all the routers, shout out "IT'S A NETWORK PROBLEM NOW, SUCKERS!" and then peel out of the parking lot in your Ferrari.
"The world could perish if people only worked on things that were easy to handle." -- Vladimir Savchenko
Вопросы есть? Вопросов нет! | BCEB: Belkin Certified Expert Baffler | "Plan B is Plan A with an element of panic." -- John Clarke
Accounting is architecture, remember that!
Air gaps are high-latency Internet connections.