[jboss-jira] [JBoss JIRA] Created: (JGRP-916) TCP_NIO uses default IP address instead of bind_addr

Victor N (JIRA) jira-events at lists.jboss.org
Thu Feb 26 14:19:44 EST 2009


TCP_NIO uses default IP address instead of bind_addr
----------------------------------------------------

                 Key: JGRP-916
                 URL: https://jira.jboss.org/jira/browse/JGRP-916
             Project: JGroups
          Issue Type: Bug
    Affects Versions: 2.7
         Environment: ubuntu linux 8.10
            Reporter: Victor N
            Assignee: Bela Ban
            Priority: Minor


I have seen that TCP_NIO ignores 'bind_addr' in some requests, in the same situation TCP works perfectly.

How to reproduce.
let's assume you have 2 computers - the first one with 1 physical network card but this card have several IP addresses (the first IP is considered default); the seconds computer just has 1 network card with one IP.

node A - run it at the first computer and set 'bind_addr' to a NON-DEFAULT IP address
node B - run it at the second computer

You will see in networks sniffer that some packets goes from wrong address - instead of 'bind_addr", the default IP is used. And the communication does not work.
In the same situation TCP works perfectly, so it seems to be bug in TCP_NIO.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list