Posts (Latest 10 updated) : Read all

Link List (Edit):
Contents:
  1. Networking
    1. Adding a Bridge
    2. Wi-fi Networking Frames
#  _   _      _                      _    _
# | \ | | ___| |___      _____  _ __| | _(_)_ __   __ _
# |  \| |/ _ \ __\ \ /\ / / _ \| '__| |/ / | '_ \ / _` |
# | |\  |  __/ |_ \ V  V / (_) | |  |   <| | | | | (_| |
# |_| \_|\___|\__| \_/\_/ \___/|_|  |_|\_\_|_| |_|\__, |
#                                                 |___/
#

Networking

Here is where the intro for networking will be.

Adding a Bridge

There are numerous ways to go about doing this now. At one time using brctl was the defacto method of creating and modifying bridges, but this is no longer the case. Currently, using the ip command is how bridges are currently managed and created.

  1. Create the bridge interface
ip link add name br0 type bridge
ip link set dev br0 up
  1. Take note of the network configuration as it is.
ip addr show eth0
ip route show dev eth0
  1. Initial Bridge Setup
ip addr add 192.168.1.2/24 dev br0
ip route append default via 192.168.1.1 dev br0
  1. Create a script file, with the following contents ( or create a script file and put everything in it.)
#!/usr/bin/env bash
ip link set eth0 master br0
ip address del $ADDR dev eth0

Wi-fi Networking Frames

Types of Wifi Frames