Want all traffic destined for to go through your interface with ip

route add -net netmask gw

To delete this route,

route del -net

Ohh and static arp to one of the hosts in that network?

arp -s 00:50:49:A0:9E:E0

It’s so easy! More info here and here.

Mario Loria is a builder of diverse infrastructure with modern workloads on both bare-metal and cloud platforms. He's traversed roles in system administration, network engineering, and DevOps. You can learn more about him here.