multicast traffic across vlan The 2019 Stack Overflow Developer Survey Results Are InSimple Multicast DesignHow to share multicast traffic to many vlansIs my VLAN 1 a security risk?Configuring Sonicwall to route VLAN traffic to internetSplit multicast traffic on two vlans using IOSDoes the IP -> Ethernet multicast address mapping ambiguity matter for IGMP snooping switches?Multicast not working on hp 5820 switchOpenVPN - OpenVZ - Multicast and how to enable itCisco Nexus 7000 Multicast IGMP Snooping enabled - packets got to all interfacesArista switch - Forward multicast traffic from vlan to vlan on different switch ports with different subsets

What is this business jet?

Can you cast a spell on someone in the Ethereal Plane, if you are on the Material Plane and have the True Seeing spell active?

writing variables above the numbers in tikz picture

Can withdrawing asylum be illegal?

Can a flute soloist sit?

What is the most efficient way to store a numeric range?

Ubuntu Server install with full GUI

Did Scotland spend $250,000 for the slogan "Welcome to Scotland"?

Can we generate random numbers using irrational numbers like π and e?

What is preventing me from simply constructing a hash that's lower than the current target?

What does Linus Torvalds mean when he says that Git "never ever" tracks a file?

Correct punctuation for showing a character's confusion

Is it possible for absolutely everyone to attain enlightenment?

Why does the nucleus not repel itself?

What do hard-Brexiteers want with respect to the Irish border?

What to do when moving next to a bird sanctuary with a loosely-domesticated cat?

Mathematics of imaging the black hole

How can I add encounters in the Lost Mine of Phandelver campaign without giving PCs too much XP?

The phrase "to the numbers born"?

How much of the clove should I use when using big garlic heads?

Is Cinnamon a desktop environment or a window manager? (Or both?)

Why doesn't shell automatically fix "useless use of cat"?

How to display lines in a file like ls displays files in a directory?

Is it a good practice to use a static variable in a Test Class and use that in the actual class instead of Test.isRunningTest()?



multicast traffic across vlan



The 2019 Stack Overflow Developer Survey Results Are InSimple Multicast DesignHow to share multicast traffic to many vlansIs my VLAN 1 a security risk?Configuring Sonicwall to route VLAN traffic to internetSplit multicast traffic on two vlans using IOSDoes the IP -> Ethernet multicast address mapping ambiguity matter for IGMP snooping switches?Multicast not working on hp 5820 switchOpenVPN - OpenVZ - Multicast and how to enable itCisco Nexus 7000 Multicast IGMP Snooping enabled - packets got to all interfacesArista switch - Forward multicast traffic from vlan to vlan on different switch ports with different subsets



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








-1















Suppose I have a layer 2 managed switch which can be programmed to have multiple VLANs. Lets say there are 2 configured VLANs as of now vlan-1 and vlan-2. I also have a linux machine with 2 ethernet NIC with each ethernet port 1 and 2 connected to a switch port belonging to VLAN 1 and VLAN 2 respectively. My server is connected to vlan-1 and client connected to vlan-2 .The server is a multicast server. How should I configure the linux machine(to act as a router) to route multicast packets from vlan-1 to vlan-2 and vice-versa?



The diagram of the network looks similar to this (with both the switches being same but with two vlan)
enter image description here



and since igmp snooping is not turned on the switch it will broadcast packets hence it will reach the linux machine.










share|improve this question
























  • You should configure a multicast routing stack, but there isn't any short answer to this general question "how".

    – drookie
    Mar 8 at 15:34











  • I understand that my question is vague but can you help me? what do you mean by "multicast routing stack"? I also saw that for routing multicast packets we need software like pimd or mrouted. will that suffice the requirement? @drookie

    – Tamil Selvan
    Mar 9 at 5:51












  • "and since igmp snooping is not turned on the switch it will broadcast packets hence it will reach the linux machine." No, multicast does not broadcast. Broadcast must be handled by every device in the broadcast domain, but multicast is sent to a group and is only handled by hosts subscribing to the multicast group. Also, multicast routing is very different than unicast routing, and it uses IGMP to communicate with the multicast router that must be configured for multicast routing.

    – Ron Maupin
    Mar 9 at 6:55












  • I do understand that multicast is not broadcast but I read somewhere that switches which are not smart enough(i.e. igmp snooping not turned on in a layer 2 switch) will consider multicast traffic like broadcast traffic and will send packets to all its ports. But anyways apart from that.... How do I configure a linux box to route multicast packets. all I found was regarding unicast routing.

    – Tamil Selvan
    Mar 9 at 7:25












  • @RonMaupin could you suggest me a tutorial where I can learn about configuring a linux box to work as multicast router to forward traffic between two vlans?

    – Tamil Selvan
    Mar 9 at 8:27

















-1















Suppose I have a layer 2 managed switch which can be programmed to have multiple VLANs. Lets say there are 2 configured VLANs as of now vlan-1 and vlan-2. I also have a linux machine with 2 ethernet NIC with each ethernet port 1 and 2 connected to a switch port belonging to VLAN 1 and VLAN 2 respectively. My server is connected to vlan-1 and client connected to vlan-2 .The server is a multicast server. How should I configure the linux machine(to act as a router) to route multicast packets from vlan-1 to vlan-2 and vice-versa?



The diagram of the network looks similar to this (with both the switches being same but with two vlan)
enter image description here



and since igmp snooping is not turned on the switch it will broadcast packets hence it will reach the linux machine.










share|improve this question
























  • You should configure a multicast routing stack, but there isn't any short answer to this general question "how".

    – drookie
    Mar 8 at 15:34











  • I understand that my question is vague but can you help me? what do you mean by "multicast routing stack"? I also saw that for routing multicast packets we need software like pimd or mrouted. will that suffice the requirement? @drookie

    – Tamil Selvan
    Mar 9 at 5:51












  • "and since igmp snooping is not turned on the switch it will broadcast packets hence it will reach the linux machine." No, multicast does not broadcast. Broadcast must be handled by every device in the broadcast domain, but multicast is sent to a group and is only handled by hosts subscribing to the multicast group. Also, multicast routing is very different than unicast routing, and it uses IGMP to communicate with the multicast router that must be configured for multicast routing.

    – Ron Maupin
    Mar 9 at 6:55












  • I do understand that multicast is not broadcast but I read somewhere that switches which are not smart enough(i.e. igmp snooping not turned on in a layer 2 switch) will consider multicast traffic like broadcast traffic and will send packets to all its ports. But anyways apart from that.... How do I configure a linux box to route multicast packets. all I found was regarding unicast routing.

    – Tamil Selvan
    Mar 9 at 7:25












  • @RonMaupin could you suggest me a tutorial where I can learn about configuring a linux box to work as multicast router to forward traffic between two vlans?

    – Tamil Selvan
    Mar 9 at 8:27













-1












-1








-1








Suppose I have a layer 2 managed switch which can be programmed to have multiple VLANs. Lets say there are 2 configured VLANs as of now vlan-1 and vlan-2. I also have a linux machine with 2 ethernet NIC with each ethernet port 1 and 2 connected to a switch port belonging to VLAN 1 and VLAN 2 respectively. My server is connected to vlan-1 and client connected to vlan-2 .The server is a multicast server. How should I configure the linux machine(to act as a router) to route multicast packets from vlan-1 to vlan-2 and vice-versa?



The diagram of the network looks similar to this (with both the switches being same but with two vlan)
enter image description here



and since igmp snooping is not turned on the switch it will broadcast packets hence it will reach the linux machine.










share|improve this question
















Suppose I have a layer 2 managed switch which can be programmed to have multiple VLANs. Lets say there are 2 configured VLANs as of now vlan-1 and vlan-2. I also have a linux machine with 2 ethernet NIC with each ethernet port 1 and 2 connected to a switch port belonging to VLAN 1 and VLAN 2 respectively. My server is connected to vlan-1 and client connected to vlan-2 .The server is a multicast server. How should I configure the linux machine(to act as a router) to route multicast packets from vlan-1 to vlan-2 and vice-versa?



The diagram of the network looks similar to this (with both the switches being same but with two vlan)
enter image description here



and since igmp snooping is not turned on the switch it will broadcast packets hence it will reach the linux machine.







routing vlan multicast






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 9 at 6:35







Tamil Selvan

















asked Mar 8 at 15:30









Tamil SelvanTamil Selvan

14




14












  • You should configure a multicast routing stack, but there isn't any short answer to this general question "how".

    – drookie
    Mar 8 at 15:34











  • I understand that my question is vague but can you help me? what do you mean by "multicast routing stack"? I also saw that for routing multicast packets we need software like pimd or mrouted. will that suffice the requirement? @drookie

    – Tamil Selvan
    Mar 9 at 5:51












  • "and since igmp snooping is not turned on the switch it will broadcast packets hence it will reach the linux machine." No, multicast does not broadcast. Broadcast must be handled by every device in the broadcast domain, but multicast is sent to a group and is only handled by hosts subscribing to the multicast group. Also, multicast routing is very different than unicast routing, and it uses IGMP to communicate with the multicast router that must be configured for multicast routing.

    – Ron Maupin
    Mar 9 at 6:55












  • I do understand that multicast is not broadcast but I read somewhere that switches which are not smart enough(i.e. igmp snooping not turned on in a layer 2 switch) will consider multicast traffic like broadcast traffic and will send packets to all its ports. But anyways apart from that.... How do I configure a linux box to route multicast packets. all I found was regarding unicast routing.

    – Tamil Selvan
    Mar 9 at 7:25












  • @RonMaupin could you suggest me a tutorial where I can learn about configuring a linux box to work as multicast router to forward traffic between two vlans?

    – Tamil Selvan
    Mar 9 at 8:27

















  • You should configure a multicast routing stack, but there isn't any short answer to this general question "how".

    – drookie
    Mar 8 at 15:34











  • I understand that my question is vague but can you help me? what do you mean by "multicast routing stack"? I also saw that for routing multicast packets we need software like pimd or mrouted. will that suffice the requirement? @drookie

    – Tamil Selvan
    Mar 9 at 5:51












  • "and since igmp snooping is not turned on the switch it will broadcast packets hence it will reach the linux machine." No, multicast does not broadcast. Broadcast must be handled by every device in the broadcast domain, but multicast is sent to a group and is only handled by hosts subscribing to the multicast group. Also, multicast routing is very different than unicast routing, and it uses IGMP to communicate with the multicast router that must be configured for multicast routing.

    – Ron Maupin
    Mar 9 at 6:55












  • I do understand that multicast is not broadcast but I read somewhere that switches which are not smart enough(i.e. igmp snooping not turned on in a layer 2 switch) will consider multicast traffic like broadcast traffic and will send packets to all its ports. But anyways apart from that.... How do I configure a linux box to route multicast packets. all I found was regarding unicast routing.

    – Tamil Selvan
    Mar 9 at 7:25












  • @RonMaupin could you suggest me a tutorial where I can learn about configuring a linux box to work as multicast router to forward traffic between two vlans?

    – Tamil Selvan
    Mar 9 at 8:27
















You should configure a multicast routing stack, but there isn't any short answer to this general question "how".

– drookie
Mar 8 at 15:34





You should configure a multicast routing stack, but there isn't any short answer to this general question "how".

– drookie
Mar 8 at 15:34













I understand that my question is vague but can you help me? what do you mean by "multicast routing stack"? I also saw that for routing multicast packets we need software like pimd or mrouted. will that suffice the requirement? @drookie

– Tamil Selvan
Mar 9 at 5:51






I understand that my question is vague but can you help me? what do you mean by "multicast routing stack"? I also saw that for routing multicast packets we need software like pimd or mrouted. will that suffice the requirement? @drookie

– Tamil Selvan
Mar 9 at 5:51














"and since igmp snooping is not turned on the switch it will broadcast packets hence it will reach the linux machine." No, multicast does not broadcast. Broadcast must be handled by every device in the broadcast domain, but multicast is sent to a group and is only handled by hosts subscribing to the multicast group. Also, multicast routing is very different than unicast routing, and it uses IGMP to communicate with the multicast router that must be configured for multicast routing.

– Ron Maupin
Mar 9 at 6:55






"and since igmp snooping is not turned on the switch it will broadcast packets hence it will reach the linux machine." No, multicast does not broadcast. Broadcast must be handled by every device in the broadcast domain, but multicast is sent to a group and is only handled by hosts subscribing to the multicast group. Also, multicast routing is very different than unicast routing, and it uses IGMP to communicate with the multicast router that must be configured for multicast routing.

– Ron Maupin
Mar 9 at 6:55














I do understand that multicast is not broadcast but I read somewhere that switches which are not smart enough(i.e. igmp snooping not turned on in a layer 2 switch) will consider multicast traffic like broadcast traffic and will send packets to all its ports. But anyways apart from that.... How do I configure a linux box to route multicast packets. all I found was regarding unicast routing.

– Tamil Selvan
Mar 9 at 7:25






I do understand that multicast is not broadcast but I read somewhere that switches which are not smart enough(i.e. igmp snooping not turned on in a layer 2 switch) will consider multicast traffic like broadcast traffic and will send packets to all its ports. But anyways apart from that.... How do I configure a linux box to route multicast packets. all I found was regarding unicast routing.

– Tamil Selvan
Mar 9 at 7:25














@RonMaupin could you suggest me a tutorial where I can learn about configuring a linux box to work as multicast router to forward traffic between two vlans?

– Tamil Selvan
Mar 9 at 8:27





@RonMaupin could you suggest me a tutorial where I can learn about configuring a linux box to work as multicast router to forward traffic between two vlans?

– Tamil Selvan
Mar 9 at 8:27










1 Answer
1






active

oldest

votes


















0














You can use SMCRoute, it's available in most Linux distributions. Either use the client tool or add a line as follows to your
/etc/smcroute.conf:



mroute from eth0 group 225.1.2.3 source 192.168.1.42 to eth1 eth2





share|improve this answer























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "2"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f957386%2fmulticast-traffic-across-vlan%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    You can use SMCRoute, it's available in most Linux distributions. Either use the client tool or add a line as follows to your
    /etc/smcroute.conf:



    mroute from eth0 group 225.1.2.3 source 192.168.1.42 to eth1 eth2





    share|improve this answer



























      0














      You can use SMCRoute, it's available in most Linux distributions. Either use the client tool or add a line as follows to your
      /etc/smcroute.conf:



      mroute from eth0 group 225.1.2.3 source 192.168.1.42 to eth1 eth2





      share|improve this answer

























        0












        0








        0







        You can use SMCRoute, it's available in most Linux distributions. Either use the client tool or add a line as follows to your
        /etc/smcroute.conf:



        mroute from eth0 group 225.1.2.3 source 192.168.1.42 to eth1 eth2





        share|improve this answer













        You can use SMCRoute, it's available in most Linux distributions. Either use the client tool or add a line as follows to your
        /etc/smcroute.conf:



        mroute from eth0 group 225.1.2.3 source 192.168.1.42 to eth1 eth2






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Apr 7 at 18:40









        troglobittroglobit

        1362




        1362



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Server Fault!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f957386%2fmulticast-traffic-across-vlan%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

            Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

            What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company