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;
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
|
show 1 more comment
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
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
|
show 1 more comment
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
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
routing vlan multicast
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
|
show 1 more comment
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
|
show 1 more comment
1 Answer
1
active
oldest
votes
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
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
add a comment |
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
add a comment |
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
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
answered Apr 7 at 18:40
troglobittroglobit
1362
1362
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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