06-11-2012 03:07 AM - edited 03-07-2019 07:11 AM
Hello to everyone.
I need to physically separate 10 LANs now connected together to a single Internet Gateway thru a series of Layer 2 unexpensive switches.
The Internet Gateway router also acts as DHCP server.
LAN 1 <> LAN 2 <> LAN 3 .. <> ROUTER (INTERNET GATEWAY and DHCP)
My idea was to use a Layer 3 switch and VLAN function to create 10 VLANs (one for each physical LAN connected to a single switch port), and route all to another VLAN port connected to the Internet Gateway router to browse the web.
LAN 1 |
LAN 2 | <> L3 SWITCH <> ROUTER INTERNET
LAN 3 |
...
I bought a Cisco SG500X-24 Layer 3 switch, but now my (unexpected) problem is DHCP. Each LAN (of course) should have a different address subnet than the others, and I thought that the switch was capable to "create" a single DHCP Server for each VLAN.
Instead, reading the user guide, it seems that this model doesn't have a DHCP server feature at all.
I hope someone may help me, because I fear I bought the wrong machine to solve my problem.
Thank you,
Andrea
09-24-2012 10:44 PM
Hi Andrea, sorry for the late answer, I hope you have solved your issue, but maybe this will be useful for other people encountering the same issue.
What you should do, if your internet router allows it, is set up the port that connects the switch and the router as a trunk and allow all the VLANs you defined, and then you should set up as many interfaces on the router as you need, all tagged with a separate vlan id, and all assigned to a single physical interface.
I don't know what brand/model your router is but as long as it isn't a soho product it should allow you to setup vlans and different interfaces, and allow you to set up a dhcp server with different parameters for each virtual interface.
If your router doesn't support such a feature I suggest you to look at pfsense (http://www.pfsense.org), you will need to install it on a separate machine, but it will allow you to accomplish what you need.
Regards
Mattia
11-12-2012 09:41 AM
Hello, can you confirm if with SG500 Switch i could configure a DHCP Server scope??? i need this switch acting as a dhcp server.
thanks for your answer.
11-20-2012 08:56 AM
Hi, this switch does not support a DHCP server. You will need to look in to a Catalyst for this feature.
-Tom
Please rate helpful posts
06-26-2013 08:00 PM
Hi
Added DHCPv4 server on version 1.3.0.62. see the release notes
http://www.cisco.com/en/US/docs/switches/lan/csbms/Sx500/release_notes/R_1.3.0.62_RN_78-21240-01.pdf
-Sundar
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