Today I will explain how to configure network configuration in FreeBSD. So Lets begin:
- In the file /etc/rc.conf we can set static ip address and default gateway and etc. For example you can set values as follows:
ifconfig_lnc0=”inet 192.168.0.2 netmask 255.255.255.0″
2. We have to restart two netif services to make effective the changes:
3. Save and close /etc/rc.conf file. You can see new parameters with IFCONFIG .