Hdbit-t: Difference between revisions
Jump to navigation
Jump to search
AdminBrandon (talk | contribs) No edit summary |
AdminBrandon (talk | contribs) No edit summary |
||
Line 7: | Line 7: | ||
* [[#Introduction|Introduction]] | * [[#Introduction|Introduction]] | ||
* [[#Prerequisites|Prerequisites]] | * [[#Prerequisites|Prerequisites]] | ||
* [[#Creating a VLAN Interface|Creating a VLAN Interface]] | |||
* [[#Setting Up the Route|Setting Up the Route]] | * [[#Setting Up the Route|Setting Up the Route]] | ||
* [[#Making the Route Persistent|Making the Route Persistent]] | * [[#Making the Route Persistent|Making the Route Persistent]] | ||
Line 18: | Line 19: | ||
* VLC installed on your machine. | * VLC installed on your machine. | ||
* <code>route</code> and <code>tcpdump</code> utilities installed. | * <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 == | == Setting Up the Route == | ||
Line 48: | Line 61: | ||
# Under "Show more options," add the following setting: | # Under "Show more options," add the following setting: | ||
<blockquote> | <blockquote> | ||
:network-iface=vlan477 | |||
</blockquote> | </blockquote> | ||
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]