> A lot of people on the net will explain how to setup > dhcp, but they do not also state what should be in > other files in the /etc dir. > > I downloaded and am using OpenSolaris latest version. > I was on dhcp with that nwamd daemon running. I then > wanted to go to static, so I did the svc swap between > nwamd and physical. I then tried my best to configure > the NIC vmxnet0 inside the vmware server 1.03. > I had verying degrees of success, I could ping the > vmware NAT gateway and the Vmware Hosts NIC IP, but I > couldn't get out past that to my own router via the > Hosts physical NIC. I tried setting > /etc/defaultrouter to the vmware NAT gateway, the > vmware NAT NIC IP, the Hosts physical IP, the real > Router IP, all to no avail. And because I had setup > static, I had also changed hosts and > hostname.vmxnet0. > Now that I am back to dhcp, with a blank > hostname.vmxnet0, and the hostname in /etc/nodename, > and a blank dhcp.vmxnet0 file, I noticed that > everything was removed from hosts. So, I put the line > "127.0.0.1 solaris-devx" into it. > > I am now connected to the net inside vmware but I am > not sure if the above is the correct and only line I > need? > > Thanks. if you run sys-unconfig and then on the reboot select dhcp, The DHCP ACK from your DHCP server, though, might not provide a name at all.
That's why my system comes up as "unknown." It has no name. one answer is to set the node name in /etc/nodename. in my example below it is a verizon westtell DSL modem. bash-3.2# /usr/sbin/check-hostname Hostname unknown could not be fully qualified. We recommend adding the /etc/hosts entry: unknown unknown.myhome.westell.com [ aliases ... ] But I did open a case when hostname is not being set Solaris comes back with the word unknown bit does not populate the /etc/hosts with the given hostname and the systelog . CR 6608427 Created P3 opensolaris/triage-queue dhcpagent svc startup fails to add hostname and loghost /etc/inet/hosts entry] a lot of venders dhcp solution seems to not compatible with Solaris dhcp agent , there was talk of ether rewrting dhcp services "I heard not eneogh resources" or incorperating ICS dhcp CR 6554498 DHCP host name problem In this case was a Netear dhcp firewall G router And there might be a effert to rewrite (not enough resources) or use the ISC dhcp code in Solaris: http://www.opensolaris.org/jive/thread.jspa?messageID=146670𣳮 This message posted from opensolaris.org