multicast routing

Josef Hrabec hrabec at naxo.net
Thu Nov 22 18:41:22 CET 2012


Ahoj,

nemate nekdo prosim nejake zkusenosti s routovanim multicastu z jedne sitove
karty na druhou? Potreboval bych "jednoduse" multicast packety vyskytujici
se na jednom subnetu predat/prekopirovat do druheho subnetu a obracene.
Skompiloval jsem proto jadro s option MROUTING a nainstaloval
/usr/ports/net/mrouted.

Po spusteni mrouted vsak zahlasi:

Starting mrouted.
mrouted: 00:15:06.279 warning - sendto to 224.0.0.1 on 10.1.6.44: Invalid
argument
mrouted: 00:15:06.279 warning - sendto to 224.0.0.4 on 10.1.6.44: Invalid
argument
mrouted: 00:15:06.280 warning - sendto to 224.0.0.1 on 1.1.1.1: Invalid
argument
mrouted: 00:15:06.280 warning - sendto to 224.0.0.4 on 1.1.1.1: Invalid
argument

Router ma tyto dve sitova rozhrani:
em0: flags=8a43<UP,BROADCAST,RUNNING,ALLMULTI,SIMPLEX,MULTICAST> metric 0
mtu 1500
        options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
        ether 08:00:27:6d:e0:0d
        inet 10.1.6.44 netmask 0xffffff80 broadcast 10.104.6.128
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
em1: flags=8a43<UP,BROADCAST,RUNNING,ALLMULTI,SIMPLEX,MULTICAST> metric 0
mtu 1500
        options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
        ether 08:00:27:af:7c:53
        inet 1.1.1.1 netmask 0xfffffffc broadcast 1.1.1.3
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active

Pokud pustim tcpdump na em0 a hledam pakety zaslane na 224.0.0.1 nebo na
224.0.0.4, tak se nic neukaze.
(router nema firewall)

Ale dost mozna, ze routovani multicastu na FreeBSD (zkousel jsem 7.3 a 8.3
se stejnym vysledkem) neni zrovna dobry napad.  :-)

Predem dekuji, za jakekoliv podnety.
Pepa




More information about the Users-l mailing list