Re: KVM
Reply #2 –
maybe this
https://www.linux-kvm.org/page/Networking
with systemd now everywhere, it will be worth while to get something like this for artix
Solution 1: Using Distribution-Specific Scripts
RedHat Debian SuSE
Edit /etc/sysconfig/network-scripts/ifcfg-eth0
comment out BOOTPROTO
Add BRIDGE=br0
Create /etc/sysconfig/network-scripts/ifcfg-br0
The content should be:
DEVICE=br0
BOOTPROTO=dhcp
ONBOOT=yes
TYPE=Bridge
/etc/network/interfaces
# Replace old eth0 config with br0
auto eth0 br0
# Use old eth0 config for br0, plus bridge stuff
iface br0 inet dhcp
bridge_ports eth0
bridge_stp off
bridge_maxwait 0
bridge_fd 0
Start YaST
Go to Network Configuration
Add new device -> Bridge
Tick your existing network device
done
/etc/init.d/networking restart
The bridge br0 should get the IP address (either static/dhcp) while the physical eth0 is left without an IP address.