Hello,
I try to route some multicast traffic between two networks, but it does
not work.
em0: inet 10.100.1.1 netmask 0xffff0000 broadcast 10.100.255.255
em1: inet 192.168.251.251 netmask 0xffffff00 broadcast 192.168.251.255
Multicast address: 239.192.1.1 Port 12345
Sender in em1, client in em0 network.
changes in /etc/rc.conf:
mrouted_flags=NO
multicast_router=YES
changes in /etc/sysctl.conf:
net.inet.ip.mforwarding=1
full /etc/igmpproxy.conf:
phyint em1 upstream ratelimit 0 threshold 1
altnet 239.0.0.0/8
phyint em0 downstream ratelimit 0 threshold 1
phyint lo0 disabled
igmpproxy log:
Current routing table (Insert Route);
-----------------------------------------------------
Debu: #5: Dst: 239.192.1.1, Age:2, St: I, OutVifs: 0x00000001
tcpdump -npi em1 multicast
tcpdump: listening on em1, link-type EN10MB
12:31:50.348887 192.168.251.1.51946 > 239.192.1.1.12345: udp 30 (DF)
[ttl 1]
12:31:51.349844 192.168.251.1.51946 > 239.192.1.1.12345: udp 30 (DF)
[ttl 1]
12:31:52.350939 192.168.251.1.51946 > 239.192.1.1.12345: udp 30 (DF)
[ttl 1]
12:31:53.351810 192.168.251.1.51946 > 239.192.1.1.12345: udp 30 (DF)
[ttl 1]
12:31:54.352781 192.168.251.1.51946 > 239.192.1.1.12345: udp 30 (DF)
[ttl 1]
tcpdump on em0:
-> no packets
What I'm doing wrong?
Thx in advance for any help.
Regards,
Thomas