Instead of a generic ethX identifier that Linux® uses to identify a network interface, FreeBSD uses the driver name followed by a number. The following output from ifconfig(8) shows two Intel® Pro 1000 network interfaces (
An IP address can be assigned to an interface using ifconfig(8). To remain persistent across reboots, the IP configuration must be included in hostname="server1.example.com"ifconfig_em0="inet 10.10.10.100 netmask 255.255.255.0"defaultrouter="10.10.10.1" Use the following entries to instead configure an interface for DHCP: hostname="server1.example.com"ifconfig_em0="DHCP" |
Home‎ > ‎Server config‎ > ‎