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

Routing and DHCP Relay with SG-300 switches

cathanas
Level 1
Level 1

I have 2 Cisco SG300-52 switches. I have 2 sides of a building and need to segment my network. One side is 10.0.0.0 and has the servers and DHCP services. The other side is 10.0.74.0 and workstations/devices only. I have fiber between the 2 sides. What I would like to do is have my DHCP server service (DHCP relay) both sides and be able access all devices on both sides through the fiber connection between the 2 switches. I know I can do this if I had fiber-connected routers in front of the 2 switches, but can I do this with using a VLAN on the fiber between the 2 SG300-52 switches and no additional routers?

2 Replies 2

Seb Rupik
VIP Alumni
VIP Alumni

Hi there,

You have two options available.

 

* 1 - Configure one of the SG300 in router mode and have it route the VLANs for both sides of the building, lets say SideA. SideB SG300 would just operate at Layer2, with the fibre-link between the switches carrying the SideB VLAN (workstations, etc) via trunk link.

 

 

* 2 - Configure both SG300 in router mode. Each one routing its local VLAN. You will then need to configure a Layer3 link between the two SG300's lets say 192.168.0.0/30 . SideA would have the IP 192.168.0.1 and SideB 192.168.0.2 .

The switches will then need to have a route installed instructing it how to reach the other switches local VLAN, eg:

 

SideA : ip route 10.0.74.0 255.255.255.0 192.168.0.2

SideB : ip route 10.0.0.0 255.255.255.0 192.168.0.1

 

 

cheers,

Seb.

Thank you Seb.  I will give this a try.