How to view

% netstat -rn

Default gateway

We can specify the IP address of the default gateway by below command.

% sudo route add default 10.20.30.1

Reference

30.2. Gateways and Routes, Chapter 30. Advanced Networking, FreeBSD Handbook