Hdbit-t: Difference between revisions

From Rev0 Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:
* [[#Prerequisites|Prerequisites]]
* [[#Prerequisites|Prerequisites]]
* [[#Setting Up the Route|Setting Up the Route]]
* [[#Setting Up the Route|Setting Up the Route]]
* [[#Making the Route Persistent|Making the Route Persistent]]
* [[#VLC Configuration|VLC Configuration]]
* [[#VLC Configuration|VLC Configuration]]
* [[#Testing the Configuration|Testing the Configuration]]
* [[#Testing the Configuration|Testing the Configuration]]
Line 22: Line 23:
<source lang="bash">
<source lang="bash">
route add -net 224.0.0.0/4 dev vlan477
route add -net 224.0.0.0/4 dev vlan477
</source>
== Making the Route Persistent ==
To make the route persistent across system reboots, you can add a static route to the NetworkManager connection profile for the VLAN interface.
# First, find the name of the NetworkManager connection that corresponds to your VLAN interface.
<source lang="bash">
nmcli con show
</source>
# Assuming the connection name is <code>vlan477</code>, add the static route:
<source lang="bash">
sudo nmcli con modify "vlan477" +ipv4.routes "224.0.0.0/4"
</source>
# Apply the changes:
<source lang="bash">
sudo nmcli con down "vlan477" && sudo nmcli con up "vlan477"
</source>
</source>



Revision as of 10:54, 20 October 2023

Connecting VLC to an HD-BIT-T System using a vLAN

Introduction

Connecting VLC to an HD-BIT-T system requires setting up a vLAN and configuring a multicast route. This guide will walk you through the process step-by-step.

Table of Contents

Prerequisites

  • A working HD-BIT-T system.
  • VLC installed on your machine.
  • route and tcpdump utilities installed.

Setting Up the Route

After setting up the VLAN interface, the next step is to add a route for multicast traffic. To do this, run the following command:

route add -net 224.0.0.0/4 dev vlan477

Making the Route Persistent

To make the route persistent across system reboots, you can add a static route to the NetworkManager connection profile for the VLAN interface.

  1. First, find the name of the NetworkManager connection that corresponds to your VLAN interface.
nmcli con show
  1. Assuming the connection name is vlan477, add the static route:
sudo nmcli con modify "vlan477" +ipv4.routes "224.0.0.0/4"
  1. Apply the changes:
sudo nmcli con down "vlan477" && sudo nmcli con up "vlan477"

VLC Configuration

Once the route is configured, proceed to configure VLC:

  1. Open VLC and navigate to the media streaming options.
  2. Under "Show more options," add the following setting:

:network-iface=vlan477

Testing the Configuration

To test if you've successfully connected to the HD-BIT-T system:

  1. Use VLC to connect to the network URL:
udp://@239.255.42.44:5004
  1. Optionally, verify the multicast traffic by running:
tcpdump -i vlan477 ip multicast

See Also

References

  • [Official VLC Documentation]
  • [Official HD-BIT-T Documentation]