LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 828|回复: 1

我想配置eth0为dhcp方式获得地址,但是又想指定网关,该怎么办?

[复制链接]
发表于 2007-8-16 09:13:25 | 显示全部楼层 |阅读模式
我想配置eth0为dhcp方式获得地址,但是又想指定网关,该怎么办
发表于 2007-8-16 10:41:34 | 显示全部楼层
man interfaces
post-up command
              Run  command  after  bringing the interface up.  If this command
              fails then ifup aborts, refraining from marking the interface as
              configured  (even  though it has really been configured), prints
              an error message, and exits with status 0.   This  behavior  may
              change in the future.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表