How to find the gateway on MAC OS terminal

netstat -nr | grep ‘^default’