Robert Hinds writes:
> Changing the hostname.nfo0 contents to include a single line containing 
> 10.0.0.17/24 corrected the problem I was experiencing.
> 
> I was following the instruction from "Configuring Systems on the Local 
> Network"  http://dlc.sun.com/osol/docs/content/SYSADV3/ipconfig-63.html and 
> Administering Individual Network Interfaces 

Ugh; you're quite right.  That book is just plain wrong.  In fact,
it's got multiple errors -- "netmask + 255.0.0.0" (for instance) isn't
legal syntax.

I'll file a bug on it.  Thanks for pointing it out!

> Originally, I was using the 10.0.0.17 netmask + 255.255.255.0 format in the 
> hostname.nfo0 string.  I will try that and see if that format has a problem.

That won't work.  You can use "netmask +" (which means "look up the
subnet mask based on the IP address using the obsolete /etc/netmasks
facility") or "netmask 255.255.255.0" (which means "set the netmask to
this exact value"), but you can't use both "+" and a value at the same
time.

I'd recommend, though, using CIDR notation.  It's quick, simple, and
effective.  That would be:

        10.0.0.17/24

-- 
James Carlson, Solaris Networking              <[EMAIL PROTECTED]>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to