标题: 怎样才能把自己的ip设置成自动获取? [打印本页] 作者: kevin94730 时间: 2005-08-19 17:08 标题: 怎样才能把自己的ip设置成自动获取? 请教各位老大怎样才能把自己的ip设置成自动获取??在线等待!谢谢!!作者: 89728972 时间: 2005-08-19 17:15 标题: 怎样才能把自己的ip设置成自动获取? 1.To start using DHCP on a system already running Solaris 9, create an empty file for the primary interface and edit the /etc/default/dhcpagent file so that any IP address assigned to the client is relinquished when the client is shut down or is rebooted:\r\n\r\nLog in as root on the client.\r\n\r\nEdit the client DHCP default parameter file, /etc/default/dhcpagent.\r\n\r\nGo to the entry RELEASE_ON_SIGTERM=yes. This entry is commented out by default, so uncomment it to make the client relinquish its IP address when it shuts down or reboots.\r\n\r\nCreate the appropriate interface file to enable DHCP. For example, if your system has an hme0 interface, create the file /etc/dhcp.hme0 as shown here:\r\n\r\nultra5# touch /etc/dhcp.hme0\r\n\r\nReboot the client.\r\n\r\n2.use sys-unconfig command作者: caojiqun 时间: 2005-08-19 18:42 标题: 怎样才能把自己的ip设置成自动获取? 看看这里\r\nhttp://www.rite-group.com/consulting/solaris_dhcp.html作者: 89728972 时间: 2005-08-19 19:38 标题: 怎样才能把自己的ip设置成自动获取? [quote]原帖由 \"kevin94730\"]好像不行哦[/quote 发表:\n\r\n\r\nsys-unconfig 你试了吗?作者: zflying2000 时间: 2005-08-19 20:05 标题: 怎样才能把自己的ip设置成自动获取? sys-unconfig 你试了吗?\r\n好像是清除系统设置重新设置吧?作者: Philmoon 时间: 2005-08-19 21:10 标题: 怎样才能把自己的ip设置成自动获取? 就是用DHCP方法:DHCP=Dynamic Host Configuration Protocol作者: kevin94730 时间: 2005-08-20 12:53 标题: 怎样才能把自己的ip设置成自动获取?