Mysore to Ooty via Gudallur distance is about 183km : Mysore City — 24km –> Nanjangud — 43km –> Gundlupet –20km –> Bandipur National Park — 5km –> Karnataka Tamilnadu border — 7km –> Theppakkadu — 17km –> Gudallur Town — 46km –> Pykara Lake — 21km –> Ooty
From Mysore city take the ring road or the Niligiri Road ( Calicut bound NH212 ). This starts from the southeast part of Mysore Palace. You can also take the JLB Road or the Outer Ring Road , both joins the NH212 in the outskirts of the city. At a place called Theppakkadu, the road bifricates, both leads to Ooty. The main traffic (bus,trucks etc) to Ooty from Mysore goes via Gudalur.
However the adventurous ones can take the Masinagudy route (see Mysore to Ooty via Masinagudi for driving directions). You'll find the safari point, forest guest houses and even an elephant camp ( Mudumalai Elephant Camp) near this junction.
The straight road ( NH67) take you to Gudalur after 18km from Theppakadu. This is a relatively large town you would cross after Gundlupet. Another 28km you'll pass the Pykara (one of the Ooty's attractions) lake. From Pykara to Ooty town is about 20km.