Bonjour,
Je cherche à créer un route multicast entre ma machine physique et mes machines virtuelles (pour l'envoi de message multicast par la suite via l'ip 224.0.0.35). Je galère pas mal.
Voici les interfaces de ma machine physique:
[x@localhost ~]$ ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 16436
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Boucle locale)
RX packets 75960 bytes 34990824 (33.3 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 75960 bytes 34990824 (33.3 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
p1p1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.38 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::290:f5ff:fea9:f474 prefixlen 64 scopeid 0x20<link>
ether 00:90:f5:a9:f4:74 txqueuelen 1000 (Ethernet)
RX packets 106 bytes 11337 (11.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 127 bytes 14767 (14.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 51
virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
ether 52:54:00:cc:ab:1b txqueuelen 0 (Ethernet)
RX packets 1235 bytes 96074 (93.8 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1582 bytes 2098451 (2.0 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.22 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::215:ff:fe60:4900 prefixlen 64 scopeid 0x20<link>
ether 00:15:00:60:49:00 txqueuelen 1000 (Ethernet)
RX packets 28050 bytes 26413254 (25.1 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 21749 bytes 3028200 (2.8 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Je rajoute une route multicast sur l'interface p1p1:
[root@localhost]# route add -net 224.0.0.0 netmask 240.0.0.0 dev p1p1
[root@localhost]# route
Table de routage IP du noyau
Destination Passerelle Genmask Indic Metric Ref Use Iface
default neufbox 0.0.0.0 UG 0 0 0 p1p1
192.168.1.0 * 255.255.255.0 U 0 0 0 wlan0
192.168.1.0 * 255.255.255.0 U 0 0 0 p1p1
192.168.122.0 * 255.255.255.0 U 0 0 0 virbr0
224.0.0.0 * 240.0.0.0 U 0 0 0 p1p1
Je tente un ping pour vérifier que mon routage multicast fonctionne mais je n'ai pas de retour.
[root@localhost]# ping 224.0.0.1
PING 224.0.0.1 (224.0.0.1) 56(84) bytes of data.
^C
--- 224.0.0.1 ping statistics ---
255 packets transmitted, 0 received, 100% packet loss, time 253999ms
J'ai tenté également de configurer mon routage multicast sur mes machines virtuelles via un pont mais j'ai le même problème.
Auriez vous une idée concernant mon problème de configuration multicast ?
Merci par avance pour votre aide.