On Sun, 19 Aug 2007, Brandorr wrote:
> Date: Sun, 19 Aug 2007 19:52:01 -0400 > From: Brandorr <[EMAIL PROTECTED]> > To: networking-discuss <[email protected]> > Subject: [networking-discuss] hostname.xxx discrepancy > > Years ago when, I was first learning Solaris, I figured out that you > could put an IP address in hostname.XXX, and that would set that > interface's IP address. > > Soon enough, I found out that the "correct" way to set an interface's > IP address was to put a hostname in the hostname.XXX file, and put the > actual IP in /etc/hosts > > I bring this up because I have recently noticed that during > network-discuss dicussions some senior sun networking folks, have > given "echo aaa.aaa.aaa.aaa > hostname.xxx" as a valid method of > setting a host's IP address. > > What is the deal? Is the ipaddress > hostnamefile a valid method? Actually I believe you can put other network parameters in there as well, not that I have tried before. You are right; this area has not been adequately documented. Regards, Jie _______________________________________________ networking-discuss mailing list [email protected]
