Ghent is only a 30-minute train ride away from Brussels and is on the line from Brussels to Bruges and the coast. If you're planning to visit Bruges and Brussels, definitely stop over in Ghent as well. There are also direct trains to Brussels Airport, Antwerp, Lille and Paris.
The dense highway network in Belgium allows you to access Ghent easily by car. Two main highways E40. E17 (Antwerp-Ghent-Kortrijk-Lille) cross at Ghent. Brussels and Antwerp are 40 min away, Bruges 30 min. During rush hour you can easily double these times.