routing is per default enabled, even in an EX2200, so you just have to configure a static route for 0.0.0.0/0:
set routing-options static route 0.0.0.0/0 next-hop <gateway-ip>
routing is per default enabled, even in an EX2200, so you just have to configure a static route for 0.0.0.0/0:
set routing-options static route 0.0.0.0/0 next-hop <gateway-ip>