More than 50,000 people including retired footballer Robbie Savage and singer Mel C took part in the popular race first started in 1981 in wet and windy conditions.
Farah, Bekele and Gebrselassie, who have 12 world and seven Olympic titles between them, raced together for the first 19 kilometers before Bekele attacked on a steep portion to leave his two rivals behind.
The 40-year-old Gebrselassie was then dropped by Farah, who ultimately lacked the speed needed to catch and pass Bekele as the Ethiopian rider crossed the line with a smile on his face.
Kenya's Priscah Jeptoo won the women's race just four seconds short of the record time. Meseret Defar and Tirunesh Dibaba of Ethiopia were second and third, respectively.