6

If you were to connect two buildings on the same site via fiber, what is best to use - routers or layer 3 switches? The layer two switches in each building have VLAN's, so these will either connect to a router or layer 3 switch, and then the router or layer 3 switch will connect to the other buildings router or layer 3 switch.

Or the other option is instead of having routers and layer 3 switches in each building, the main layer 2 switch in each building connects to one another and these both connect to a router or layer 3 switch in the main building.

I'm aware layer 3 switches are in a sense routers, and are typically used for VLAN's, but router on a stick could also tackle that problem.

The_Bear
  • 163
  • 4

2 Answers2

7

As you already know, a layer 3 switch includes a basic router. If the device has the functionality you need, then it should be fine to use. For instance, a layer 3 switch generally won't do NAT or have ports suitable for connection to a WAN. But it sounds like you will not need either of those.

Michael Hampton
  • 244,070
  • 43
  • 506
  • 972
4

Whats the nature of the traffic ?

Gigabits of line-rate traffic with lots of frames/packets/bytes with quite simple ACLs? Then you want L3 switching.

Or lots of ACLs, Megabits/sec of traffic, with possible shaping, policing, or NAT ? Are there VPNs to be terminated? Then you want a router.

Ideally your network would have a L3 switch internally for fast traffic, and the router would sit between the core and the internet and any remote sites.

If you want it all in one device for simplicity, then your network design might need revising, so its time to call in a consultant with some external viewpoints, or consult an IT expert you trust.

Criggie
  • 2,379
  • 14
  • 25