Network and Routing start restart stop
2009年12月24日 星期四 by Anati
* Use FreeBSD rc system enable network service
To start FreeBSD network service:
To stop FreeBSD network service:
To restart FreeBSD network service:
* Manual method using ifconfig
To stop network card (NIC) on-fly:
To start network card (NIC) on fly:
To list down network interface:
To list up network interface:
* FreeBSD Update / restart routing tables / service
It is also necessary to update routing table after restating networking service, enter:
How do I restart network service over ssh session?
You need to type the commands as follows in order to avoid any problems:
To start FreeBSD network service:
# /etc/rc.d/netif startTo stop FreeBSD network service:
# /etc/rc.d/netif stopTo restart FreeBSD network service:
# /etc/rc.d/netif restart* Manual method using ifconfig
To stop network card (NIC) on-fly:
# ifconfig network-interface downTo start network card (NIC) on fly:
# ifconfig network-interface upTo list down network interface:
# ifconfig -dTo list up network interface:
# ifconfig -u* FreeBSD Update / restart routing tables / service
It is also necessary to update routing table after restating networking service, enter:
# /etc/rc.d/routing restartHow do I restart network service over ssh session?
You need to type the commands as follows in order to avoid any problems:
# /etc/rc.d/netif restart && /etc/rc.d/routing restart