Show me your /etc/hostname.elxl0, please.
Angelyn V. Dilim wrote: > yes it has been edited. the netmasks file contains the ff: > > 192.168.7.0 255.255.255.0 > > the ifconfig -a result is attached. > > thanks, > > > -----Original Message----- > From: hajime suzuci [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 17, 2006 2:09 PM > To: [EMAIL PROTECTED] > Cc: 'Solaris-Users mailing list' > Subject: Re: [Solaris-Users] setting dns and gateway > > > Did you edit /etc/inet/netmasks ? > "192.x.x.x" means C Class Address, so ifconfig would configure the netmask > as "255.255.255.0" and the broadcast as "192.168.7.255" automaticaly. > Can you show me your "ifconfig -a" ? > > Angelyn V. Dilim wrote: > >>still the same i tried restarting again then invoked the command > > ifconfig -a > >>no ip is set again >> >>i just wonder invoking ifconfig -a the broadcast is 192.255.255.255 >> >>it think there's a mistake on some thing. >> >>-----Original Message----- >>From: hajime suzuci [mailto:[EMAIL PROTECTED] >>Sent: Monday, January 16, 2006 4:43 PM >>To: [EMAIL PROTECTED]; Solaris-Users mailing list >>Subject: Re: [Solaris-Users] setting dns and gateway >> >> >>Hi Angelyn, >> >> You still miss one file. >> You have to edit /etc/inet/ipnodes. Solaris 10 has own name in it. >> Try write following into /etc/inet/ipnodes: >> >> 192.168.7.19 solaris10 >> >> And restart your machine to use the hostname "solaris10". >> >>Regards, >>hajime >> >> >>Angelyn V. Dilim wrote: >> >> >>>Dear Expert's, >>> >>>How can I be able to set a gateway and dns on my solaris 10 machine. I >>>already configured the the IP address by using the ff: command; >>> >>>ifconfig elxl0 plumb 192.168.7.19 netmasks 255.255.255.0 broadcast + up >>> >>>I wonder why everytime I restart my test machine, an x86 running solaris >> >>10 >> >> >>>the IP address always disappear thus need to set again the IP address. I >>>already edited the /etc/hosts and put the IP address of my solaris10 >> >>machine >> >> >>>then I created a file called hostname.elxl0 wherein elxl0 is my interface >>>name and put on that file the name of my test machine as "solaris10". Any >>>idea what configuration is still needed or missing? >>> >>>Thanks, >>>Angelyn >>> >>> >>>_______________________________________________ >>>Solaris-Users mailing list >>>[email protected] >>>http://www.filibeto.org/mailman/listinfo/solaris-users >> >> _______________________________________________ Solaris-Users mailing list [email protected] http://www.filibeto.org/mailman/listinfo/solaris-users
