QuestionQ36

Basic BSD Network Administration

Which file specifies the IP address for the default gateway on a FreeBSD system?

  • A /etc/network
  • B /etc/resolvers
  • C /etc/gateway
  • D /etc/rc.conf
  • E /etc/rc.d
Explanation

FreeBSD configures the persistent default IPv4 route through the defaultrouter setting in /etc/rc.conf. This setting contains the gateway host name or IP address used to create the default route.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!