From: Brian Candler Date: 2003-07-13T06:51:06+09:00 Subject: Re: Getting my IP address > > You write an extension and you just hope that it work :-))) > > > > svg% ruby -ripo -e 'p IPSocket.names' > > [["lo", "127.0.0.1"], ["eth0", "138.102.114.196"]] > > svg% If an interface has aliases, does it appear more than once? If that's a proposed extension, can I also suggest it would be useful to retrieve netmasks as well as IPs. And the interface flags too ('up', 'broadcast' etc) Regards, Brian.