When I lived on a farm we had plenty of cats and two dogs. The two dogs were jealous of each other, in regards to who got the most attention. They fought over food as well. The cats all got along well and ate and played together.
If the dogs were outside and saw a cat coming to the porch they both would make a bee line toward the cat to scare it off. My cat Rufus, was the only cat that would not run from them. He would calmly sit down and start washing his face, and payed no attention to the dogs. When they got near him he pretended not to see them which totally confused the dogs. It was humorous to watch, for Rufus, would calmly stand up and come to the porch with the dogs trailing after him.