1.配置/etc/rc.conf
interface=eth0
eth0="dhcp"
lo="lo 127.0.0.1"
eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
#eth0 IP netmask 子网掩码 broadcast 广播
(根据自己的情况来定)
INTERFACES=(eth0)
gateway="default gw 192.168.0.1"
#gateway 网关
ROUTES=(gateway)
2.配置/etc/reslov.conf
nameserver 61.128.128.68
nameserver 61.128.192.68
(根据自己的情况来定)
3.之后系统重启