You are not logged in.
I followed the guide from wiki here: https://wiki.archlinux.org/index.php/Ne … _.28VMs.29
So I create two files under /etc/network.d/
# sudo cat br0
INTERFACE="br0"
CONNECTION="bridge"
DESCRIPTION="bridge br0 dhcp"
BRIDGE_INTERFACES="eth0"
IP='dhcp'
# sudo cat eth0
INTERFACE='eth0'
CONNECTION='ethernet'
DESCRIPTION='eth0 static'
IP='static'
ADDR='192.168.108.16'
GATEWAY='192.168.108.1'
But when I bring up br0, the eth0 is down. Which means I can't ping the ip of eth0 after br0 is up.
So how can I get eth0 and br0 both up?
Offline
I think, you need only br0:
INTERFACE="br0"
CONNECTION="bridge"
DESCRIPTION="bridge br0"
BRIDGE_INTERFACES="eth0"
IP='static'
ADDR='192.168.108.16'
NETMASK='255.255.255.0'
GATEWAY='192.168.108.1'
Offline
glemt9 is correct, you should be assigning an ip address to the bridge interface, not the device interface.
Offline