-----------------------------------------------------------------------------------------
- 修改:/etc/rc.conf
- 在ifconfig_lnc0="inet xxx.xxx.xxx.xxx netmask 255.255.255.0"
- defaultrouter="xxx.xxx.xxx.xxx (gateway ip address)"
- 之後重新啟動網路卡:
/etc/init.d/networking restart/etc/rc.d/netif restart - 或者可以使用ifconfig rl0 down ifconfig rl0 up