文章詳情頁(yè)
freebsd下重啟網(wǎng)絡(luò)相關(guān)命令分析
瀏覽:27日期:2022-06-03 13:59:22
重啟網(wǎng)絡(luò)命令
sh /etc/rc.conf
or
/etc/netstart
網(wǎng)卡重啟命令如下
/etc/rc.d/netif restart
重啟ipfw
sh /etc/rc.firewall
重啟網(wǎng)卡命令
# ifconfig vr0 down //STOP網(wǎng)卡
# ifconfig vr0 up //START網(wǎng)卡
以前都是用重啟機(jī)器來(lái)重啟網(wǎng)卡,這下知道這兩個(gè)命令后就簡(jiǎn)單了,呵:)
sh /etc/rc.conf
or
/etc/netstart
網(wǎng)卡重啟命令如下
/etc/rc.d/netif restart
重啟ipfw
sh /etc/rc.firewall
重啟網(wǎng)卡命令
# ifconfig vr0 down //STOP網(wǎng)卡
# ifconfig vr0 up //START網(wǎng)卡
以前都是用重啟機(jī)器來(lái)重啟網(wǎng)卡,這下知道這兩個(gè)命令后就簡(jiǎn)單了,呵:)
相關(guān)文章:
排行榜
