Network Settings on FreeBSD | InfoZonePK

To make network settings on FreeBSD first we have to check the name of interface using following command:


emo: flags=8843 metric 0 mtu 1500


ether 08:00:27:11:11:78

media: Ethernet autoselect (1000baseTX)

status: active

1oo: flags=8049 metric 0 mtu 16384

inet6 fe80: : 1%100 prefixlen 64 scopeid 0x2

inet netmask 0xff000000

Now enter these command on prompt using network card name (emo).

$ ifcnfig em0 inet netmask

$ route add default gw

$ vi /etc/resolve.conf

write in the file