Hdbit-t: Difference between revisions
Jump to navigation
Jump to search
AdminBrandon (talk | contribs) (Created page with "Connecting VLC to an HD-BIT-T system requires tagging the vLAN and configuring a route. Configure this route replacing the vlan interface name ``` route add -net 224.0.0.0/4 dev vlan477 ```") |
AdminBrandon (talk | contribs) No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Connecting VLC to an HD-BIT-T | = 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 == | |||
* [[#Introduction|Introduction]] | |||
* [[#Prerequisites|Prerequisites]] | |||
* [[#Creating a VLAN Interface|Creating a VLAN Interface]] | |||
* [[#Setting Up the Route|Setting Up the Route]] | |||
* [[#Making the Route Persistent|Making the Route Persistent]] | |||
* [[#VLC Configuration|VLC Configuration]] | |||
* [[#Testing the Configuration|Testing the Configuration]] | |||
* [[#See Also|See Also]] | |||
* [[#References|References]] | |||
== Prerequisites == | |||
* A working HD-BIT-T system. | |||
* VLC installed on your machine. | |||
* <code>route</code> and <code>tcpdump</code> utilities installed. | |||
== Creating a VLAN Interface == | |||
Before setting up the multicast route, you need to create a VLAN interface. | |||
# List your existing network interfaces to identify the parent interface. | |||
<source lang="bash"> | |||
nmcli device status | |||
</source> | |||
# Create a new VLAN interface. Assuming your parent interface is <code>eth0</code> and your VLAN ID is 477: | |||
<source lang="bash"> | |||
sudo nmcli con add type vlan con-name vlan477 dev eth0 id 477 | |||
</source> | |||
== 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: | |||
<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> | |||
== VLC Configuration == | |||
Once the route is configured, proceed to configure VLC: | |||
# Open VLC and navigate to the media streaming options. | |||
# Under "Show more options," add the following setting: | |||
<blockquote> | |||
:network-iface=vlan477 | |||
</blockquote> | |||
== Testing the Configuration == | |||
To test if you've successfully connected to the HD-BIT-T system: | |||
# Use VLC to connect to the network URL: | |||
<source> | |||
udp://@239.255.42.44:5004 | |||
</source> | |||
# Optionally, verify the multicast traffic by running: | |||
<source lang="bash"> | |||
tcpdump -i vlan477 ip multicast | |||
</source> | |||
== See Also == | |||
* [[VLC User Guide]] | |||
* [[HD-BIT-T User Guide]] | |||
== References == | |||
* [Official VLC Documentation] | |||
* [Official HD-BIT-T Documentation] |
Latest revision as of 10:56, 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
- Introduction
- Prerequisites
- Creating a VLAN Interface
- Setting Up the Route
- Making the Route Persistent
- VLC Configuration
- Testing the Configuration
- See Also
- References
Prerequisites
- A working HD-BIT-T system.
- VLC installed on your machine.
route
andtcpdump
utilities installed.
Creating a VLAN Interface
Before setting up the multicast route, you need to create a VLAN interface.
- List your existing network interfaces to identify the parent interface.
nmcli device status
- Create a new VLAN interface. Assuming your parent interface is
eth0
and your VLAN ID is 477:
sudo nmcli con add type vlan con-name vlan477 dev eth0 id 477
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.
- First, find the name of the NetworkManager connection that corresponds to your VLAN interface.
nmcli con show
- Assuming the connection name is
vlan477
, add the static route:
sudo nmcli con modify "vlan477" +ipv4.routes "224.0.0.0/4"
- Apply the changes:
sudo nmcli con down "vlan477" && sudo nmcli con up "vlan477"
VLC Configuration
Once the route is configured, proceed to configure VLC:
- Open VLC and navigate to the media streaming options.
- 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:
- Use VLC to connect to the network URL:
udp://@239.255.42.44:5004
- Optionally, verify the multicast traffic by running:
tcpdump -i vlan477 ip multicast
See Also
References
- [Official VLC Documentation]
- [Official HD-BIT-T Documentation]