59 lines
1.5 KiB
Markdown
59 lines
1.5 KiB
Markdown
# IPv6-Lab
|
|
|
|
## Initial situation
|
|
|
|
In this project, a laboratory for IPv6 will be set up using a desktop computer with a current Debian system. To use the computer furthermore for its actual purpose, this should be done as far as possible without stirring up a lot of dust (e.g. using various outdated network backends).
|
|
|
|
OS: Debian GNU/Linux 12
|
|
Kernel: 6.1.0-18-amd64
|
|
Network backend: NetworkManager
|
|
Hypervisor: KVM
|
|
Virtual switch: Open vSwitch 3.1.0
|
|
|
|
## Required packages
|
|
|
|
- openvswitch-switch
|
|
- gvncviewer
|
|
|
|
## Network topology
|
|

|
|
|
|
## Configuring the bridge
|
|
Info about current connetions
|
|
|
|
# nmcli con show
|
|
|
|
Add bridge
|
|
|
|
# nmcli con add type bridge ifname labBridge0
|
|
|
|
Add interface to the bridge
|
|
|
|
# nmcli con add type bridge-slave ifname wlp4s0 master labBridge0
|
|
|
|
Turn on the bridge
|
|
|
|
# nmcli con up bridge-labBridge0
|
|
|
|
## 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
|
|
|
|
<network>
|
|
<name>bridged-network</name>
|
|
<forward mode="bridge" />
|
|
<bridge name="br0" />
|
|
</network>
|
|
|
|
To create the network on the hypervisor, run
|
|
|
|
$ virsh net-define bridged-network.xml
|
|
|
|
Then start it
|
|
|
|
$ virsh net-start bridged-network
|
|
$ virsh net-autostart bridged-network
|
|
$ virsh net-list
|
|
Name Status Automatischer Start Bleibend
|
|
------------------------------------------------------------
|
|
bridged-network Aktiv ja ja
|