There is a online.net service machine, Centos 7 on it, you need to pick up two virtual machines, picked up one Centos 6.6 and encountered an interface (bridge) problem.
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 195.154.200.167 netmask 255.255.255.0 broadcast 195.154.200.255 inet6 fe80::d6ae:52ff:fecf:3344 prefixlen 64 scopeid 0x20<link> ether d4:ae:52:cf:33:44 txqueuelen 1000 (Ethernet) RX packets 9607 bytes 1594014 (1.5 MiB) RX errors 0 dropped 24 overruns 0 frame 0 TX packets 4938 bytes 2677884 (2.5 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
It also comes two more ip
eth0:0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 195.154.36.34 netmask 255.255.255.255 broadcast 195.154.36.34 ether d4:ae:52:cf:33:44 txqueuelen 1000 (Ethernet)
The virtual MAC address is not activated in this interface. Setting up a second interface with an activated MAC address.
DEVICE="eth0:1" HWADDR=52:54:00:00:40:85 # виртуальный мак ONBOOT=yes BRIDGE=br0 NM_CONTROLLED=no
And the bridge over it
DEVICE=br0 TYPE=Bridge BOOTPROTO=static IPADDR="195.154.36.32" NETMASK="255.255.255.255" ONBOOT=yes DELAY=0 NM_CONTROLLED=no
In all his research he came to disable firewalld, installing iptables b other shamanism on the links
And others, by the way, the command given here leads to an error
[root@wtcard ~]# virsh iface-bridge eth0:1 br0 error: failed to get interface 'eth0:1' error: internal error: couldn't find interface named 'eth0:1': unspecified error - errors in loading some config files
Tell me which direction I'm going wrong?
network aliases
andifconfig
.aliases
for five or ten years simply does not exist, andifconfig
has been working incorrectly for fifteen years now: you should use theip
program. the third wrong (as I understand it) direction is some kind of “virtual poppies”. - aleksandr barakin