On 03/26/2011 03:03 PM, Scott Stark wrote:
So this is not working as I want, and cannot based on the current
NetworkInterfaceService because it returns the address of the interface
that matches as bind address. What I need is for the bind address to be
taken from the criteria because the interface does not list all of the
allowed bind addresses it supports. This is for a rhel instance where
the loopback interface allows any 127.0.* address to be bound against
it.
Interesting, I never knew that. Just tested it on my fedora box and
sure enough, I'm able to bind and connect a listening socket to
127.0.2.51 without configuring that IP address on the lo interface.
Learn something new every day I guess...
--
- DML