Always be building solid, interesting things and make sure that if someone, for some reason finds them, that they would say "wow, this is cool, who made this?"
Then I casually share links to those things in the right context. If I get a 10% hit rate then I'm happy.
Do this all day every day between assigned projects 9-5 and you'd be amazed at the network you can build outside your own team. Keeps the options open for lateral movement.