We're trying to migrate to a newer version of an application on Solaris 10, 
while trying to manage some similar functionality we had in older Solaris 
releases.  In previous versions we had multiple hosts file ip entries with the 
same name.  The application called gethostbyname and always returned the first 
entry from the hosts file.

Now it appears the newer verision of the application calls getipnodebyname 
which appears to return the closest match of an address to a configured 
interface on the box.  This leads to the application trying to access a host 
over a less preferred network.  We are only working with IPv4 addresses.

Does anyone know of a way to prefer networks in other ways in this scenario?  

I'm looking at /etc/inet/ipaddrsel.conf, but I'm having trouble understanding 
what the ::ffff:0.0.0.0/96 actually means, and if I could somehow specify a 
more specific IPv4 subnet with a higher precedence to get the results we're 
looking for.  I'm mostly just having trouble understanding the syntax as it 
relates to IPv4.  Any pointers?

Thanks,

-Andy
 
 
This message posted from opensolaris.org
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to