VLAN on each switch port set as their own DHCP server

VLAN on each switch port set as their own DHCP server

VLAN on each switch port set as their own DHCP server
VLAN on each switch port set as their own DHCP server
2024-11-26 00:22:04 - last edited 2024-11-27 01:41:49
Model: TL-SG3210  
Hardware Version: V3
Firmware Version: 3.20.3

Hi,

 

Hope someone can enlighten me if what I did would impose problems over my large network

 

So I created 5 VLAN for each 5 ports of my SG3210 and I have set each VLAN to be their own DHCP server. Would that cause any problems?

 

note that the 6th port is set to default as the management VLAN and set to the default static IP and set as a DHCP server as well

 

each of the 5 ports that have their own VLAN and DHCP server enabled that I've mentioned above have unmanaged switches connected to each for 5 different rooms and computers connected to those unmanaged switches

 

here is a screenshot of one of the VLAN I created assigned to 1 of the ports. 

 

also if someone can tell me the disadvantage and advantages of what I did? 

 

I don't want each room's computers communicating with another room/port/VLAN but all computers within the same room/port/VLAN should be able to communicate with each other

 

also created acl for each vlan

 

  0      
  0      
#1
Options
1 Accepted Solution
Re:VLAN on each switch port set as their own DHCP server-Solution
2024-11-27 01:40:47 - last edited 2024-11-27 01:41:49

Hi @herbsss 

Thanks for posting in our business forum.

5 rooms with 5 different VLAN interfaces, no issue with that. That's ideal for management and enough for regular users.

/24 is enough for most regular users.

 

When you place an unmanaged switch in each room, you set its uplink port as untagged. No issue as I can tell.

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
Recommended Solution
  1  
  1  
#2
Options
5 Reply
Re:VLAN on each switch port set as their own DHCP server-Solution
2024-11-27 01:40:47 - last edited 2024-11-27 01:41:49

Hi @herbsss 

Thanks for posting in our business forum.

5 rooms with 5 different VLAN interfaces, no issue with that. That's ideal for management and enough for regular users.

/24 is enough for most regular users.

 

When you place an unmanaged switch in each room, you set its uplink port as untagged. No issue as I can tell.

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
Recommended Solution
  1  
  1  
#2
Options
Re:VLAN on each switch port set as their own DHCP server
3 weeks ago

  @Clive_A Hi, again sorry for being such a noob and really thank you and appreciate for the help. 

So below is my setup 

 



Apologies for my ignorance, but as you can see on my setup. 

- My SG3210 switch's port 1 serves as an uplink connected to my ER7206 which is the gateway

- My gateway (ER7206) has an IP Address of 192.168.0.1

- Im going to DISABLE the DHCP on my "Default" Vlan on my er7206 which has an IP address of 192.168.0.1

- Im going to ACTIVATE the DHCP on my "Default" Vlan on my SG3210 which has an IP address of 192.168.0.2 and also serves as my Management VLAN

 

the question: what ip address should i put in Default Gateway and Primary DNS on my switch's "Default" Vlan also the management vlan ? should it be 192.168.0.2 which is the default IP of the SG3210 switch ? or 192.168.0.1 which is the IP address of the ER7206 which is serving as the gateway/uplink

thank you for all the help

  0  
  0  
#3
Options
Re:VLAN on each switch port set as their own DHCP server
3 weeks ago

Hi @herbsss 

Thanks for posting in our business forum.

herbsss wrote

  @Clive_A Hi, again sorry for being such a noob and really thank you and appreciate for the help. 

So below is my setup 

 

 



Apologies for my ignorance, but as you can see on my setup. 

- My SG3210 switch's port 1 serves as an uplink connected to my ER7206 which is the gateway

- My gateway (ER7206) has an IP Address of 192.168.0.1

- Im going to DISABLE the DHCP on my "Default" Vlan on my er7206 which has an IP address of 192.168.0.1

- Im going to ACTIVATE the DHCP on my "Default" Vlan on my SG3210 which has an IP address of 192.168.0.2 and also serves as my Management VLAN

 

the question: what ip address should i put in Default Gateway and Primary DNS on my switch's "Default" Vlan also the management vlan ? should it be 192.168.0.2 which is the default IP of the SG3210 switch ? or 192.168.0.1 which is the IP address of the ER7206 which is serving as the gateway/uplink

thank you for all the help

The question falls back to the network basis.

Your switch is not a NAT and if you intend to let it have Internet access, your default gateway is the router LAN IP.

 

If you are creating a traditional non-VLAN interface-based network, you should set up static routing.

Read this guide and digest the concepts: How to Set Up VLAN Interface on the Omada Router

 

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
  0  
  0  
#4
Options
Re:VLAN on each switch port set as their own DHCP server
3 weeks ago - last edited 3 weeks ago

  @Clive_A Hi thanks for responding quickly. so basically on my Switch's Management VLAN default VLAN which has an IP address of 192.168.0.2,  the value I should have on the gateway field of the static IP address is 192.168.0.1? and as well the gateway IP address of the DHCP server on the Default VLAN that had a 192.168.0.2 should have a gateway value of 192.168.0.1 as well?

  0  
  0  
#5
Options
Re:VLAN on each switch port set as their own DHCP server
3 weeks ago

Hi @herbsss 

Thanks for posting in our business forum.

herbsss wrote

  @Clive_A Hi thanks for responding quickly. so basically on my Switch's Management VLAN default VLAN which has an IP address of 192.168.0.2,  the value I should have on the gateway field of the static IP address is 192.168.0.1? and as well the gateway IP address of the DHCP server on the Default VLAN that had a 192.168.0.2 should have a gateway value of 192.168.0.1 as well?

The traffic of a DHCP client should be routed to the DHCP server. AKA (default)gateway.

 

Static route is routing it to the router which only applies to the case where the switch is the DHCP server. The guide has explicitly shown the steps and configs.

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
  1  
  1  
#6
Options

Information

Helpful: 0

Views: 228

Replies: 5

Related Articles