Yes of course. That is what the router does.