Quote:
|
Originally Posted by vertigo23
While Perderabo is right about the myriad of configurations a given box can have, on just about every Unix I've dealt with, 'ifconfig -a' will list the configuration, including IP address, for all your network interfaces.
|
Code:
#
#
# uname -srm
HP-UX B.11.11 9000/800
# ifconfig -a
ifconfig: no such interface
#
Quote:
|
Originally Posted by vertigo23
Also, it's certainly possible to configure a machine with no loopback interface. On BSD for example, just run 'ifconfig lo0 delete'.
|
The rfcs state that address 127.0.0.1 must never leave the originating system. Deleting the loopback interface will cause packets addressed to the loopback address to generate an error and this error constitutes a "contact". ;-)