1

Is there a protocol for that switches, or devices with multiple network ports, could use to signal link changes, or some mean to try to detect link changes? The scenario I'm trying to solve is scenarios where devices can try to start using link local addressing when there is no DHCP server present, and to try to detect when DHCP server becomes available.

I realize this sounds a bit vague, so I'll try to clarify. When the devices below acquires a network link, they will first try to configure using DHCP, and if that not works they will fall back and use link local addressing (169.254.0.0/16)

switch 1 -- switch 2 -- switch 3
`- dev1     `- dev2     `- dev3

But if I connect a DHCP server to the network, I want the devices to reconfigure their network settings and use the addresses provided by the DHCP server. I also want to be able to detect when a link somewhere in the chain goes down (powerloss or something), and allow the isolated group reconfigure their network settings using link local addressing. I would also like to detect when two groups are connected again, so they can advertise their presence to each other.

So, I'm looking for some kind of protocol that can provide information about the link status for the switches. I'll look into the spanning tree protocol.

1
  • 1
    You'll need to elaborate on what you're trying to achieve or what the problem is. As is, the question doesn't make too much sense. – Zac67 Jun 22 '17 at 20:08
3

Is there a protocol for that switches, or devices with multiple network ports, could use to signal link changes, or some mean to try to detect link changes?

Yes: Spanning tree topology change message that are sent by switches when a port (without BPDUGuard enable) change its state.

The scenario I'm trying to solve is scenarios where devices can try to start using link local addressing when there is no DHCP server present, and to try to detect when DHCP server becomes available.

I didn't understood what you are trying to achieve here. I also didn't understood what is the link between this sentence and the first one.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.