Added network config for impala

This commit is contained in:
Martin Bley
2026-03-01 08:02:32 +01:00
parent 8c9b584f41
commit 3d91d700cd

View File

@@ -91,7 +91,20 @@ Then start it
bridged-network Aktiv ja ja
vSwitch0 Aktiv ja ja
On the hosts torino, we need just one interface connected to vSwitch0.
## impala
```impala``` is the WAN router of the lab. On the external interface, the router 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 ```impala``` 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. Thus, we need two network interfaces on this virtual host system:
The external interface ist connexted to the bridge on the host system.
<interface type="network">
<mac address="52:54:00:62:85:19"/>
<source network="bridged-network"/>
<model type="virtio"/>
<address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
</interface>
The internal interface has to be connected to the ```vSwitch0```.
<interface type="bridge">
<source network="vSwitch0" portid="672dad49-ab32-4369-81d3-4a1e7e69b0de" bridge="labbr1"/>
@@ -99,10 +112,6 @@ On the hosts torino, we need just one interface connected to vSwitch0.
<model type="virtio"/>
</interface>
## 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.
@@ -121,3 +130,18 @@ Edit the config file /etc/dhcpcd.conf
interface vio0
ipv6rs
ia_pd 1 vio1/1
## gto
```gto``` has one interface on ```vSwitch0```
<interface type="bridge">
<mac address="52:54:00:26:9b:f0"/>
<source bridge="labbr1"/>
<virtualport type="openvswitch">
<parameters interfaceid="d9935aa6-952e-4f7b-8d55-9e8c2d2bc6a5"/>
</virtualport>
<model type="virtio"/>
<address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
</interface>