- 论坛徽章:
- 0
|
怎样才能把自己的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 |
|