FreeBSD static routing set gateway to link
You need to stop, take 10 giant steps back from the machine, and read the FreeBSD handbook section on networking (specifically the section on Gateways and Routes).
. . . go ahead, this answer will still be here when you're done. . . .
You read it? Good.
Now you understand that what you're asking to do makes no sense, right?
FreeBSD generally handles routes two ways:
I am connected to this network directly, via a NIC (interface, link)
The system knows this because when you configure an interface you provide an IP address and a netmask. Any machines on the subnet specified by that combination are reachable over that link.I can reach this network via a gateway machine with a specific IP address
The system knows this because you configure a route to a specific destination (a single address, a subnet, or the "default" route for any destination not otherwise specified), and tell it which machine (address) will be the gateway that it should send traffic to in order to reach that destination.
Implicit in this is that you must be able to reach this gateway (either via a link as in (1) above, or via another gateway.
You cannot configure a link
as a gateway - doing so makes no sense as any network(s) reachable via a specific link will be automatically configured for you when you configure the interface.
You can do other things (like simply spew traffic onto a serial line), which are all documented in the handbook if you're actually in one of the rare situations where you would need to, but you've given no indication that you're in such a situation.
Actually you can only add "interface" routes on cisco with point-to-point interfaces, not multiple access ones like FastEthernet.
So, to make a default route with ethernet on cisco you should use "next hop" address like this:
ip route 0.0.0.0 0.0.0.0 FastEthernet0/0 172.16.2.1
Same things with BSD box. But if you only like to add network route as "ip route 172.16.2.0 255.255.255.0 Serial 0/0" with FBSD, you can do something about:
route add 172.16.2.0/24 -iface em0