If I have multiple IP addresses aliased to a single adapter (i.e. eth0:0 and eth0:1, etc) and have then assigned to the same hostname in /etc/hosts: 192.168.1.51 testhost 192.168.1.52 testhost 192.168.1.53 testhost how can I verify that testhost is 'registered' to all those addresses within the Linux networking config?
In more detail: There is a Java API to get the list of addresses that are associated with a hostname. On our RH box, this correctly returns a list of IP addresses...on another it does not (a customer's box, of course). I'm trying to verify that the customer has properly configured the addresses. Other than looking at /etc/hosts, is there a way to get this information. For instance, IFCONFIG tells me exactly what configuration the network service is using, rather than what's in the config files.
I hope that made sense...
TIA, Chris
********************************* Chris Merrill [EMAIL PROTECTED] *********************************
_______________________________________________ TriLUG mailing list http://www.trilug.org/mailman/listinfo/trilug TriLUG Organizational FAQ: http://www.trilug.org/faq/TriLUG-faq.html
