免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 5068 | 回复: 8
打印 上一主题 下一主题

怎样才能把自己的ip设置成自动获取? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-08-19 17:08 |只看该作者 |倒序浏览
请教各位老大怎样才能把自己的ip设置成自动获取??在线等待!谢谢!!

论坛徽章:
0
2 [报告]
发表于 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

论坛徽章:
0
3 [报告]
发表于 2005-08-19 18:42 |只看该作者

怎样才能把自己的ip设置成自动获取?

看看这里\r\nhttp://www.rite-group.com/consulting/solaris_dhcp.html

论坛徽章:
0
4 [报告]
发表于 2005-08-19 19:38 |只看该作者

怎样才能把自己的ip设置成自动获取?

[quote]原帖由 \"kevin94730\"]好像不行哦[/quote 发表:\n\r\n\r\nsys-unconfig 你试了吗?

论坛徽章:
0
5 [报告]
发表于 2005-08-19 20:05 |只看该作者

怎样才能把自己的ip设置成自动获取?

sys-unconfig 你试了吗?\r\n好像是清除系统设置重新设置吧?

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
6 [报告]
发表于 2005-08-19 21:10 |只看该作者

怎样才能把自己的ip设置成自动获取?

就是用DHCP方法:DHCP=Dynamic Host Configuration Protocol

论坛徽章:
0
7 [报告]
发表于 2005-08-20 12:53 |只看该作者

怎样才能把自己的ip设置成自动获取?

原帖由 \"zflying2000\" 发表:\nsys-unconfig 你试了吗?\r\n好像是清除系统设置重新设置吧?
\r\n\r\n这样会不会把系统的其它设置也reset了?

论坛徽章:
0
8 [报告]
发表于 2005-08-21 21:25 |只看该作者

怎样才能把自己的ip设置成自动获取?

除了sys-unconfig之外还有别的方法吗??

论坛徽章:
0
9 [报告]
发表于 2006-02-09 01:11 |只看该作者
设置自动获取ip\r\n   以网络设备名为pcn0为例:\r\n   touch dhcp.pcn0\r\n   defaultrouter内添加网关
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP