Consider the following network setup below:
Further, assume that Switch 1 and 2 are managed switches, but only have an IP address assigned on vlan3.
How would you set up the parent/child tree for a setup like this? If switch 1 or 2 goes down, client 2 will not be reachable.
If Router B goes down, Switch1 and Switch2 will still be reachable, because to get to their management IPs, you are routed over Router A. But Client 2 will be down. So, Client 2 depends on Router B and Switch 2 (and therefore Switch 1) being up.
What's the usual way to set this up? Do you just have a policy that every Vlan on every managed switch shall have a management IP, and have each IP address as a different host ("switch1-vlan4" and "switch1-vlan3")?