Export Route from OSM to be used in SUMO Simulation tool

Hello… I’m a Master-Student currently writing my Thesis in TU Kaiserslautern, Germany. I am working on SUMO - Traffic Simulation Tool. I want to export route : for an example: Kaiserslautern hbf to UNI Ost Kaiserslautern: from OSM to xyz.osm file so that I can convert it to .net file using Netconvert command. Any solution or answers to my question would be a great help for me. Thanks in advance…!!