|
|
发表于 2008-6-19 23:53:37
|
显示全部楼层
Post by bjsm;1864396
那位老兄贴一份我COPY下。设置固定IP的那种。
我已经升级了openrc, 和以前的格式不太一样。以前到需要括号。我使用eth1, 把eth0注成null不用了。
具体你可以查看一下 /etc/conf.d/net.example- config_eth0="null"
- config_eth1="111.11.11.11 netmask 255.255.0.0 brd 111.11.11.60"
- routes_eth1="default via 111.11.20.5"
- dns_domain_eth1="home.cn"
- dns_servers_eth1="222.222.222.1 222.222.222.2"
- dns_search_eth1="222.22.22.2 222.22.22.23"
- dns_options_eth1=( "timeout 1" "rotate" )
复制代码 |
|