User Tools

Site Tools


multicast_route

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
multicast_route [2017/10/18 16:17] – [1. Create a routing file] walkeradminmulticast_route [2023/03/09 22:35] (current) – external edit 127.0.0.1
Line 17: Line 17:
 ---- ----
  
-==== 1. Create a routing file ====+===== 1. Create a routing file =====
 \\  \\ 
 In this example, we will define that all multicast traffic in the range 239.X.Y.Z will be listened on the eth2 interface.  In this example, we will define that all multicast traffic in the range 239.X.Y.Z will be listened on the eth2 interface. 
Line 52: Line 52:
  
 ---- ----
-==== Add the route from the command line ====+
 +===== 2. Add the route from the command line ====
 +\\  
 +We can add the route from the command line, this does not create a file for us in the /etc/sysconfig/network-scripts folder, I don't actually know where it gets stored (or if it is persistent). so you need to test this method. 
 +\\  
 +\\  
 +In this example we are going to add a multicast route 224.0.0.0/4 (/4 = 240.0.0.0) to an interface called eno33559296. 224.0.0.0/4 basically means everything from 239.0.0.0 to 224.255.255.255, so all multicast addresses. 
 +\\  
 +\\  
 +From the command line, enter the following: 
 +\\  
 +    ip route add 224.0.0.0/4 dev eno33559296 
 +\\  
 +You can check to see if the route has taken by using the following: 
 +\\  
 +    ip route 
 +\\  
 +you will see a table of routes, with the new route added. 
 +\\  
 +<file> 
 +Destination     Gateway         Genmask         Flags Metric Ref    Use IfaceD 
 +default         10.43.0.3       0.0.0.0         UG    100    0        0 eno16780032 
 +10.0.0.0        10.0.3.70       255.0.0.0       UG    0      0        0 eno33559296 
 +10.0.3.0        0.0.0.0         255.255.255.0       100    0        0 eno33559296 
 +10.43.0.0       0.0.0.0         255.255.224.0       100    0        0 eno16780032 
 +224.0.0.0       0.0.0.0         240.0.0.0                0        0 eno33559296 
 +</file> 
 +\\  
 +The last line <color #ed1c24>224.0.0.0 - 0.0.0.0 - 240.0.0.0 - U - 0 - 0 - 0 - eno33559296</color> is our new route. 
 +\\ 
 \\  \\ 
- 
  
  
multicast_route.1508339876.txt.gz · Last modified: 2023/03/09 22:35 (external edit)