Update README.md

This commit is contained in:
theamma
2025-05-01 07:58:47 +02:00
committed by GitHub
parent ffbcdbda40
commit 4518571091

View File

@@ -18,7 +18,11 @@ Virtual switch: Open vSwitch 3.1.0
## Network topology ## Network topology
![Network topology](img/lab2.png) ![Network topology](img/lab2.png)
## Configuring the bridge ### Configuring Systems
## Bridge br0
The bridge is part of the host system. Thus, it is configured using the network manager command line tool. These settings will be permanent.
Info about current connetions Info about current connetions
# nmcli con show # nmcli con show
@@ -35,7 +39,12 @@ Turn on the bridge
# nmcli con up bridge-labBridge0 # nmcli con up bridge-labBridge0
## Create virtual network on hypervisor ## Hypervisor
KVM is used as a hypervisor in this project. You may use virsh on the cli or virt-manager as a graphical tool.
### Create virtual network on hypervisor
Here we create a new network to be used by the edge router torino by creating a new file named bridged-network.xml with the following content Here we create a new network to be used by the edge router torino by creating a new file named bridged-network.xml with the following content
<network> <network>
@@ -55,4 +64,26 @@ Then start it
$ virsh net-list $ virsh net-list
Name Status Automatischer Start Bleibend Name Status Automatischer Start Bleibend
------------------------------------------------------------ ------------------------------------------------------------
bridged-network Aktiv ja ja bridged-network Aktiv ja ja##
## Torino
Torino is the WAN router of the lab. On the external interface torino acts as a DHCPv6 client in order to receive a Prefix Delegation from the DSL-Router (Fritz!Box in this case). On the internal interface torino will serve Router Advertisements which is necessary for SLAAC. The hosts in the lab environment connectetd to the vSwitch will receive a prefix via SLAAC this way.
### DHCP Client
The dhcpcd package has to be installed on the OpenBSD system.
# pkg_add dhcpcd
# rcctl enable dhcpcd
Edit the config file /etc/dhcpcd.conf
ipv6only
noipv6rs
script ""
allowinterfaces vio0 re0
interface vio0
ipv6rs
ia_pd 1 re0/1