免费注册 查看新帖 |

Chinaunix

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

[AIX]staic ip 改dhcp client, 该怎么设置? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2002-09-02 13:40 |只看该作者 |倒序浏览
thanx!

论坛徽章:
0
2 [报告]
发表于 2002-09-03 09:43 |只看该作者

不会吧, 没人知道?!

还是太容易了,没人愿意回答?版主帮忙呀!

论坛徽章:
0
3 [报告]
发表于 2002-09-03 10:58 |只看该作者

我也没用过

请参考《IBM Certification Study Guide AIX Communications》\r\nhttp://www.redbooks.ibm.com/pubs/pdfs/redbooks/sg246186.pdf\r\n\r\n6.2.4 DHCP client configuration\r\nThe DHCP client daemon is implemented in program dhcpcd program. The\r\ndhcpcd requests IP address and parameters from a DHCP server. When an\r\nAIX system is configured to run with a DHCP client, the dhcpcd entry in the\r\n/etc/rc.tcpip startup script needs to be uncommented. Notice that the dhcpcd\r\nis, obviously, the first network daemon to be started.\r\nAt startup, the dhcpcd reads its configuration file /etc/dhcpcd.ini.\r\nExample of the /etc/dhcpcd.ini:\r\n#\r\n# dhcpcd.ini -- DHCP Client configuration file\r\n#\r\n#\r\n# This file contains directives that can be specified by the\r\n# to configure the client.\r\nnumLogFiles 4\r\nlogFileSize 100\r\nlogFileName /usr/tmp/dhcpcd.log\r\nlogItem SYSERR\r\nupdateDNS \"/usr/sbin/dhcpaction \'%s\' \'%s\' \'%s\' \'%s\' A NONIM >>\r\n/tmp/updns.out 2>&1 \"\r\nThe numLogFile, logFileSize, logFileName and logItem have the same\r\nparameter format used in the DHCP server configuration file, namely logging\r\nparameters. The updateDNS parameter is a quoted string used for executing\r\na program, in this case dhcpaction, to update the DNS server with the inverse\r\nmapping of the IP address provided by DHCP and hostname of the machine.\r\nFor more information about DNS updates, see Chapter 6.3, “Dynamic Domain\r\nName System (DDNS)” on page 118.\r\nInstead of editing /etc/rc.tcpip and /etc/dhcpcd.ini manually, a preferred way\r\nto configure the DHCP client is using the SMIT menus: smit usedhcp.

论坛徽章:
0
4 [报告]
发表于 2002-09-03 15:39 |只看该作者
hehe...版主, 多谢! redbook我也读了,但是不大明白原来的interface该怎么办?是删了重建,还是有什么办法只把ip删了? DNS和gateway怎么办?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP