centos linux multicast jgroup 질문드립니다.
글쓴이: ddakker / 작성시간: 금, 2016/06/17 - 4:35오후
안녕 하세요.
[환경]
CentOS release 6.4 64BIT
방화벽은 전체 해제한 상태입니다.
jqroups 를 이용해서 서버간 UDP Cluster 를 하다가 질문 드립니다.
http://sourceforge.net/projects/javagroups/files/JGroups/3.3.3.Final/jgroups-3.3.3.Final.jar/download
아래와 같이 테스트 하면 통신이 재대로 되지 않네요.
같은 서버에서 Receiver, Send 하면 잘 됩니다.
또한 멀티케스트 IP를 224.0.0.1~255 를 이용하면 서버간 통신이 잘 됩니다.
또한 동일한것을 윈도우에서 두 컴퓨터에서 해도 정상적으로 통신이 됩니다.
무슨 설정이 누락 되었을까요?
조언 부탁 드립니다.
그럼 수고하세요.
[root@01 ~]# java -cp jgroups-3.3.3.Final.jar org.jgroups.tests.McastReceiverTest -mcast_addr 230.21.1.1 [root@02 ~]# java -cp jgroups-3.3.3.Final.jar org.jgroups.tests.McastSenderTest -mcast_addr 230.21.1.1
[root@01 ~]# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.110.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0 224.0.0.0 0.0.0.0 240.0.0.0 U 0 0 0 eth0 0.0.0.0 192.168.110.1 0.0.0.0 UG 0 0 0 eth0 [root@01 ~]# ifconfig eth0 Link encap:Ethernet HWaddr BE:EA:17:2E:C0:21 inet addr:192.168.110.148 Bcast:192.168.110.255 Mask:255.255.255.0 inet6 addr: fe80::bcea:17ff:fe2e:c021/64 Scope:Link UP BROADCAST RUNNING ALLMULTI MULTICAST MTU:1500 Metric:1 RX packets:4920418 errors:0 dropped:0 overruns:0 frame:0 TX packets:1852347 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:725675755 (692.0 MiB) TX bytes:793553473 (756.7 MiB) Interrupt:36 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:740875 errors:0 dropped:0 overruns:0 frame:0 TX packets:740875 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:315376564 (300.7 MiB) TX bytes:315376564 (300.7 MiB) [root@02 ~]# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.110.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0 224.0.0.0 0.0.0.0 240.0.0.0 U 0 0 0 eth0 0.0.0.0 192.168.110.1 0.0.0.0 UG 0 0 0 eth0 [root@02 ~]# ifconfig eth0 Link encap:Ethernet HWaddr EE:FC:52:EB:55:C7 inet addr:192.168.110.149 Bcast:192.168.110.255 Mask:255.255.255.0 inet6 addr: fe80::ecfc:52ff:feeb:55c7/64 Scope:Link UP BROADCAST RUNNING ALLMULTI MULTICAST MTU:1500 Metric:1 RX packets:4625781 errors:0 dropped:0 overruns:0 frame:0 TX packets:1674591 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:232557290 (221.7 MiB) TX bytes:100772968 (96.1 MiB) Interrupt:36 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:11 errors:0 dropped:0 overruns:0 frame:0 TX packets:11 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:540 (540.0 b) TX bytes:540 (540.0 b)
Forums:
자답! 가상머신 XenServer Bridge Mode관련
자답!
인프라 관련 분들과 삽질 하던 중 가상머신 XenServer Bridge Mode관련 문제라는게 확인되었고, 잘 처리 되었습니다;;
댓글 달기