This problem actually arose when designing a computer network.
Let $G=(V,E)$ be a finite, simple, undirected graph such that every vertex has degree at least $2$. Given $n\in\mathbb{N}$, a map $c:E \to \{1,\ldots, n\}$ is said to be a weak coloring if for every $v\in V$ the edges adjacent to $v$ do not all have the same color. (More formally, we want the restriction $c|_{E(v)}$ to be non-constant, where $E(v) = \{e\in E: x\in e\}$.)
Is there for every graph $G=(V,E)$ with minimal degree $2$ a weak edge coloring $c:E\to\{1,2\}$?