What did Ryan Phillippe do on the day of ex-wife's second wedding?

He let the dogs out!

On Saturday afternoon, as Reese Witherspoon prepped to wed love Jim Toth at her ranch in Ojai, Calif., her first husband (and father to kids Ava, 11, and Deacon, 7) showed up less than 40 miles away at a resort in Montecito.

His companions: on-again girlfriend Amanda Seyfried and two pooches! Seyfried, 25, took her dog Finn, while Phillippe, 36, brought along his daughter Ava's German Shepherd puppy. The foursome were spotted taking a jog near their $1,200-a-night cottage (which featured a private deck with a sunken bath tub and outdoor rain shower -- plus a cozy fireplace inside). See more pics from Phillippe and Seyfried's outing.

That night, Witherspoon, 35, said "I do" to CAA agent Toth, 40, as 120 pals (including A-listers like Renee Zellweger, Alyssa Milano and Scarlett Johansson) looked on. Witherspoon and Phillippe called it quits in 2007; their two kids together took part in the ceremony.