In general though you don't need to give it a gateway, you just need to be part of the same subnet.
In general in a running system you can simply do:
ip addr add 192.168.0.1/24 dev
In general you can also simply add addresses to your main internet device, whatever it is.
You don't actually need any "routing" the kernel will know to send packages for a certain IP out a certain device. It doesn't require any gateways; adding yourself to that subnet would automatically set up the required routes.
To make it persistent depends on what network solution you are using, I can't comment on that.