Skip to content

Instantly share code, notes, and snippets.

View yousecjoe's full-sized avatar
😺
I may be slow to respond.

Joseph Young yousecjoe

😺
I may be slow to respond.
View GitHub Profile
@yousecjoe
yousecjoe / TUTORIAL.md
Created March 5, 2025 14:46 — forked from adam-hanna/TUTORIAL.md
Create and connect macvlan network namespaces

This tutorial was written using Red Hat Fedora 30 but may be similar on other distros.

Discover

You should have an eth0, but if you $ ifconcig -a and don't see it, you should do $ nmcli device status to determine which device is connected to your wifi/ethernet.

Create macvlans and network spaces

$ sudo ip link add macvlan1 link eth0 type macvlan mode bridge
$ sudo ip link add macvlan2 link eth0 type macvlan mode bridge
$ sudo ip netns add net1
@ABeltramo
ABeltramo / README.md
Last active February 10, 2025 06:38
Gstreamer WebRTC demo using gst-wayland-display

Requirements

Setup Rust and Gstreamer on your machine. Install our custom gst-wayland-display Gstreamer plugin

git clone https://github.com/games-on-whales/gst-wayland-display.git
cd gst-wayland-display
# Install cargo-c if you don't have it already
cargo install cargo-c
# Build and install the plugin, by default under 
@adam-hanna
adam-hanna / TUTORIAL.md
Last active March 5, 2025 14:46
Create and connect macvlan network namespaces

This tutorial was written using Red Hat Fedora 30 but may be similar on other distros.

Discover

You should have an eth0, but if you $ ifconcig -a and don't see it, you should do $ nmcli device status to determine which device is connected to your wifi/ethernet.

Create macvlans and network spaces

$ sudo ip link add macvlan1 link eth0 type macvlan mode bridge
$ sudo ip link add macvlan2 link eth0 type macvlan mode bridge
$ sudo ip netns add net1