Hello,

I have already sent this message on forum, but i will try it on mailing list too.

Basically I need to setup multicast between two VEs on different HN. I read other posts on forum where they mention that you have to use bridge ( veth and not venet ).

So, after configuring it, i can only use multicast from a HN to a VE. But i can't use from a VE to HN or from a VE to other VE.

Any ideas of what i can do?

My current configuration:

HN1 - ifconfig:

eth0      Link encap:Ethernet  HWaddr 00:14:4f:20:a4:9c
          inet6 addr: fe80::214:4fff:fe20:a49c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:204459 errors:0 dropped:0 overruns:0 frame:0
          TX packets:135769 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:17659469 (16.8 MiB)  TX bytes:17230927 (16.4 MiB)

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:17461 errors:0 dropped:0 overruns:0 frame:0
          TX packets:17461 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4918796 (4.6 MiB)  TX bytes:4918796 (4.6 MiB)

venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
          RX packets:52 errors:0 dropped:0 overruns:0 frame:0
          TX packets:43 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3311 (3.2 KiB)  TX bytes:3390 (3.3 KiB)

veth101.0 Link encap:Ethernet  HWaddr 00:18:51:0e:30:3a
          inet6 addr: fe80::218:51ff:fe0e:303a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:474 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5652 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:24856 (24.2 KiB)  TX bytes:272558 (266.1 KiB)

vmbr0     Link encap:Ethernet  HWaddr 00:14:4f:20:a4:9c
inet addr:192.168.100.11 Bcast:192.168.100.255 Mask: 255.255.255.0
          inet6 addr: fe80::214:4fff:fe20:a49c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:199375 errors:0 dropped:0 overruns:0 frame:0
          TX packets:129945 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:14358033 (13.6 MiB)  TX bytes:16791230 (16.0 MiB)
HN1 - VE1 configuration:

NETIF = "ifname =eth0,mac=00:18:51:77:98:ED,host_ifname=veth101.0,host_mac=00:18:51:0E: 30:3A"

HN1 - VE1 ifconfig:

eth0      Link encap:Ethernet  HWaddr 00:18:51:77:98:ed
inet addr:192.168.100.101 Bcast:192.168.100.255 Mask: 255.255.255.0
          inet6 addr: fe80::218:51ff:fe77:98ed/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6342 errors:0 dropped:0 overruns:0 frame:0
          TX packets:519 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:306409 (299.2 KiB)  TX bytes:26596 (25.9 KiB)

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:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
HN1 - VE1 route -n:

# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.100.0 0.0.0.0 255.255.255.0 U 0 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.100.1 0.0.0.0 UG 0 0 0 eth0 For HN2 and VE2, the configuration is the same, just with different IPs and mac address.

My tests:

Run on VE1
ssmpingd
Run on VE2
# ssmping 192.168.100.101
Failed to join multicast channel: Invalid argument
errno=22

I have checked ssmping source, in order to try to find what causes this problem. An it seems that it is a call to setsockopt() with a invalid parameter.


Regards,
---

Fernando Marcelo
www.consultorpc.com
ferna...@consultorpc.com

_______________________________________________
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users

Reply via email to