Discerning the gateway address (deprecated method)

With net-tools installed, we can also use the route command to find our default route out:

$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default gateway 0.0.0.0 UG 102 0 0 eth0
10.0.2.0 0.0.0.0 255.255.255.0 U 102 0 0 eth0
192.168.33.0 0.0.0.0 255.255.255.0 U 100 0 0 eth1