Vylegzhanin, Legkov and Ilia Chernousov ensured the 15km classic pursuit would be raced according to their rules after catching Petter Northug early on.
All three took turns in skiing at the front of a leading pack as the race grew to an expected sprint finish, which saw Vylegzhanin and Legkov break away.
Legkov broke first and looked to be the likely winner heading into the home straight however Vylegzhanin had other ideas and stuck with him all the way.
The two Russians were inseparable as the finishing line beckoned with Vylegzhanin’s outstretched ski eventually see him just beat Legkov.
Vylegzhanin’s time was 39.47.0minutes with Legkov narrowly behind in second while Norwegian Northug, who won the prologue on Saturday, took third.
Vylegzhanin and Legkov were too quick for Northug to catch in the latter stages but he did come from behind to edge out Dario Cologna and Alex Harvey.
Northug finished 6.5seconds behind the Russia duo with Cologna, the defending Tour de Ski champion, 0.2 shy in fourth and Harvey a further second adrift in fifth.