User Tools

Site Tools


documentation:examples:multicast_with_pim-sm

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
documentation:examples:multicast_with_pim-sm [2025/10/02 17:48] – [Router 2] olivierdocumentation:examples:multicast_with_pim-sm [2025/10/02 17:52] (current) – [PIM neighbors] olivier
Line 101: Line 101:
 <code> <code>
 sysrc hostname=VM3 \ sysrc hostname=VM3 \
- ifconfig_em1="inet 10.0.23.3/24"+ ifconfig_vtnet1="inet 10.0.23.3/24"
- ifconfig_em2="inet 10.0.34.254/24" \+ ifconfig_vtnet2="inet 10.0.34.254/24" \
  defaultrouter=10.0.23.2 \  defaultrouter=10.0.23.2 \
  pimd_enable=yes  pimd_enable=yes
Line 123: Line 123:
  gateway_enable=no \  gateway_enable=no \
  ipv6_gateway_enable=no \  ipv6_gateway_enable=no \
- ifconfig_em2="inet 10.0.34.4/24" \+ ifconfig_vnet2="inet 10.0.34.4/24" \
  defaultrouter=10.0.34.254  defaultrouter=10.0.34.254
 service hostname restart service hostname restart
Line 156: Line 156:
 On the direct connected VM2, start to check if in non-promiscious mode it sees mcast packets comming: On the direct connected VM2, start to check if in non-promiscious mode it sees mcast packets comming:
 <code> <code>
-[root@VM2]~# tcpdump -pni em0 -c 2+[root@VM2]~# tcpdump -pni vtnet0 -c 2
 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
-listening on em0, link-type EN10MB (Ethernet), capture size 262144 bytes+listening on vtnet0, link-type EN10MB (Ethernet), capture size 262144 bytes
 15:22:32.517270 IP 10.0.12.1.33482 > 239.1.1.1.5001: UDP, length 1470 15:22:32.517270 IP 10.0.12.1.33482 > 239.1.1.1.5001: UDP, length 1470
 15:22:32.528668 IP 10.0.12.1.33482 > 239.1.1.1.5001: UDP, length 1470 15:22:32.528668 IP 10.0.12.1.33482 > 239.1.1.1.5001: UDP, length 1470
Line 170: Line 170:
  
 <code> <code>
-[root@VM2]~# iperf -s -u -B 239.1.1.1%em0 -i 1+[root@VM2]~# iperf -s -u -B 239.1.1.1%vtnet0 -i 1
 ------------------------------------------------------------ ------------------------------------------------------------
 Server listening on UDP port 5001 Server listening on UDP port 5001
Line 216: Line 216:
  
 PIM Interface Table PIM Interface Table
-Interface         State     Address            Priority  Hello  Nbr  DR Address      DR Priori +Interface         State     Address            Priority  Hello  Nbr  DR Address      DR Priority 
-ty +vtnet0               Up        10.0.12.2                     30    0  10.0.12.2      
-em0               Up        10.0.12.2                     30    0  10.0.12.2 +vtnet1               Up        10.0.23.2                     30    1  10.0.23.3      1
- +
-em1               Up        10.0.23.2                     30    1  10.0.23.3 +
- 1+
  
 PIM Neighbor Table PIM Neighbor Table
 Interface         Address            Priority  Mode  Uptime/Expires Interface         Address            Priority  Mode  Uptime/Expires
-em1               10.0.23.3                  DR    0h2m51s/0h1m25s+vtnet1               10.0.23.3                  DR    0h2m51s/0h1m25s
  
 Multicast Routing Table Multicast Routing Table
Line 254: Line 251:
  
 PIM Interface Table PIM Interface Table
-Interface         State     Address            Priority  Hello  Nbr  DR Address      DR Priori +Interface         State     Address            Priority  Hello  Nbr  DR Address      DR Priority 
-ty +vtnet1               Up        10.0.23.3                     30    1  10.0.23.3       
-em1               Up        10.0.23.3                     30    1  10.0.23.3 +vtnet2               Up        10.0.34.3                     30    0  10.0.34.3       1
- +
-em2               Up        10.0.34.3                     30    0  10.0.34.3 +
- 1+
  
 PIM Neighbor Table PIM Neighbor Table
 Interface         Address            Priority  Mode  Uptime/Expires Interface         Address            Priority  Mode  Uptime/Expires
-em1               10.0.23.2                        0h3m55s/0h1m15s+vtnet1               10.0.23.2                        0h3m55s/0h1m15s
  
 Multicast Routing Table Multicast Routing Table
Line 291: Line 285:
 <code> <code>
 [root@VM2]~# ifmcstat [root@VM2]~# ifmcstat
-em0:+vtnet0:
         inet 10.0.12.2         inet 10.0.12.2
         igmpv2         igmpv2
Line 314: Line 308:
                 group ff02:1::1:ff00:212 refcnt 1                 group ff02:1::1:ff00:212 refcnt 1
                         mcast-macaddr 33:33:ff:00:02:12 refcnt 1                         mcast-macaddr 33:33:ff:00:02:12 refcnt 1
-em1:+vtnet1:
         inet 10.0.23.2         inet 10.0.23.2
         igmpv2         igmpv2
documentation/examples/multicast_with_pim-sm.1759420103.txt.gz · Last modified: 2025/10/02 17:48 by olivier

Except where otherwise noted, content on this wiki is licensed under the following license: BSD 2-Clause
Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki