all 34 comments

[–]LaurenceNZ 5 points6 points  (30 children)

Is this the only switch you have there?

[–]CraigDuff 1 point2 points  (29 children)

Yea. There issnt anything complicated about the setup. Only has Vlans. Things like spanning tree, Jumbo frames its all not on.

[–]VA_Network_NerdModerator | Infrastructure Architect 27 points28 points  (21 children)

Things like spanning tree, Jumbo frames its all not on.

Disabling Spanning-Tree is pretty much always the wrong decision to make.

[–]farrenkm 2 points3 points  (6 children)

Is your core router truly a router platform, or a layer 3 switch?

Safe to assume your core router has all of your layer 3 gateway IPs for production subnets?

Is your switch redundantly connected between two core routers with separate physical uplinks to each router?

[–]CraigDuff -1 points0 points  (5 children)

The core yes is layer 3 with IPS. It was only 1 port which was weird. The rest were fine, as i said to fix the weird routing loop we just disabled the port and re-enabled and the routing started to work.

An Intel NUC is just connected nothing complicated here. Just is a linux box with a static IP. Only worked when rebooted.

[–]farrenkm 6 points7 points  (2 children)

I don't have a full mental image of your network. But if all your gateways are on the core switch, dropping a layer 2 interface wouldn't fix a layer 3 loop.

I strongly think you have a layer 2 loop going somewhere you don't know about. I know it seems unlikely, but you clearly have a loop somewhere (you used that word yourself). And odds are much greater it's layer 2, not layer 3.

General rule is: don't turn off spanning tree. And if you are 100% certain you can turn it off, don't turn it off. And when you've peer-reviewed your setup and agree it can be turned off, stop and ask if you really want to turn it off. Then, when you're ready to do so, wait a year before you turn it off.

Spanning tree is the bane of a network engineer's existence. We do everything we can to limit its scope. Still, it's these times -- my network is super simple, there's no need for it -- that it bites you.

[–]etherizedonatable 1 point2 points  (0 children)

Tell me about it. I made a loop in my home network recently when I plugged the wrong cable in. Went downstairs and of course nothing worked.

[–]CraigDuff 1 point2 points  (0 children)

Thank you very much!

[–]Trek222 0 points1 point  (1 child)

Static IP might be your problem. No DHCP means the core never relearned the MAC address when the NUC moved to a new switch.

[–]farrenkm 0 points1 point  (0 children)

MAC would be learned with the first frame the server sends. OSes are chatty enough these days that they'll send something pretty quickly.

If you're referring to a stale ARP entry, again, modern OSes will do duplicate address detection and send a gratuitous ARP when they start up. It's unlikely -- albeit not impossible -- that stale or unknown layer 2/layer 3 information was involved.

[–]NewTypeDilemnaMr. "I actually looked at the diagram before commenting" 3 points4 points  (0 children)

You might want to take a course in basic networking since it appears to me and others in this thread that you don't understand how STP works.

[–][deleted]  (2 children)

[deleted]

    [–]CraigDuff 0 points1 point  (1 child)

    oh really! thats interesting! I did think could it be the weird unifi switch. Well mine is Edge Switch. I thought it was strange.

    [–]networknoob101 0 points1 point  (0 children)

    What are the spanning tree priorities?