Switch from normal networking to bridged
Just after installation, you need to run networking on a traditional way in order to make initial setup (some needed packages like SSH, netctl,...)"Traditional networking" is here to use the "ethN" or "enoZZZZZ" interface and assign an IP to that interface.
But if you want to switch to bridged one, you need to disable that traditional setting and activate the bridged one.
Traditional setting
- Interface name: eth0
- Address assignation: static
[Match]
Name=eth0
[Network]
DNS=192.168.128.108
[Address]
Address=192.168.129.148/23
[Route]
Gateway=192.168.128.108
Start "systemd-networkd.service"
Start "systemd-networkd.service"
# systemctl start systemd-networkd
To enable it at boot,
# systemctl enable systemd-networkd
Switch to bridged setting
# pacman -S netctl
/etc/netctl/lxcbridge
Description="LXC bridge"
Interface=br0
Connection=bridge
BindsToInterfaces=('eth0')
IP=static
Address=192.168.129.148/23
Gateway='192.168.128.1'
DNS=('192.168.128.150','192.168.128.108')
To disable traditional networking at boot,
# systemctl disable systemd-networkd
Enable the bridge
# netctl enable lxcbridge
Enable (also) the bridge
# systemctl enable netctl-auto@br0.service