This mode can't exist anymore on a system with a recent systemd running. I leave undefined what happens when a 2nd interface is added because behavior might have changed depending on kernel version. When an other interface is set as bridge port, the bridge inherits this interface's MAC address to replace the temporary one. When creating a bridge interface without specifying its MAC address, it gets a temporary random MAC address (with private bit set). The overall behavior is caused by systemd, even if systemd isn't configured to manage the system's network.Ī bridge interface on Linux has two "modes" with its MAC address: (Needless to say that I set address on each machine individually.)Īs a trial I changed the file, removed the bridge interface, assigned the IP address directly to the ethernet interface, rebooted (worked: bridge was gone and the hardware interface had the correct IP address) and edited the bridge back in.Īfter that the bridge had its original address again. The bridge is "classically" defined in /etc/network/interfaces.d/bridge: iface br0 inet static So I got different machines with different host names and different IP addresses.īut while the hardware interfaces also have different MAC addresses, the bridge interface has the same MAC address on all target systems. On the target systems I have adjusted /etc/hosts, /etc/hostname and /etc/network/interfaces.d/* accordingly. I have reinstalled a computer and since I need several similar computers, I duplicated the hard disk with dd.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |