Trouble setting up SG3210X-M2 switch

Trouble setting up SG3210X-M2 switch

Trouble setting up SG3210X-M2 switch
Trouble setting up SG3210X-M2 switch
a week ago
Model: TL-SG3210XHP-M2  
Hardware Version: V1
Firmware Version: 1.0.0 Build 20230725 Rel.71176

I'm having trouble setting up my switch and getting it to connect to my software controller.

 

My network is at 10.6.1.0/24 but the switch turns on with the IP 192.168.0.1

I was very surprised because the switch is configured to use DHCP:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

I tried adopting it into my software controller anyway, but it failed:

 

 

 

 

 

 

 

 

 

 

 

 

Then i tried setting a static IP and adopting again. It progressed further:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

But it ultimately failed, and if you look closely, the adoption process changed its IP back to 192.168.0.1

 

 

 

 

 

 

 

 

 

 

 

These are the errors that I can see on the software controller:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

But I'm not sure how to proceed from here.

 

 

PS - It also occurred to me that my network configurations could be wrong, but they seem right to me:


 

 

 

 

 

 

 

 

 

 

 

 

 

 

What could I try to fix this? What settings might be wrong?

  0      
  0      
#1
Options
7 Reply
Re:Trouble setting up SG3210X-M2 switch
a week ago

  @JumpingPeach 

Check if you have set the PVID properly before the switch can contact a DHCP server to get an IP from the subnet and DHCP server where your controller locates. 

  1  
  1  
#2
Options
Re:Trouble setting up SG3210X-M2 switch
Monday - last edited Monday

  @Clive_A Thank you for the response. 

 

I haven't set up any VLANS yet, what should my PVID be and where can I set it? 

  0  
  0  
#3
Options
Re:Trouble setting up SG3210X-M2 switch
Tuesday

  @JumpingPeach 

JumpingPeach wrote

  @Clive_A Thank you for the response. 

 

I haven't set up any VLANS yet, what should my PVID be and where can I set it? 

Meaning this is the default VLAN 1?

 

If so, the switch does not get the IP address, which means there is a connection problem. There is no link to the DHCP server, so the switch cannot get a DHCP IP. 

  0  
  0  
#4
Options
Re:Trouble setting up SG3210X-M2 switch
Tuesday

  @Clive_A Yes.

 

My current hardware does not support VLANs, so my whole network is at 10.6.1.0/24

 

What should I be looking for that might be causing the link to the DHCP server to be failing?

  0  
  0  
#5
Options
Re:Trouble setting up SG3210X-M2 switch
Tuesday

  @JumpingPeach 

JumpingPeach wrote

  @Clive_A Yes.

 

My current hardware does not support VLANs, so my whole network is at 10.6.1.0/24

 

What should I be looking for that might be causing the link to the DHCP server to be failing?

Physical link. Or have you set a VLAN on the switch before? 

You can consider Wirehshark to see more about the DHCP interaction between them. 

  0  
  0  
#6
Options
Re:Trouble setting up SG3210X-M2 switch
23 hours ago

  @JumpingPeach I have three of these switches in my home and they are rock solid. I am starting to wonder if your switch needs a factory reset so that the controller can manage it. The first images look as if you logged into the switch directly, but the switch is on a different subnet, so I am unsure how you did that.

  0  
  0  
#7
Options
Re:Trouble setting up SG3210X-M2 switch
3 hours ago - last edited 3 hours ago

  @JumpingPeach 

 

When the controller adopts a switch, it is by necessity factory reset during the adoption process, and unless you add the switch and preconfigure it in omada (using the device key) the adoption will set it back to DHCP .  Everything points to your DHCP server being unable to assign an IP to the switch so the switch is using its fallback IP (192.168.0.1) which it does when it cant get an IP from DHCP - at which point the adoption will fail.

 

You can get this to work however without doing a device key based preconfig - reset the switch. attempt adoption.  It will probably fail, but you now have it in a "disconnected" state in the controller but this will still allow you to configure its entry to a static IP (click on the switch, config, vlan interface, configure the default vlan interface and set its static IP in here)

Disconnect and factory reset the switch, manually log into it and set its static IP in the standalone GUI as you were before, and save the config in the GUI.  Now, connect it and adopt it again.  It will now be adopted with the static IP you set earlier and should now succeed.

 

Main: ER8411 x1, SG3428X x1, SG3452 x1, SG2428LP x1, SG3210 x1, SG2218P x1, SG2008P x3, ES208G x1, EAP650 x6 Remote: ER7206 v2 x1, ER605 v2 x3, SG2008P x2, EAP650 x2, ES205G x1 Controller: OC300
  0  
  0  
#8
Options

Information

Helpful: 0

Views: 208

Replies: 7